コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Estimation.GetHashCode();
         hashCode = (hashCode * 397) ^ Lower.GetHashCode();
         hashCode = (hashCode * 397) ^ Upper.GetHashCode();
         hashCode = (hashCode * 397) ^ ConfidenceLevel.GetHashCode();
         return(hashCode);
     }
 }
コード例 #2
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(Lower.GetHashCode() ^ Upper.GetHashCode());
 }
コード例 #3
0
 public override int GetHashCode()
 {
     return(Hash.Combine(Lower.GetHashCode(), Upper.GetHashCode()));
 }
コード例 #4
0
 public override int GetHashCode() => Lower.GetHashCode() ^ Upper.GetHashCode();