17 instantiations of LocalSlotDebugInfo
Microsoft.CodeAnalysis (9)
CodeGen\LocalConstantDefinition.cs (1)
68=> new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, LocalDebugId.None);
CodeGen\LocalDefinition.cs (1)
77_slotInfo = new LocalSlotDebugInfo(synthesizedKind, id);
CodeGen\SignatureOnlyLocalDefinition.cs (1)
84=> new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
Emit\EditAndContinue\EncHoistedLocalInfo.cs (1)
20SlotInfo = new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
Emit\EditAndContinue\EncLocalInfo.cs (1)
25SlotInfo = new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
172var localKey = new EncLocalInfo(new LocalSlotDebugInfo(kind, previousId), previousType, constraints, signature: null); 224var localKey = new EncHoistedLocalInfo(new LocalSlotDebugInfo(synthesizedKind, previousId), previousType);
Emit\EditAndContinueMethodDebugInformation.cs (2)
122mapBuilder.Add(new LocalSlotDebugInfo(SynthesizedLocalKind.LoweringTemp, default)); 133mapBuilder.Add(new LocalSlotDebugInfo(kind, new LocalDebugId(syntaxOffset, ordinal)));
Microsoft.CodeAnalysis.CSharp (4)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
712hoistedField = F.StateMachineField(expr.Type, fieldName, new LocalSlotDebugInfo(kind, id), slotIndex);
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (2)
33: this(stateMachineType, type, name, new LocalSlotDebugInfo(SynthesizedLocalKind.LoweringTemp, LocalDebugId.None), slotIndex: -1, isPublic: isPublic) 39: this(stateMachineType, type, name, new LocalSlotDebugInfo(synthesizedKind, LocalDebugId.None), slotIndex, isPublic: isPublic)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
225field = F.StateMachineField(fieldType, fieldName, new LocalSlotDebugInfo(synthesizedKind, id), slotIndex);
Microsoft.CodeAnalysis.UnitTests (4)
Emit\CustomDebugInfoTests.cs (4)
197new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, new LocalDebugId(-1, 10)), 198new LocalSlotDebugInfo(SynthesizedLocalKind.TryAwaitPendingCaughtException, new LocalDebugId(-20000, 10))); 347new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, new LocalDebugId(-1, 10)), 348new LocalSlotDebugInfo(SynthesizedLocalKind.TryAwaitPendingCaughtException, new LocalDebugId(-20000, 10)));
35 references to LocalSlotDebugInfo
Microsoft.CodeAnalysis (25)
CodeGen\LocalConstantDefinition.cs (1)
67public LocalSlotDebugInfo SlotInfo
CodeGen\LocalDefinition.cs (2)
38private readonly LocalSlotDebugInfo _slotInfo; 142public LocalSlotDebugInfo SlotInfo => _slotInfo;
CodeGen\LocalSlotDebugInfo.cs (4)
10internal readonly struct LocalSlotDebugInfo : IEquatable<LocalSlotDebugInfo> 21public bool Equals(LocalSlotDebugInfo other) 29return obj is LocalSlotDebugInfo && Equals((LocalSlotDebugInfo)obj);
CodeGen\SignatureOnlyLocalDefinition.cs (1)
83public LocalSlotDebugInfo SlotInfo
Emit\EditAndContinue\DefinitionMap.cs (1)
201ImmutableArray<LocalSlotDebugInfo> localSlotDebugInfo,
Emit\EditAndContinue\EncHoistedLocalInfo.cs (2)
15public readonly LocalSlotDebugInfo SlotInfo; 24public EncHoistedLocalInfo(LocalSlotDebugInfo slotInfo, Cci.ITypeReference type)
Emit\EditAndContinue\EncLocalInfo.cs (2)
15public readonly LocalSlotDebugInfo SlotInfo; 32public EncLocalInfo(LocalSlotDebugInfo slotInfo, Cci.ITypeReference type, LocalSlotConstraints constraints, byte[]? signature)
Emit\EditAndContinueMethodDebugInformation.cs (6)
22internal readonly ImmutableArray<LocalSlotDebugInfo> LocalSlots; 29ImmutableArray<LocalSlotDebugInfo> localSlots, 92private static unsafe ImmutableArray<LocalSlotDebugInfo> UncompressSlotMap(ImmutableArray<byte> compressedSlotMap) 99var mapBuilder = ArrayBuilder<LocalSlotDebugInfo>.GetInstance(); 148foreach (LocalSlotDebugInfo localSlot in LocalSlots) 162foreach (LocalSlotDebugInfo localSlot in LocalSlots)
PEWriter\Members.cs (1)
377LocalSlotDebugInfo SlotInfo { get; }
PEWriter\MetadataWriter.cs (5)
4165ImmutableArray<LocalSlotDebugInfo> encLocalSlots; 4187internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<ILocalDefinition> locals) 4191return ImmutableArray<LocalSlotDebugInfo>.Empty; 4197internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<EncHoistedLocalInfo> locals) 4201return ImmutableArray<LocalSlotDebugInfo>.Empty;
Microsoft.CodeAnalysis.CSharp (6)
Emitter\EditAndContinue\CSharpDefinitionMap.cs (2)
56ImmutableArray<LocalSlotDebugInfo> localSlotDebugInfo, 159var slot = localSlots[slotIndex];
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (3)
29internal readonly LocalSlotDebugInfo SlotDebugInfo; 43public StateMachineFieldSymbol(NamedTypeSymbol stateMachineType, TypeSymbol type, string name, LocalSlotDebugInfo slotDebugInfo, int slotIndex, bool isPublic) : 48public StateMachineFieldSymbol(NamedTypeSymbol stateMachineType, TypeWithAnnotations type, string name, LocalSlotDebugInfo slotDebugInfo, int slotIndex, bool isPublic)
Lowering\SyntheticBoundNodeFactory.cs (1)
202public StateMachineFieldSymbol StateMachineField(TypeSymbol type, string name, LocalSlotDebugInfo slotDebugInfo, int slotIndex)
Microsoft.CodeAnalysis.UnitTests (4)
Emit\CustomDebugInfoTests.cs (4)
219var slots = ImmutableArray<LocalSlotDebugInfo>.Empty; 249var slots = ImmutableArray<LocalSlotDebugInfo>.Empty; 274var slots = ImmutableArray<LocalSlotDebugInfo>.Empty; 300localSlots: ImmutableArray<LocalSlotDebugInfo>.Empty,