public override int GetHashCode() { unchecked { var hashCode = MaxSequenceNr.GetHashCode(); hashCode = (hashCode * 397) ^ MaxTimeStamp.GetHashCode(); hashCode = (hashCode * 397) ^ MinSequenceNr.GetHashCode(); hashCode = (hashCode * 397) ^ MinTimestamp.GetHashCode(); return(hashCode); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + MaxSequenceNr.GetHashCode(); hash = hash * 23 + MaxTimeStamp.GetHashCode(); hash = hash * 23 + MinSequenceNr.GetHashCode(); hash = hash * 23 + MinTimestamp.GetHashCode(); return(hash); } }