1 write to ClosureOrdinal
Microsoft.CodeAnalysis (1)
CodeGen\LambdaDebugInfo.cs (1)
43ClosureOrdinal = closureOrdinal;
10 references to ClosureOrdinal
Microsoft.CodeAnalysis (9)
CodeGen\LambdaDebugInfo.cs (6)
50&& ClosureOrdinal == other.ClosureOrdinal 61return Hash.Combine(ClosureOrdinal, 68ClosureOrdinal == StaticClosureOrdinal ? $"({LambdaId.GetDebuggerDisplay()} @{SyntaxOffset}, static)" : 69ClosureOrdinal == ThisOnlyClosureOrdinal ? $"(#{LambdaId.GetDebuggerDisplay()} @{SyntaxOffset}, this)" : 70$"({LambdaId.GetDebuggerDisplay()} @{SyntaxOffset} in {ClosureOrdinal})";
Emit\EditAndContinue\DefinitionMap.cs (1)
376lambdas[lambdaInfo.SyntaxOffset] = KeyValuePairUtil.Create(lambdaInfo.LambdaId, lambdaInfo.ClosureOrdinal);
Emit\EditAndContinueMethodDebugInformation.cs (2)
296Debug.Assert(info.ClosureOrdinal >= LambdaDebugInfo.MinClosureOrdinal); 300writer.WriteCompressedInteger(info.ClosureOrdinal - LambdaDebugInfo.MinClosureOrdinal);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EditAndContinueTestUtilities.cs (1)
28debugInfo.Lambdas.Select(l => $"Offset={l.SyntaxOffset} Id={l.LambdaId.Generation}#{l.LambdaId.Ordinal} Closure={l.ClosureOrdinal}");