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

◆ IsNullComparison()

static bool System.Linq.Expressions.Expression< TDelegate >.IsNullComparison ( Expression< TDelegate > left,
Expression< TDelegate > right )
inlinestaticprivateinherited

Definition at line 887 of file Expression.cs.

888 {
889 if (!IsNullConstant(left))
890 {
891 if (IsNullConstant(right))
892 {
893 return left.Type.IsNullableType();
894 }
895 return false;
896 }
897 if (!IsNullConstant(right))
898 {
899 return right.Type.IsNullableType();
900 }
901 return false;
902 }
static bool IsNullConstant(Expression e)

References System.Linq.Expressions.Expression< TDelegate >.IsNullConstant().

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