Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = m_Mask0.GetHashCode();
         result = (result * 397) ^ m_Mask1.GetHashCode();
         result = (result * 397) ^ m_Mask2.GetHashCode();
         result = (result * 397) ^ m_Mask3.GetHashCode();
         return(result);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode() => _value.GetHashCode();