示例#1
0
        protected internal override Expression VisitDynamicUnary(UnaryDynamicCSharpExpression node)
        {
            var args = new List <object>();

            args.Add(new XAttribute(nameof(node.OperationNodeType), node.OperationNodeType));

            VisitDynamicCSharpExpression(node, args);

            args.Add(new XElement(nameof(node.Operand), Visit(node.Operand)));

            return(Push(node, args));
        }
 public UnaryDynamicCSharpExpressionProxy(UnaryDynamicCSharpExpression node)
 {
     _node = node;
 }
 protected internal virtual Expression VisitDynamicUnary(UnaryDynamicCSharpExpression node)
 {
     return node.Update(VisitDynamicArgument(node.Operand));
 }
 protected internal virtual Expression VisitDynamicUnary(UnaryDynamicCSharpExpression node)
 {
     return(node.Update(VisitDynamicArgument(node.Operand)));
 }
 public UnaryDynamicCSharpExpressionProxy(UnaryDynamicCSharpExpression node)
 {
     _node = node;
 }