7 instantiations of LocalDebugId
Microsoft.CodeAnalysis (3)
CodeGen\LocalDebugId.cs (1)
40
public static readonly LocalDebugId None = new
LocalDebugId
(isNone: true);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
139
previousId = new
LocalDebugId
(syntaxOffset, currentId.Ordinal);
Emit\EditAndContinueMethodDebugInformation.cs (1)
133
mapBuilder.Add(new LocalSlotDebugInfo(kind, new
LocalDebugId
(syntaxOffset, ordinal)));
Microsoft.CodeAnalysis.CSharp (4)
CodeGen\CodeGenerator.cs (1)
200
id: new
LocalDebugId
(syntaxOffset, ordinal: 0),
CodeGen\EmitStatement.cs (1)
1908
localId = new
LocalDebugId
(syntaxOffset, ordinal);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
682
var id = new
LocalDebugId
(syntaxOffset, ordinal);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
203
id = new
LocalDebugId
(syntaxOffset, ordinal);
33 references to LocalDebugId
Microsoft.CodeAnalysis (24)
CodeGen\LocalConstantDefinition.cs (1)
68
=> new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined,
LocalDebugId
.None);
CodeGen\LocalDebugId.cs (5)
16
internal readonly struct LocalDebugId : IEquatable<
LocalDebugId
>
40
public static readonly
LocalDebugId
None = new LocalDebugId(isNone: true);
66
public bool Equals(
LocalDebugId
other)
79
return obj is
LocalDebugId
&& Equals((
LocalDebugId
)obj);
CodeGen\LocalDefinition.cs (1)
67
LocalDebugId
id,
CodeGen\LocalSlotDebugInfo.cs (2)
13
public readonly
LocalDebugId
Id;
15
public LocalSlotDebugInfo(SynthesizedLocalKind synthesizedKind,
LocalDebugId
id)
CodeGen\LocalSlotManager.cs (3)
131
LocalDebugId
id,
185
id:
LocalDebugId
.None,
200
LocalDebugId
id,
CodeGen\SignatureOnlyLocalDefinition.cs (1)
84
=> new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp,
LocalDebugId
.None);
CodeGen\VariableSlotAllocator.cs (2)
23
LocalDebugId
id,
38
LocalDebugId
currentId,
Emit\EditAndContinue\EncHoistedLocalInfo.cs (1)
20
SlotInfo = new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp,
LocalDebugId
.None);
Emit\EditAndContinue\EncLocalInfo.cs (1)
25
SlotInfo = new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp,
LocalDebugId
.None);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (6)
119
private bool TryGetPreviousLocalId(SyntaxNode currentDeclarator,
LocalDebugId
currentId, out
LocalDebugId
previousId)
148
LocalDebugId
id,
159
if (!TryGetPreviousLocalId(currentLocalSymbol.GetDeclaratorSyntax(), id, out
LocalDebugId
previousId))
198
LocalDebugId
currentId,
209
if (!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)
1847
LocalDebugId
localId;
1877
private string GetLocalDebugName(ILocalSymbolInternal local, out
LocalDebugId
localId)
1879
localId =
LocalDebugId
.None;
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
682
var
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)
191
LocalDebugId
id;
220
id =
LocalDebugId
.None;
Symbols\LocalSymbol.cs (1)
294
/// The location of the declarator is used to calculate <see cref="
LocalDebugId
.SyntaxOffset"/> during emit.