20 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)
175var localKey = new EncLocalInfo(new LocalSlotDebugInfo(kind, previousId), previousType, constraints, signature: null); 227var 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)
670hoistedField = F.StateMachineField(expr.Type, fieldName, new LocalSlotDebugInfo(kind, id), slotIndex);
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (2)
31: this(stateMachineType, type, name, new LocalSlotDebugInfo(SynthesizedLocalKind.LoweringTemp, LocalDebugId.None), slotIndex: -1, isPublic: isPublic) 37: this(stateMachineType, type, name, new LocalSlotDebugInfo(synthesizedKind, LocalDebugId.None), slotIndex, isPublic: isPublic)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
222field = F.StateMachineField(fieldType, fieldName, new LocalSlotDebugInfo(synthesizedKind, id), slotIndex);
Microsoft.CodeAnalysis.UnitTests (4)
Emit\CustomDebugInfoTests.cs (4)
201new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, new LocalDebugId(-1, 10)), 202new LocalSlotDebugInfo(SynthesizedLocalKind.TryAwaitPendingCaughtException, new LocalDebugId(-20000, 10))); 301new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, new LocalDebugId(-1, 10)), 302new LocalSlotDebugInfo(SynthesizedLocalKind.TryAwaitPendingCaughtException, new LocalDebugId(-20000, 10)));
Microsoft.CodeAnalysis.VisualBasic (3)
Lowering\StateMachineRewriter\StateMachineFieldSymbol.vb (2)
35New LocalSlotDebugInfo(SynthesizedLocalKind.LoweringTemp, LocalDebugId.None), 56New LocalSlotDebugInfo(synthesizedKind, LocalDebugId.None),
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
354Return F.StateMachineField(localType, Me.Method, proxyName, New LocalSlotDebugInfo(local.SynthesizedKind, id), slotIndex, Accessibility.Friend)
38 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)
145ImmutableArray<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)
4103ImmutableArray<LocalSlotDebugInfo> encLocalSlots; 4125internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<ILocalDefinition> locals) 4129return ImmutableArray<LocalSlotDebugInfo>.Empty; 4135internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<EncHoistedLocalInfo> locals) 4139return ImmutableArray<LocalSlotDebugInfo>.Empty;
Microsoft.CodeAnalysis.CSharp (6)
Emitter\EditAndContinue\CSharpDefinitionMap.cs (2)
121ImmutableArray<LocalSlotDebugInfo> localSlotDebugInfo, 221var slot = localSlots[slotIndex];
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (3)
27internal readonly LocalSlotDebugInfo SlotDebugInfo; 41public StateMachineFieldSymbol(NamedTypeSymbol stateMachineType, TypeSymbol type, string name, LocalSlotDebugInfo slotDebugInfo, int slotIndex, bool isPublic) : 46public StateMachineFieldSymbol(NamedTypeSymbol stateMachineType, TypeWithAnnotations type, string name, LocalSlotDebugInfo slotDebugInfo, int slotIndex, bool isPublic)
Lowering\SyntheticBoundNodeFactory.cs (1)
241public StateMachineFieldSymbol StateMachineField(TypeSymbol type, string name, LocalSlotDebugInfo slotDebugInfo, int slotIndex)
Microsoft.CodeAnalysis.UnitTests (3)
Emit\CustomDebugInfoTests.cs (3)
223var slots = ImmutableArray<LocalSlotDebugInfo>.Empty; 253var slots = ImmutableArray<LocalSlotDebugInfo>.Empty; 278var slots = ImmutableArray<LocalSlotDebugInfo>.Empty;
Microsoft.CodeAnalysis.VisualBasic (4)
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (1)
137localSlotDebugInfo As ImmutableArray(Of LocalSlotDebugInfo),
Lowering\StateMachineRewriter\StateMachineFieldSymbol.vb (2)
21Friend ReadOnly SlotDebugInfo As LocalSlotDebugInfo 67slotDebugInfo As LocalSlotDebugInfo,
Lowering\SyntheticBoundNodeFactory.vb (1)
127Public Function StateMachineField(type As TypeSymbol, implicitlyDefinedBy As Symbol, name As String, slotDebugInfo As LocalSlotDebugInfo, slotIndex As Integer, Optional accessibility As Accessibility = Accessibility.Private) As SynthesizedFieldSymbol