15 references to CurrentGenerationOrdinal
Microsoft.CodeAnalysis (3)
CodeGen\PrivateImplementationDetails.cs (2)
148
if (moduleBuilder.
CurrentGenerationOrdinal
> 0)
150
name += "#" + moduleBuilder.
CurrentGenerationOrdinal
;
Emit\CommonPEModuleBuilder.cs (1)
626
return
CurrentGenerationOrdinal
;
Microsoft.CodeAnalysis.CSharp (12)
Compiler\MethodCompiler.cs (2)
1430
new DebugId(ordinal: -1, _moduleBeingBuiltOpt.
CurrentGenerationOrdinal
),
1734
variableSlotAllocatorOpt?.MethodId ?? new DebugId(methodOrdinal, moduleBuilder.
CurrentGenerationOrdinal
),
Emitter\Model\PEModuleBuilder.cs (2)
1953
string typeName = GeneratedNames.MakeSynthesizedInlineArrayName(arrayLength,
CurrentGenerationOrdinal
);
1976
string typeName = GeneratedNames.MakeSynthesizedReadOnlyListName(kind,
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
);
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
66
var generation = _factory.ModuleBuilderOpt.
CurrentGenerationOrdinal
;
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (2)
692
int generation = factory.CompilationState.ModuleBuilderOpt.
CurrentGenerationOrdinal
;
787
int generation = _factory.CompilationState.ModuleBuilderOpt.
CurrentGenerationOrdinal
;
Lowering\StateMachineRewriter\StateMachineTypeSymbol.cs (1)
31
GeneratedNames.MakeStateMachineTypeName(kickoffMethod.Name, kickoffMethodOrdinal, compilationState.ModuleBuilderOpt.
CurrentGenerationOrdinal
);