You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varbody=SyntaxFactory.Block(awaitcontainingBlock.Statements.SelectManyAsync(async s =>(IEnumerable<StatementSyntax>)awaits.Accept(methodBodyVisitor)));
varmethodBodyVisitor=CreateMethodBodyVisitor(node);//Probably should actually be using the existing method body visitor in order to get variable name generation correct
182
+
varmethodBodyVisitor=awaitCreateMethodBodyVisitor(node);//Probably should actually be using the existing method body visitor in order to get variable name generation correct
183
183
varstmts=awaitnode.Statements.SelectManyAsync(async s =>(IEnumerable<StatementSyntax>)awaits.Accept(methodBodyVisitor));
184
184
returnSyntaxFactory.CatchClause(
185
185
catcher,
@@ -202,7 +202,7 @@ public override async Task<CSharpSyntaxNode> VisitCatchFilterClause(VBasic.Synta
varmethodBodyVisitor=CreateMethodBodyVisitor(node);//Probably should actually be using the existing method body visitor in order to get variable name generation correct
205
+
varmethodBodyVisitor=awaitCreateMethodBodyVisitor(node);//Probably should actually be using the existing method body visitor in order to get variable name generation correct
206
206
varstmts=awaitnode.Statements.SelectManyAsync(async s =>(IEnumerable<StatementSyntax>)awaits.Accept(methodBodyVisitor));
/// Only use this over <see cref="UnpackNonNestedBlock"/> in special cases where it will display more neatly and where you're sure nested statements don't introduce ambiguity
0 commit comments