Пример #1
0
    public override int GetHashCode()
    {
        int hashCode = 1574892647;

        hashCode = hashCode * -1521134295 + Value.GetHashCode();
        hashCode = hashCode * -1521134295 + Type.GetHashCode();
        return(hashCode);
    }
Пример #2
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>
 /// A 32-bit signed integer that is the hash code for this instance.
 /// </returns>
 /// <filterpriority>2</filterpriority>
 public override int GetHashCode()
 {
     return(x.GetHashCode() + y.GetHashCode() + z.GetHashCode() + w.GetHashCode());
 }