コード例 #1
0
ファイル: Svy21Coordinate.cs プロジェクト: zhouhao27/SVY21
 public override int GetHashCode()
 {
     unchecked
     {
         return((Easting.GetHashCode() * 397) ^ Northing.GetHashCode());
     }
 }
コード例 #2
0
ファイル: UTMRef.cs プロジェクト: rsperry79/DotNetCoords
 /// <summary>
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Easting.GetHashCode();
         hashCode = (hashCode * 397) ^ Northing.GetHashCode();
         hashCode = (hashCode * 397) ^ LatZone.GetHashCode();
         hashCode = (hashCode * 397) ^ LngZone;
         return(hashCode);
     }
 }