Exemplo n.º 1
0
        private static void WriteLabelStatement(BoundLabelStatement node, IndentedTextWriter writer)
        {
            var unindent = writer.Indent > 0;

            if (unindent)
            {
                writer.Indent--;
            }

            writer.WritePunctuation(node.Label.Name);
            writer.WritePunctuation(SyntaxKind.TypeToken);
            writer.WriteLine();

            if (unindent)
            {
                writer.Indent++;
            }
        }
Exemplo n.º 2
0
 protected virtual BoundStatement RewriteLabelStatement(BoundLabelStatement node)
 {
     return(node);
 }