示例#1
0
 public bool Equals(OneExpression expr2)
 => Equals(this, expr2);
示例#2
0
 public int GetHashCode(OneExpression obj)
 => throw new NotImplementedException();
示例#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);