3 types derived from VariableSlotAllocator
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
18internal sealed class EncVariableSlotAllocator : VariableSlotAllocator
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
EEAssemblyBuilder.cs (1)
124private sealed class SlotAllocator : VariableSlotAllocator
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
EEAssemblyBuilder.vb (1)
131Inherits VariableSlotAllocator
65 references to VariableSlotAllocator
Microsoft.CodeAnalysis (4)
CodeGen\LocalSlotManager.cs (2)
75private readonly VariableSlotAllocator? _slotAllocator; 77public LocalSlotManager(VariableSlotAllocator? slotAllocator)
CodeGen\StateMachineStateDebugInfo.cs (1)
57public static StateMachineStatesDebugInfo Create(VariableSlotAllocator? variableSlotAllocator, ImmutableArray<StateMachineStateDebugInfo> stateInfos)
Emit\EditAndContinue\DefinitionMap.cs (1)
153internal VariableSlotAllocator? TryCreateVariableSlotAllocator(EmitBaseline baseline, Compilation compilation, IMethodSymbolInternal method, IMethodSymbolInternal topLevelMethod, DiagnosticBag diagnostics)
Microsoft.CodeAnalysis.CSharp (32)
Compiler\MethodCompiler.cs (6)
256VariableSlotAllocator lazyVariableSlotAllocator = null; 733var variableSlotAllocatorOpt = ((object)lambda != null) ? 1210VariableSlotAllocator lazyVariableSlotAllocator = null; 1411ref VariableSlotAllocator lazyVariableSlotAllocator, 1531VariableSlotAllocator variableSlotAllocatorOpt, 1688VariableSlotAllocator variableSlotAllocatorOpt,
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
302internal override VariableSlotAllocator? TryCreateVariableSlotAllocator(MethodSymbol method, MethodSymbol topLevelMethod, DiagnosticBag diagnostics)
Emitter\Model\PEModuleBuilder.cs (1)
493internal virtual VariableSlotAllocator TryCreateVariableSlotAllocator(MethodSymbol method, MethodSymbol topLevelMethod, DiagnosticBag diagnostics)
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
59VariableSlotAllocator? slotAllocatorOpt,
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
77VariableSlotAllocator? slotAllocatorOpt,
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
40VariableSlotAllocator slotAllocatorOpt,
Lowering\AsyncRewriter\AsyncRewriter.cs (2)
29VariableSlotAllocator? slotAllocatorOpt, 46VariableSlotAllocator? slotAllocatorOpt,
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
25public AsyncStateMachine(VariableSlotAllocator variableAllocatorOpt, TypeCompilationState compilationState, MethodSymbol asyncMethod, int asyncMethodOrdinal, TypeKind typeKind)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (3)
47private readonly VariableSlotAllocator _slotAllocatorOpt; 55VariableSlotAllocator slotAllocatorOpt, 70VariableSlotAllocator slotAllocatorOpt,
Lowering\ClosureConversion\ClosureConversion.cs (2)
162VariableSlotAllocator slotAllocatorOpt, 232VariableSlotAllocator slotAllocatorOpt,
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
65VariableSlotAllocator slotAllocatorOpt,
Lowering\IteratorRewriter\IteratorRewriter.cs (2)
35VariableSlotAllocator slotAllocatorOpt, 54VariableSlotAllocator slotAllocatorOpt,
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
26public IteratorStateMachine(VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, MethodSymbol iteratorMethod, int iteratorMethodOrdinal, bool isEnumerable, TypeWithAnnotations elementType)
Lowering\MethodToClassRewriter.cs (2)
52protected readonly VariableSlotAllocator? slotAllocatorOpt; 56protected MethodToClassRewriter(VariableSlotAllocator? slotAllocatorOpt, TypeCompilationState compilationState, BindingDiagnosticBag diagnostics)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
109VariableSlotAllocator? slotAllocatorOpt,
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (2)
17private readonly VariableSlotAllocator? _slotAllocator; 37public ResumableStateMachineStateAllocator(VariableSlotAllocator? slotAllocator, StateMachineState firstState, bool increasing)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (2)
25protected readonly VariableSlotAllocator? slotAllocatorOpt; 42VariableSlotAllocator? slotAllocatorOpt,
Lowering\StateMachineRewriter\StateMachineTypeSymbol.cs (2)
21public StateMachineTypeSymbol(VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, MethodSymbol kickoffMethod, int kickoffMethodOrdinal) 28private static string MakeName(VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, MethodSymbol kickoffMethod, int kickoffMethodOrdinal)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
EEAssemblyBuilder.cs (1)
76internal override VariableSlotAllocator? TryCreateVariableSlotAllocator(MethodSymbol symbol, MethodSymbol topLevelMethod, DiagnosticBag diagnostics)
Microsoft.CodeAnalysis.VisualBasic (27)
CodeGen\ResumableStateMachineStateAllocator.vb (2)
16Private ReadOnly _slotAllocator As VariableSlotAllocator 36Public Sub New(slotAllocator As VariableSlotAllocator, firstState As StateMachineState, increasing As Boolean)
Compilation\MethodCompiler.vb (4)
933Dim lazyVariableSlotAllocator As VariableSlotAllocator = Nothing 1477Dim lazyVariableSlotAllocator As VariableSlotAllocator = Nothing 1568variableSlotAllocatorOpt As VariableSlotAllocator, 1701variableSlotAllocatorOpt As VariableSlotAllocator,
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
250Friend Overrides Function TryCreateVariableSlotAllocator(method As MethodSymbol, topLevelMethod As MethodSymbol, diagnostics As DiagnosticBag) As VariableSlotAllocator
Emit\PEModuleBuilder.vb (1)
320Friend Overridable Function TryCreateVariableSlotAllocator(method As MethodSymbol, topLevelMethod As MethodSymbol, diagnostics As DiagnosticBag) As VariableSlotAllocator
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (1)
70slotAllocatorOpt As VariableSlotAllocator,
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
32slotAllocatorOpt As VariableSlotAllocator, 76slotAllocatorOpt As VariableSlotAllocator,
Lowering\AsyncRewriter\AsyncStateMachine.vb (1)
17Protected Friend Sub New(slotAllocatorOpt As VariableSlotAllocator, compilationState As TypeCompilationState, asyncMethod As MethodSymbol, asyncMethodOrdinal As Integer, typeKind As TypeKind)
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (1)
33slotAllocatorOpt As VariableSlotAllocator,
Lowering\IteratorRewriter\IteratorRewriter.vb (2)
27slotAllocatorOpt As VariableSlotAllocator, 51slotAllocatorOpt As VariableSlotAllocator,
Lowering\IteratorRewriter\IteratorStateMachine.vb (1)
18Protected Friend Sub New(slotAllocatorOpt As VariableSlotAllocator,
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
117slotAllocatorOpt As VariableSlotAllocator, 158slotAllocatorOpt As VariableSlotAllocator,
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (2)
63Protected ReadOnly SlotAllocatorOpt As VariableSlotAllocator 73Protected Sub New(slotAllocatorOpt As VariableSlotAllocator, compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, preserveOriginalLocals As Boolean)
Lowering\Rewriter.vb (2)
27ByRef lazyVariableSlotAllocator As VariableSlotAllocator, 130slotAllocatorOpt As VariableSlotAllocator,
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
81slotAllocatorOpt As VariableSlotAllocator,
Lowering\StateMachineRewriter\StateMachineRewriter.vb (2)
29Protected ReadOnly SlotAllocatorOpt As VariableSlotAllocator 43slotAllocatorOpt As VariableSlotAllocator,
Lowering\StateMachineRewriter\StateMachineTypeSymbol.vb (2)
19Public Sub New(slotAllocatorOpt As VariableSlotAllocator, 36Private Shared Function MakeName(slotAllocatorOpt As VariableSlotAllocator, compilationState As TypeCompilationState, kickoffMethod As MethodSymbol, kickoffMethodOrdinal As Integer) As String
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
EEAssemblyBuilder.vb (1)
84Friend Overrides Function TryCreateVariableSlotAllocator(symbol As MethodSymbol, topLevelMethod As MethodSymbol, diagnostics As DiagnosticBag) As VariableSlotAllocator