public override SyntaxList <StatementSyntax> VisitWhileBlock(VBSyntax.WhileBlockSyntax node)
 {
     return(SingleStatement(SyntaxFactory.WhileStatement(
                                (ExpressionSyntax)node.WhileStatement.Condition.Accept(nodesVisitor),
                                SyntaxFactory.Block(node.Statements.SelectMany(s => s.Accept(this)))
                                )));
 }
Пример #2
0
 public override Task <SyntaxList <StatementSyntax> > VisitWhileBlock(VBSyntax.WhileBlockSyntax node) => AddLocalVariablesAsync(node, VBasic.SyntaxKind.WhileKeyword, true);
Пример #3
0
 public override Task <SyntaxList <StatementSyntax> > VisitWhileBlock(VBSyntax.WhileBlockSyntax node) => AddLocalVariablesAsync(node);