Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((x.GetHashCode() * 397) ^ y.GetHashCode());
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = x.GetHashCode();
         hashCode = (hashCode * 397) ^ y.GetHashCode();
         hashCode = (hashCode * 397) ^ z.GetHashCode();
         return(hashCode);
     }
 }