Beispiel #1
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 41;
         hash = hash * 31 + _Character.GetHashCode();
         hash = hash * 31 + _Damage.GetHashCode();
         return(hash);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(M11.GetHashCode() ^
            M12.GetHashCode() ^
            M13.GetHashCode() ^
            M21.GetHashCode() ^
            M22.GetHashCode() ^
            M23.GetHashCode() ^
            M31.GetHashCode() ^
            M32.GetHashCode() ^
            M33.GetHashCode());
 }
Beispiel #3
0
 /// <summary>
 /// Gets the hashcode of the vector.
 /// </summary>
 /// <returns>Returns the hashcode of the vector.</returns>
 #region public override int GetHashCode()
 public override int GetHashCode()
 {
     return(x.GetHashCode() ^ y.GetHashCode() ^ z.GetHashCode());
 }