1 write to slotAllocator
Microsoft.CodeAnalysis.CSharp (1)
Lowering\MethodToClassRewriter.cs (1)
64
this.
slotAllocator
= slotAllocator;
6 references to slotAllocator
Microsoft.CodeAnalysis.CSharp (6)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
112
if (
slotAllocator
== null || !
slotAllocator
.TryGetPreviousAwaiterSlotIndex(F.ModuleBuilderOpt.Translate(awaiterType, F.Syntax, F.Diagnostics.DiagnosticBag), F.Diagnostics.DiagnosticBag, out slotIndex))
Lowering\ClosureConversion\ClosureConversion.cs (1)
1490
slotAllocator
?.TryGetPreviousLambda(lambdaOrLambdaBodySyntax, isLambdaBody, closureOrdinal, structClosureIds, out previousLambdaId, out lambdaRudeEdit) == true &&
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
460
if (
slotAllocator
?.TryGetPreviousStateMachineState(syntax, awaitId: default, out var finalizeState) != true)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
675
if (
slotAllocator
== null ||
676
!
slotAllocator
.TryGetPreviousHoistedLocalSlotIndex(