1 write to ClosureOrdinal
Microsoft.CodeAnalysis (1)
CodeGen\LambdaDebugInfo.cs (1)
40ClosureOrdinal = closureOrdinal;
6 references to ClosureOrdinal
Microsoft.CodeAnalysis (6)
CodeGen\LambdaDebugInfo.cs (3)
45=> ClosureOrdinal == StaticClosureOrdinal ? $"({LambdaId} @{SyntaxOffset}, static)" : 46ClosureOrdinal == ThisOnlyClosureOrdinal ? $"(#{LambdaId} @{SyntaxOffset}, this)" : 47$"({LambdaId} @{SyntaxOffset} in {ClosureOrdinal})";
Emit\EditAndContinue\DefinitionMap.cs (1)
450elementSelector: info => new EncLambdaMapValue(info.LambdaId, info.ClosureOrdinal, getLambdaStructClosureIdsFromMetadata(map.GetLambdaSymbol(info.LambdaId), methodId)));
Emit\EditAndContinueMethodDebugInformation.cs (2)
296Debug.Assert(info.ClosureOrdinal >= LambdaDebugInfo.MinClosureOrdinal); 300writer.WriteCompressedInteger(info.ClosureOrdinal - LambdaDebugInfo.MinClosureOrdinal);