Exemplo n.º 1
0
 public bool Equals(OneExpression expr2)
 => Equals(this, expr2);
Exemplo n.º 2
0
 public int GetHashCode(OneExpression obj)
 => throw new NotImplementedException();
Exemplo n.º 3
0
 public bool Equals(OneExpression expr1, OneExpression expr2)
 => expr1.Operation == expr2.Operation &&
 (expr1.Argument1 == expr2.Argument1 && expr1.Argument2 == expr2.Argument2 ||
  expr1.Argument1 == expr2.Argument2 && expr1.Argument2 == expr2.Argument1);