public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = PointA.GetHashCode();
         hashCode = (hashCode * 397) ^ PointB.GetHashCode();
         hashCode = (hashCode * 397) ^ PointC.GetHashCode();
         hashCode = (hashCode * 397) ^ PointD.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return(PointA.GetHashCode() + PointB.GetHashCode() + PointC.GetHashCode());
 }