예제 #1
0
 private static bool AreEqual(BoolValue a, bool b) => !object.Equals(a, null) && a._value == b;
예제 #2
0
 private static bool AreEqual(BoolValue a, BoolValue b) => (object.Equals(a, null) && object.Equals(b, null)) ||
 (!object.Equals(a, null) && !object.Equals(b, null) && a.Equals(b));