예제 #1
0
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(Tag.GetHashCode()
            ^ Name.GetHashCode()
            ^ Value.GetHashCode()
            ^ IsNegative.GetHashCode());
 }
예제 #2
0
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(Tag.GetHashCode()
            ^ lhs.GetHashCode()
            ^ rhs.GetHashCode()
            ^ IsNegative.GetHashCode());
 }
예제 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = IsNegative.GetHashCode();
         hashCode = (hashCode * 397) ^ ClustersLength;
         hashCode = (hashCode * 397) ^ Length;
         hashCode = (hashCode * 397) ^ (Clusters != null ? Clusters.GetHashCode() : 0);
         return(hashCode);
     }
 }
예제 #4
0
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(Tag.GetHashCode()
            ^ Child.GetHashCode()
            ^ IsNegative.GetHashCode());
 }
예제 #5
0
 public override int GetHashCode()
 {
     return(IsNegative.GetHashCode() ^ Digit.GetHashCode());
 }