public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (XEval != null ? XEval.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (YEval != null ? YEval.GetHashCode() : 0); return hashCode; } }
public override int GetHashCode() { unchecked { var hashCode = XEval != null ? XEval.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (YEval != null ? YEval.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (WidthEval != null ? WidthEval.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (HeightEval != null ? HeightEval.GetHashCode() : 0); return hashCode; } }