6 instantiations of EncHoistedLocalInfo
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (1)
97
return new
EncHoistedLocalInfo
(info.SlotInfo, typeRef);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
224
var localKey = new
EncHoistedLocalInfo
(new LocalSlotDebugInfo(synthesizedKind, previousId), previousType);
Microsoft.CodeAnalysis.CSharp (4)
Compiler\MethodCompiler.cs (3)
1798
hoistedVariables.Add(new
EncHoistedLocalInfo
(true));
1801
hoistedVariables[index] = new
EncHoistedLocalInfo
(field.SlotDebugInfo, moduleBuilder.EncTranslateLocalVariableType(field.Type, diagnostics.DiagnosticBag));
1817
hoistedVariables.Add(new
EncHoistedLocalInfo
(true));
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
105
var key = new
EncHoistedLocalInfo
(localSlotDebugInfo[slotIndex], (Cci.ITypeReference)field.Type.GetCciAdapter());
31 references to EncHoistedLocalInfo
Microsoft.CodeAnalysis (25)
CodeGen\MethodBody.cs (3)
37
private readonly ImmutableArray<
EncHoistedLocalInfo
> _stateMachineHoistedLocalSlots;
70
ImmutableArray<
EncHoistedLocalInfo
> stateMachineHoistedLocalSlots,
150
ImmutableArray<
EncHoistedLocalInfo
> Cci.IMethodBody.StateMachineHoistedLocalSlots
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (4)
25
public readonly ImmutableArray<
EncHoistedLocalInfo
> StateMachineHoistedLocalSlotsOpt;
35
ImmutableArray<
EncHoistedLocalInfo
> stateMachineHoistedLocalSlotsOpt,
87
private static
EncHoistedLocalInfo
MapHoistedLocalSlot(
EncHoistedLocalInfo
info, SymbolMatcher map)
Emit\EditAndContinue\DefinitionMap.cs (6)
202
out IReadOnlyDictionary<
EncHoistedLocalInfo
, int> hoistedLocalMap,
228
IReadOnlyDictionary<
EncHoistedLocalInfo
, int>? hoistedLocalMap = null;
494
ImmutableArray<
EncHoistedLocalInfo
> hoistedLocalSlots,
496
out IReadOnlyDictionary<
EncHoistedLocalInfo
, int> hoistedLocalMap,
499
var hoistedLocals = new Dictionary<
EncHoistedLocalInfo
, int>();
504
var
slot = hoistedLocalSlots[slotIndex];
Emit\EditAndContinue\DeletedMethodBody.cs (1)
50
public ImmutableArray<
EncHoistedLocalInfo
> StateMachineHoistedLocalSlots => default;
Emit\EditAndContinue\EncHoistedLocalInfo.cs (3)
13
internal readonly struct EncHoistedLocalInfo : IEquatable<
EncHoistedLocalInfo
>
33
public bool Equals(
EncHoistedLocalInfo
other)
38
=> obj is
EncHoistedLocalInfo
info && Equals(info);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (3)
34
private readonly IReadOnlyDictionary<
EncHoistedLocalInfo
, int>? _hoistedLocalSlots;
56
IReadOnlyDictionary<
EncHoistedLocalInfo
, int>? hoistedLocalSlots,
224
var
localKey = new EncHoistedLocalInfo(new LocalSlotDebugInfo(synthesizedKind, previousId), previousType);
Emit\NoPia\CommonEmbeddedMethod.cs (2)
156
ImmutableArray<
EncHoistedLocalInfo
> Cci.IMethodBody.StateMachineHoistedLocalSlots =>
157
default(ImmutableArray<
EncHoistedLocalInfo
>);
PEWriter\Members.cs (1)
479
ImmutableArray<
EncHoistedLocalInfo
> StateMachineHoistedLocalSlots { get; }
PEWriter\MetadataWriter.cs (1)
4197
internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<
EncHoistedLocalInfo
> locals)
PEWriter\MethodDefinitionBase.cs (1)
157
public ImmutableArray<
EncHoistedLocalInfo
> StateMachineHoistedLocalSlots => default;
Microsoft.CodeAnalysis.CSharp (6)
Compiler\MethodCompiler.cs (3)
1708
var stateMachineHoistedLocalSlots = default(ImmutableArray<
EncHoistedLocalInfo
>);
1765
out ImmutableArray<
EncHoistedLocalInfo
> hoistedVariableSlots,
1768
var hoistedVariables = ArrayBuilder<
EncHoistedLocalInfo
>.GetInstance();
Emitter\EditAndContinue\CSharpDefinitionMap.cs (3)
57
out IReadOnlyDictionary<
EncHoistedLocalInfo
, int> hoistedLocalMap,
64
var hoistedLocals = new Dictionary<
EncHoistedLocalInfo
, int>();
105
var
key = new EncHoistedLocalInfo(localSlotDebugInfo[slotIndex], (Cci.ITypeReference)field.Type.GetCciAdapter());