10 instantiations of EncHoistedLocalInfo
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (1)
97return new EncHoistedLocalInfo(info.SlotInfo, typeRef);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
227var localKey = new EncHoistedLocalInfo(new LocalSlotDebugInfo(synthesizedKind, previousId), previousType);
Microsoft.CodeAnalysis.CSharp (4)
Compiler\MethodCompiler.cs (3)
1723hoistedVariables.Add(new EncHoistedLocalInfo(true)); 1726hoistedVariables[index] = new EncHoistedLocalInfo(field.SlotDebugInfo, moduleBuilder.EncTranslateLocalVariableType(field.Type, diagnostics.DiagnosticBag)); 1742hoistedVariables.Add(new EncHoistedLocalInfo(true));
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
170var key = new EncHoistedLocalInfo(localSlotDebugInfo[slotIndex], (Cci.ITypeReference)field.Type.GetCciAdapter());
Microsoft.CodeAnalysis.VisualBasic (4)
Compilation\MethodCompiler.vb (3)
1726hoistedVariables.Add(New EncHoistedLocalInfo()) 1729hoistedVariables(index) = New EncHoistedLocalInfo(field.SlotDebugInfo, moduleBuilder.EncTranslateLocalVariableType(field.Type, diagnostics)) 1742hoistedVariables.Add(New EncHoistedLocalInfo(True))
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (1)
181Dim key = New EncHoistedLocalInfo(localSlotDebugInfo(slotIndex), DirectCast(field.Type.GetCciAdapter(), Cci.ITypeReference))
37 references to EncHoistedLocalInfo
Microsoft.CodeAnalysis (26)
CodeGen\MethodBody.cs (3)
37private readonly ImmutableArray<EncHoistedLocalInfo> _stateMachineHoistedLocalSlots; 68ImmutableArray<EncHoistedLocalInfo> stateMachineHoistedLocalSlots, 145ImmutableArray<EncHoistedLocalInfo> Cci.IMethodBody.StateMachineHoistedLocalSlots
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (4)
25public readonly ImmutableArray<EncHoistedLocalInfo> StateMachineHoistedLocalSlotsOpt; 35ImmutableArray<EncHoistedLocalInfo> stateMachineHoistedLocalSlotsOpt, 87private static EncHoistedLocalInfo MapHoistedLocalSlot(EncHoistedLocalInfo info, SymbolMatcher map)
Emit\EditAndContinue\DefinitionMap.cs (6)
146out IReadOnlyDictionary<EncHoistedLocalInfo, int> hoistedLocalMap, 171IReadOnlyDictionary<EncHoistedLocalInfo, int>? hoistedLocalMap = null; 399ImmutableArray<EncHoistedLocalInfo> hoistedLocalSlots, 401out IReadOnlyDictionary<EncHoistedLocalInfo, int> hoistedLocalMap, 404var hoistedLocals = new Dictionary<EncHoistedLocalInfo, int>(); 409var slot = hoistedLocalSlots[slotIndex];
Emit\EditAndContinue\DeletedMethodBody.cs (1)
59public ImmutableArray<EncHoistedLocalInfo> StateMachineHoistedLocalSlots => default;
Emit\EditAndContinue\EncHoistedLocalInfo.cs (3)
13internal readonly struct EncHoistedLocalInfo : IEquatable<EncHoistedLocalInfo> 33public bool Equals(EncHoistedLocalInfo other) 38=> obj is EncHoistedLocalInfo info && Equals(info);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (3)
35private readonly IReadOnlyDictionary<EncHoistedLocalInfo, int>? _hoistedLocalSlots; 58IReadOnlyDictionary<EncHoistedLocalInfo, int>? hoistedLocalSlots, 227var localKey = new EncHoistedLocalInfo(new LocalSlotDebugInfo(synthesizedKind, previousId), previousType);
Emit\NoPia\CommonEmbeddedMethod.cs (2)
152ImmutableArray<EncHoistedLocalInfo> Cci.IMethodBody.StateMachineHoistedLocalSlots => 153default(ImmutableArray<EncHoistedLocalInfo>);
PEWriter\Members.cs (1)
479ImmutableArray<EncHoistedLocalInfo> StateMachineHoistedLocalSlots { get; }
PEWriter\MetadataWriter.cs (1)
4135internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<EncHoistedLocalInfo> locals)
PEWriter\RootModuleStaticConstructor.cs (2)
156public ImmutableArray<EncHoistedLocalInfo> StateMachineHoistedLocalSlots => ImmutableArray<EncHoistedLocalInfo>.Empty;
Microsoft.CodeAnalysis.CSharp (6)
Compiler\MethodCompiler.cs (3)
1639var stateMachineHoistedLocalSlots = default(ImmutableArray<EncHoistedLocalInfo>); 1690out ImmutableArray<EncHoistedLocalInfo> hoistedVariableSlots, 1693var hoistedVariables = ArrayBuilder<EncHoistedLocalInfo>.GetInstance();
Emitter\EditAndContinue\CSharpDefinitionMap.cs (3)
122out IReadOnlyDictionary<EncHoistedLocalInfo, int> hoistedLocalMap, 129var hoistedLocals = new Dictionary<EncHoistedLocalInfo, int>(); 170var key = new EncHoistedLocalInfo(localSlotDebugInfo[slotIndex], (Cci.ITypeReference)field.Type.GetCciAdapter());
Microsoft.CodeAnalysis.VisualBasic (5)
Compilation\MethodCompiler.vb (3)
1660Dim stateMachineHoistedLocalSlots As ImmutableArray(Of EncHoistedLocalInfo) = Nothing 1703ByRef hoistedVariableSlots As ImmutableArray(Of EncHoistedLocalInfo), 1706Dim hoistedVariables = ArrayBuilder(Of EncHoistedLocalInfo).GetInstance()
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (2)
138<Out> ByRef hoistedLocalMap As IReadOnlyDictionary(Of EncHoistedLocalInfo, Integer), 144Dim hoistedLocals = New Dictionary(Of EncHoistedLocalInfo, Integer)()