Пример #1
0
 int _GetHashCode(BinaryExp obj)
 => HashCode.Combine(
     obj.GetType(),
     GetHashCode(obj.Left),
     GetHashCode(obj.Right));
Пример #2
0
 bool _Equals(BinaryExp l, BinaryExp r)
 => Equals(l.Left, r.Left) &&
 Equals(l.Right, r.Right);