public override int GetHashCode() => XMin.GetHashCode() ^ YMin.GetHashCode() ^ XMax.GetHashCode() ^ YMax.GetHashCode() ^ ZMin.GetHashCode() ^ ZMax.GetHashCode() ^ MMin.GetHashCode() ^ MMax.GetHashCode();
public override int GetHashCode() { unchecked { int result = XMin.GetHashCode(); result = (result * 397) ^ YMin.GetHashCode(); result = (result * 397) ^ XMax.GetHashCode(); result = (result * 397) ^ YMax.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int hashCode = XMin.GetHashCode(); hashCode = (hashCode * 397) ^ YMin.GetHashCode(); hashCode = (hashCode * 397) ^ XMax.GetHashCode(); hashCode = (hashCode * 397) ^ YMax.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (SpatialReference != null ? SpatialReference.GetHashCode() : 0); hashCode = (hashCode * 397) ^ XMin.GetHashCode(); hashCode = (hashCode * 397) ^ XMax.GetHashCode(); hashCode = (hashCode * 397) ^ YMin.GetHashCode(); hashCode = (hashCode * 397) ^ YMax.GetHashCode(); return(hashCode); } }