Beispiel #1
0
        public static BoundExpression Not(BoundExpression expression)
        {
            const UnaryOperatorKind logicalNot = UnaryOperatorKind.LogicalNot;
            var result = UnaryOperator.Resolve(logicalNot, expression.Type);

            return(new BoundUnaryExpression(logicalNot, result, expression));
        }