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); } }
public override int GetHashCode() { return(PointA.GetHashCode() + PointB.GetHashCode() + PointC.GetHashCode()); }