11 instantiations of LocalDebugId
Microsoft.CodeAnalysis (3)
CodeGen\LocalDebugId.cs (1)
40public static readonly LocalDebugId None = new LocalDebugId(isNone: true);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
139previousId = new LocalDebugId(syntaxOffset, currentId.Ordinal);
Emit\EditAndContinueMethodDebugInformation.cs (1)
133mapBuilder.Add(new LocalSlotDebugInfo(kind, new LocalDebugId(syntaxOffset, ordinal)));
Microsoft.CodeAnalysis.CSharp (4)
CodeGen\CodeGenerator.cs (1)
184id: new LocalDebugId(syntaxOffset, ordinal: 0),
CodeGen\EmitStatement.cs (1)
1881localId = new LocalDebugId(syntaxOffset, ordinal);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
694var id = new LocalDebugId(syntaxOffset, ordinal);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
199id = new LocalDebugId(syntaxOffset, ordinal);
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)));
34 references to LocalDebugId
Microsoft.CodeAnalysis (24)
CodeGen\LocalConstantDefinition.cs (1)
68=> new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, LocalDebugId.None);
CodeGen\LocalDebugId.cs (5)
16internal readonly struct LocalDebugId : IEquatable<LocalDebugId> 40public static readonly LocalDebugId None = new LocalDebugId(isNone: true); 66public bool Equals(LocalDebugId other) 79return obj is LocalDebugId && Equals((LocalDebugId)obj);
CodeGen\LocalDefinition.cs (1)
67LocalDebugId id,
CodeGen\LocalSlotDebugInfo.cs (2)
13public readonly LocalDebugId Id; 15public LocalSlotDebugInfo(SynthesizedLocalKind synthesizedKind, LocalDebugId id)
CodeGen\LocalSlotManager.cs (3)
131LocalDebugId id, 185id: LocalDebugId.None, 200LocalDebugId id,
CodeGen\SignatureOnlyLocalDefinition.cs (1)
84=> new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
CodeGen\VariableSlotAllocator.cs (2)
23LocalDebugId id, 38LocalDebugId currentId,
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 (6)
119private bool TryGetPreviousLocalId(SyntaxNode currentDeclarator, LocalDebugId currentId, out LocalDebugId previousId) 148LocalDebugId id, 159if (!TryGetPreviousLocalId(currentLocalSymbol.GetDeclaratorSyntax(), id, out LocalDebugId previousId)) 198LocalDebugId currentId, 209if (!TryGetPreviousLocalId(currentDeclarator, currentId, out LocalDebugId previousId))
PEWriter\Members.cs (1)
374/// Local id, or <see cref="LocalDebugId.None"/> if this is a local constant, short-lived temp variable,
Microsoft.CodeAnalysis.CSharp (9)
CodeGen\EmitStatement.cs (3)
1820LocalDebugId localId; 1850private string GetLocalDebugName(ILocalSymbolInternal local, out LocalDebugId localId) 1852localId = LocalDebugId.None;
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
694var id = new LocalDebugId(syntaxOffset, ordinal);
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 (2)
187LocalDebugId id; 216id = LocalDebugId.None;
Symbols\LocalSymbol.cs (1)
284/// The location of the declarator is used to calculate <see cref="LocalDebugId.SyntaxOffset"/> during emit.
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\LocalSymbol.vb (1)
182''' The location of the declarator is used to calculate <see cref="LocalDebugId.SyntaxOffset"/> during emit.