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