예제 #1
0
        protected override void VisitNewArrayExpression(NewArrayExpression expression)
        {
            var tb = expression.Annotation <TypeBinding>();

            Output.Write("new ");
            Output.Write(tb.Type.FullName);
            Output.Write(" { ");
            foreach (var expr in expression.Expressions)
            {
                Visit(expr);
                Output.Write(", ");
            }
            Output.Write("}");
        }