public override int GetHashCode() { int hash = Hashing.CombinedHash(ItemType.GetHashCode(), Size); hash = Hashing.CombineHash(hash, Dimensions.Length); for (int i = 0; i < Dimensions.Length; i++) { hash = Hashing.CombineHash(hash, Dimensions[i].GetHashCode()); } return(hash); }
public override int GetHashCode() { return(Hashing.CombinedHash(RawKind.GetHashCode(), Contiguous, Min, Count)); }
/// <summary> /// Retrieves the hash code. /// </summary> /// <returns>An integer representing the hash code.</returns> public override int GetHashCode() { return(Hashing.CombinedHash(RawType.GetHashCode(), Count)); }