1 instantiation of RuntimeAsyncRewriter
Microsoft.CodeAnalysis.CSharp (1)
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
32var rewriter = new RuntimeAsyncRewriter(factory, methodOrdinal, variablesToHoist, hoistedLocals);
7 references to RuntimeAsyncRewriter
Microsoft.CodeAnalysis.CSharp (7)
Compiler\MethodCompiler.cs (2)
786loweredBody = RuntimeAsyncRewriter.Rewrite(loweredBody, method, compilationState, methodOrdinal, diagnosticsThisMethod); 1610bodyWithoutAsync = RuntimeAsyncRewriter.Rewrite(bodyWithoutIterators, method, compilationState, methodOrdinal, diagnostics);
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (4)
32var rewriter = new RuntimeAsyncRewriter(factory, methodOrdinal, variablesToHoist, hoistedLocals); 66static BoundAssignmentOperator? hoistThisIfNeeded(RuntimeAsyncRewriter rewriter) 357static LocalSymbol createHoistedLocal(TypeSymbol type, RuntimeAsyncRewriter @this, LocalSymbol local) 364static BoundLocal createHoistedAccess(LocalSymbol local, RuntimeAsyncRewriter @this)
Lowering\MethodToClassRewriter.cs (1)
183/// <remarks>Any new usage of this method will need a similar update in <see cref="RuntimeAsyncRewriter"/></remarks>