Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsLiftingConditionalLogicalOperator()

static bool System.Linq.Expressions.Expression< TDelegate >.IsLiftingConditionalLogicalOperator ( Type left,
Type right,
MethodInfo method,
ExpressionType binaryType )
inlinestaticprivateinherited

Definition at line 835 of file Expression.cs.

836 {
837 if (right.IsNullableType() && left.IsNullableType() && method == null)
838 {
839 if (binaryType != ExpressionType.AndAlso)
840 {
841 return binaryType == ExpressionType.OrElse;
842 }
843 return true;
844 }
845 return false;
846 }

Referenced by System.Linq.Expressions.Expression< TDelegate >.GetUserDefinedBinaryOperator().