示例#1
0
 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);
     }
 }
示例#2
0
 /// <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);
     }
 }