System.Linq.Expressions.Expression.IsLiftingConditionalLogicalOperator C# (CSharp) Method

IsLiftingConditionalLogicalOperator() private static method

private static IsLiftingConditionalLogicalOperator ( Type left, Type right, MethodInfo method, ExpressionType binaryType ) : bool
left Type
right Type
method System.Reflection.MethodInfo
binaryType ExpressionType
return bool
        private static bool IsLiftingConditionalLogicalOperator(Type left, Type right, MethodInfo method, ExpressionType binaryType)
        {
            return right.IsNullableType() &&
                    left.IsNullableType() &&
                    method == null &&
                    (binaryType == ExpressionType.AndAlso || binaryType == ExpressionType.OrElse);
        }
Expression