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