26 references to DebugId
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DefinitionMap.cs (2)
315
methodId = new
DebugId
(debugInfo.MethodOrdinal, 0);
706
GetMetadataLambdaAndClosureMap(peMethod.ContainingType, methodId: new
DebugId
(provider.MethodOrdinal, generation: 0)),
Emit\EditAndContinueMethodDebugInformation.cs (2)
233
var closureId = new
DebugId
(closuresBuilder.Count, generation: 0);
247
var lambdaId = new
DebugId
(lambdasBuilder.Count, generation: 0);
Symbols\CommonGeneratedNameParser.cs (1)
66
var id = new
DebugId
((int)value, (generation >= 0) ? generation : 0);
Microsoft.CodeAnalysis.CSharp (6)
Compiler\MethodCompiler.cs (2)
1422
new
DebugId
(ordinal: -1, _moduleBeingBuiltOpt.CurrentGenerationOrdinal),
1726
variableSlotAllocatorOpt?.MethodId ?? new
DebugId
(methodOrdinal, moduleBuilder.CurrentGenerationOrdinal),
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
525
return _slotAllocator?.MethodId ?? new
DebugId
(_topLevelMethodOrdinal, _compilationState.ModuleBuilderOpt.CurrentGenerationOrdinal);
555
closureId = new
DebugId
(closureDebugInfo.Count, _compilationState.ModuleBuilderOpt.CurrentGenerationOrdinal);
Lowering\ClosureConversion\ClosureConversion.cs (2)
524
methodId = new
DebugId
(DebugId.UndefinedOrdinal, CompilationState.ModuleBuilderOpt.CurrentGenerationOrdinal);
1500
lambdaId = new
DebugId
(_lambdaDebugInfoBuilder.Count, CompilationState.ModuleBuilderOpt.CurrentGenerationOrdinal);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\GeneratedNamesTests.cs (2)
72
Assert.Equal(new
DebugId
(methodIdOrdinal, methodIdGeneration), actualMethodId);
73
Assert.Equal(new
DebugId
(entityIdOrdinal, entityIdGeneration), actualEntityId);
Microsoft.CodeAnalysis.UnitTests (13)
Emit\CustomDebugInfoTests.cs (13)
222
new ClosureDebugInfo(-100, new
DebugId
(0, 0)),
223
new ClosureDebugInfo(10, new
DebugId
(1, 0)),
224
new ClosureDebugInfo(-200, new
DebugId
(2, 0)));
227
new LambdaDebugInfo(20, new
DebugId
(0, 0), 1),
228
new LambdaDebugInfo(-50, new
DebugId
(1, 0), 0),
229
new LambdaDebugInfo(-180, new
DebugId
(2, 0), LambdaDebugInfo.StaticClosureOrdinal));
252
var lambdas = ImmutableArray.Create(new LambdaDebugInfo(20, new
DebugId
(0, 0), LambdaDebugInfo.StaticClosureOrdinal));
351
new ClosureDebugInfo(-100, new
DebugId
(0, 0)),
352
new ClosureDebugInfo(10, new
DebugId
(1, 0)),
353
new ClosureDebugInfo(-200, new
DebugId
(2, 0)));
356
new LambdaDebugInfo(20, new
DebugId
(0, 0), 1),
357
new LambdaDebugInfo(-50, new
DebugId
(1, 0), 0),
358
new LambdaDebugInfo(-180, new
DebugId
(2, 0), LambdaDebugInfo.StaticClosureOrdinal));