예제 #1
0
 public override int GetHashCode()
 {
     return(Center.GetHashCode() ^ Extents.GetHashCode() << 2);
 }
예제 #2
0
 /// <summary>Builds a hashing code for the instance</summary>
 /// <returns>The instance's hashing code</returns>
 public override int GetHashCode()
 {
     return(Transform.GetHashCode() ^ Center.GetHashCode() ^ Extents.GetHashCode());
 }
예제 #3
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
 public override int GetHashCode()
 {
     return(Extents.GetHashCode() + Transformation.GetHashCode());
 }
예제 #4
0
 public override int GetHashCode()
 {
     // ReSharper disable once NonReadonlyMemberInGetHashCode
     return(Extents.GetHashCode());
 }