Exemple #1
0
 public override int GetHashCode()
 {
     return
         (Operation.GetHashCode() ^ Modifier.GetHashCode() ^
          ModeA.GetHashCode() ^ ModeB.GetHashCode() ^
          ValueA.GetHashCode() ^ ValueB.GetHashCode());
 }
Exemple #2
0
    protected override int GetHashCodeCore()
    {
        int hash = 521;

        hash = (hash * 467) ^ ValueA.GetHashCode();
        hash = (hash * 467) ^ ValueB.GetHashCode();

        return(hash);
    }