public override int GetHashCode() { int hashCode = 0; if (KeyDigest != null) { hashCode ^= KeyDigest.GetHashCode(); // TODO has different hash as in Java! } if (ContentBloomFilter != null) { hashCode ^= ContentBloomFilter.GetHashCode(); } if (VersionBloomFilter != null) { hashCode ^= VersionBloomFilter.GetHashCode(); } if (DataMap != null) { hashCode ^= DataMap.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { return(KeyDigest.GetHashCode() ^ Size ^ ContentDigest.GetHashCode()); }