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