public override int GetHashCode()
 {
     unchecked
     {
         return((Point1.GetHashCode() * 397) ^ Point2.GetHashCode());
     }
 }
Example #2
0
        public override int GetHashCode()
        {
            var hashCode = 363529913;

            hashCode = hashCode * -1521134295 + Point1.GetHashCode();
            hashCode = hashCode * -1521134295 + Point2.GetHashCode();
            return(hashCode);
        }
Example #3
0
 public override int GetHashCode()
 {
     return(Point1.GetHashCode() ^ Point2.GetHashCode());
 }
Example #4
0
 public override int GetHashCode()
 {
     return(47 * Point1.GetHashCode() + Point2.GetHashCode());
 }
Example #5
0
 public override int GetHashCode() => Point1.GetHashCode() ^ Point2.GetHashCode();
Example #6
0
 public override int GetHashCode()
 {
     return((2 * Point1.GetHashCode()) + (3 * Point2.GetHashCode()));
 }