Ejemplo n.º 1
0
 public override SyntaxList <StatementSyntax> VisitYieldStatement(VBSyntax.YieldStatementSyntax node) => AddLocalVariables(node);
Ejemplo n.º 2
0
 public override SyntaxList <StatementSyntax> VisitYieldStatement(VBSyntax.YieldStatementSyntax node)
 {
     return(SingleStatement(SyntaxFactory.YieldStatement(SyntaxKind.YieldReturnStatement, (ExpressionSyntax)node.Expression?.Accept(_nodesVisitor))));
 }
Ejemplo n.º 3
0
 public override Task <SyntaxList <StatementSyntax> > VisitYieldStatement(VBSyntax.YieldStatementSyntax node) => AddLocalVariablesAsync(node);