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