1 write to SlotAllocatorOpt
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
78
Me.
SlotAllocatorOpt
= slotAllocatorOpt
8 references to SlotAllocatorOpt
Microsoft.CodeAnalysis.VisualBasic (8)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (2)
113
If Me.
SlotAllocatorOpt
Is Nothing OrElse Not Me.
SlotAllocatorOpt
.TryGetPreviousAwaiterSlotIndex(F.CompilationState.ModuleBuilderOpt.Translate(awaiterType, F.Syntax, F.Diagnostics.DiagnosticBag), F.Diagnostics.DiagnosticBag, slotIndex) Then
Lowering\LambdaRewriter\LambdaRewriter.vb (4)
979
Return If(
SlotAllocatorOpt
?.MethodId, New DebugId(_topLevelMethodOrdinal, CompilationState.ModuleBuilderOpt.CurrentGenerationOrdinal))
1001
SlotAllocatorOpt
IsNot Nothing AndAlso
1002
SlotAllocatorOpt
.TryGetPreviousClosure(syntax, parentClosureId, structCaptures:=Nothing, previousClosureId, rudeEdit) AndAlso
1046
SlotAllocatorOpt
?.TryGetPreviousLambda(lambdaOrLambdaBodySyntax, isLambdaBody, closureOrdinal, structClosureIds:=ImmutableArray(Of DebugId).Empty, previousLambdaId, lambdaRudeEdit) = True AndAlso
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (2)
164
If
SlotAllocatorOpt
Is Nothing OrElse
165
Not
SlotAllocatorOpt
.TryGetPreviousStateMachineState(_tryBlockSyntaxForNextFinalizerState, awaitId:=Nothing, _currentFinalizerState) Then