public override int GetHashCode()
        {
            int hash = 691949981;

            hash = hash * 1532528149 + pre.GetHashCode();
            hash = hash * 1532528149 + target.GetHashCode();
            return(hash);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Returns the hash code for the value of this instance.
 /// </summary>
 /// <returns>a 32-bit signed integer hash code</returns>
 public override int GetHashCode()
 {
     return(3 * role.GetHashCode() + 7 * _operator.GetHashCode()
            + (_value == null ? 0 : 19 * _value.GetHashCode())
            + (parts == null ? 0 : 31 * parts.GetHashCode()));
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     return(_op.GetHashCode() ^ _term.GetHashCode());
 }