예제 #1
0
        protected override ExpressionBase Combine(ExpressionBase left, ExpressionBase right)
        {
            right = ConditionalExpression.InvertExpression(right);
            if (right.Type == ExpressionType.ParseError)
            {
                return(right);
            }

            right.IsLogicalUnit = true;

            if (left == null)
            {
                return(right);
            }

            return(new ConditionalExpression(left, ConditionalOperation.And, right));
        }