1 instantiation of RuntimeAsyncRewriter
Microsoft.CodeAnalysis.CSharp (1)
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
32
var rewriter = new
RuntimeAsyncRewriter
(factory, methodOrdinal, variablesToHoist, hoistedLocals);
7 references to RuntimeAsyncRewriter
Microsoft.CodeAnalysis.CSharp (7)
Compiler\MethodCompiler.cs (2)
786
loweredBody =
RuntimeAsyncRewriter
.Rewrite(loweredBody, method, compilationState, methodOrdinal, diagnosticsThisMethod);
1610
bodyWithoutAsync =
RuntimeAsyncRewriter
.Rewrite(bodyWithoutIterators, method, compilationState, methodOrdinal, diagnostics);
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (4)
32
var
rewriter = new RuntimeAsyncRewriter(factory, methodOrdinal, variablesToHoist, hoistedLocals);
66
static BoundAssignmentOperator? hoistThisIfNeeded(
RuntimeAsyncRewriter
rewriter)
357
static LocalSymbol createHoistedLocal(TypeSymbol type,
RuntimeAsyncRewriter
@this, LocalSymbol local)
364
static 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>