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