System.Linq.Expressions.Expression.IsLiftingConditionalLogicalOperator C# (CSharp) Метод

IsLiftingConditionalLogicalOperator() приватный статический Метод

private static IsLiftingConditionalLogicalOperator ( Type left, Type right, MethodInfo method, ExpressionType binaryType ) : bool
left Type
right Type
method System.Reflection.MethodInfo
binaryType ExpressionType
Результат 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