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)
114if (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)
466if (slotAllocator?.TryGetPreviousStateMachineState(syntax, awaitId: default, out var finalizeState) != true)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
692if (slotAllocator == null || 693!slotAllocator.TryGetPreviousHoistedLocalSlotIndex(