CK.Core.Util.Hash.Combine C# (CSharp) Method

Combine() public static method

Combines an existing hash value with a new one.
public static Combine ( System.Int64 hash, int value ) : long
hash System.Int64 Current hash.
value int Value to combine.
return long
            public static long Combine( Int64 hash, int value )
            {
                return ((hash << 5) + hash) ^ value;
            }

Same methods

Util.Hash::Combine ( long hash ) : long
Util.Hash::Combine ( long hash, IEnumerable c ) : long
Util.Hash::Combine ( long hash, object o ) : long
Util.Hash