// NewExpression private void DefaultWalk(NewExpression node) { if (Walk(node)) { IList<Expression> args = node.Arguments; if (args != null) { foreach (Expression e in args) { WalkNode(e); } } } PostWalk(node); }
protected override Expression VisitNew(NewExpression node) { return(Rewrite(node, node.Arguments, node.Update)); }