public static LazyExpression operator ==(Expression L, Expression R) { if ((L is null) || (R is null)) { return(new LazyExpression(Constant.New(ReferenceEquals(L, R)))); } return(new LazyExpression(Binary.Equal(L, R))); }
public static LazyExpression operator ==(LazyExpression L, LazyExpression R) { if (ReferenceEquals(L.value, null) || ReferenceEquals(R.value, null)) { return(new LazyExpression(Constant.New(ReferenceEquals(L.value, R.value)))); } return(new LazyExpression(Binary.Equal(L.value, R.value))); }