2 instantiations of LocalDefinition
Microsoft.CodeAnalysis (2)
CodeGen\LocalSlotManager.cs (1)
227local = new LocalDefinition(
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
179return new LocalDefinition(
35 references to LocalDefinition
Microsoft.CodeAnalysis (35)
CodeGen\ILBuilder.cs (2)
1157internal bool PossiblyDefinedOutsideOfTry(LocalDefinition local) 1191internal void AddLocalToScope(LocalDefinition local)
CodeGen\ILBuilderEmit.cs (4)
233LocalDefinition? keyHash, 441internal void EmitLocalLoad(LocalDefinition local) 466internal void EmitLocalStore(LocalDefinition local) 490internal void EmitLocalAddress(LocalDefinition local)
CodeGen\LocalOrParameter.cs (3)
12public readonly LocalDefinition? Local; 15private LocalOrParameter(LocalDefinition? local, int parameterIndex) 21public static implicit operator LocalOrParameter(LocalDefinition? local)
CodeGen\LocalScopeManager.cs (7)
105internal void AddLocal(LocalDefinition variable) 174internal bool PossiblyDefinedOutsideOfTry(LocalDefinition local) 305internal virtual bool ContainsLocal(LocalDefinition local) => false; 314private ImmutableArray<LocalDefinition>.Builder _localVariables; 339internal void AddLocal(LocalDefinition variable) 343_localVariables = ImmutableArray.CreateBuilder<LocalDefinition>(1); 374internal override bool ContainsLocal(LocalDefinition local)
CodeGen\LocalSlotManager.cs (15)
65private Dictionary<ILocalSymbolInternal, LocalDefinition>? _localMap; 68private KeyedStack<LocalSignature, LocalDefinition>? _freeSlots; 90private Dictionary<ILocalSymbolInternal, LocalDefinition> LocalMap 97map = new Dictionary<ILocalSymbolInternal, LocalDefinition>(ReferenceEqualityComparer.Instance); 105private KeyedStack<LocalSignature, LocalDefinition> FreeSlots 112slots = new KeyedStack<LocalSignature, LocalDefinition>(); 120internal LocalDefinition DeclareLocal( 132LocalDefinition? local; 146internal LocalDefinition GetLocal(ILocalSymbolInternal symbol) 157var slot = GetLocal(symbol); 165internal LocalDefinition AllocateSlot( 171if (!FreeSlots.TryPop(new LocalSignature(type, constraints), out LocalDefinition? local)) 188private LocalDefinition DeclareLocalImpl( 204LocalDefinition? local; 246internal void FreeSlot(LocalDefinition slot)
CodeGen\SwitchStringJumpTableEmitter.cs (2)
64private readonly LocalDefinition? _keyHash; 71LocalDefinition? keyHash,
CodeGen\VariableSlotAllocator.cs (1)
18public abstract LocalDefinition? GetPreviousLocal(
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
143public override LocalDefinition? GetPreviousLocal(