Esempio n. 1
0
        // NewArrayExpression
        private Expression Rewrite(NewArrayExpression node)
        {
            Expression[] clone, comma;

            if (RewriteExpressions(node.Expressions, out clone, out comma))
            {
                comma[comma.Length - 1] = Ast.NewArray(node.Type, clone);
                return(Ast.Comma(comma));
            }
            else
            {
                return(node);
            }
        }