4 instantiations of EncLocalInfo
Microsoft.CodeAnalysis (4)
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (1)
84
return new
EncLocalInfo
(info.SlotInfo, typeRef, info.Constraints, info.Signature);
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
910
return new
EncLocalInfo
(signature);
920
return new
EncLocalInfo
(localDef.SlotInfo, translatedType, localDef.Constraints, signature);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
172
var localKey = new
EncLocalInfo
(new LocalSlotDebugInfo(kind, previousId), previousType, constraints, signature: null);
20 references to EncLocalInfo
Microsoft.CodeAnalysis (20)
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (4)
17
public readonly ImmutableArray<
EncLocalInfo
> Locals;
31
ImmutableArray<
EncLocalInfo
> locals,
72
private static
EncLocalInfo
MapLocalInfo(
EncLocalInfo
info, SymbolMatcher map)
Emit\EditAndContinue\DefinitionMap.cs (5)
206
protected abstract ImmutableArray<
EncLocalInfo
> GetLocalSlotMapFromMetadata(StandaloneSignatureHandle handle, EditAndContinueMethodDebugInformation debugInfo);
227
ImmutableArray<
EncLocalInfo
> previousLocals;
270
previousLocals = ImmutableArray<
EncLocalInfo
>.Empty;
341
previousLocals = ImmutableArray<
EncLocalInfo
>.Empty;
376
previousLocals = localSignature.IsNil ? ImmutableArray<
EncLocalInfo
>.Empty :
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
856
var encInfos = ArrayBuilder<
EncLocalInfo
>.GetInstance();
906
private
EncLocalInfo
CreateEncLocalInfo(ILocalDefinition localDef, byte[] signature)
Emit\EditAndContinue\EncLocalInfo.cs (3)
13
internal readonly struct EncLocalInfo : IEquatable<
EncLocalInfo
>
44
public bool Equals(
EncLocalInfo
other)
53
=> obj is
EncLocalInfo
info && Equals(info);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (6)
28
private readonly IReadOnlyDictionary<
EncLocalInfo
, int> _previousLocalSlots;
29
private readonly ImmutableArray<
EncLocalInfo
> _previousLocals;
51
ImmutableArray<
EncLocalInfo
> previousLocals,
83
var previousLocalInfoToSlot = new Dictionary<
EncLocalInfo
, int>();
86
var
localInfo = previousLocals[slot];
172
var
localKey = new EncLocalInfo(new LocalSlotDebugInfo(kind, previousId), previousType, constraints, signature: null);