public override int GetHashCode() =>
 XMin.GetHashCode() ^
 YMin.GetHashCode() ^
 XMax.GetHashCode() ^
 YMax.GetHashCode() ^
 ZMin.GetHashCode() ^
 ZMax.GetHashCode() ^
 MMin.GetHashCode() ^
 MMax.GetHashCode();
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 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);
     }
 }
Exemplo n.º 4
0
 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);
     }
 }