1 write to Generation
Microsoft.CodeAnalysis (1)
CodeGen\DebugId.cs (1)
39
this.
Generation
= generation;
25 references to Generation
Microsoft.CodeAnalysis (7)
CodeGen\DebugId.cs (5)
45
&& this.
Generation
== other.
Generation
;
55
return Hash.Combine(this.Ordinal, this.
Generation
);
60
return (
Generation
> 0) ? $"{Ordinal}#{
Generation
}" : Ordinal.ToString();
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (1)
41
Debug.Assert(methodId.
Generation
>= 0);
Emit\EditAndContinueMethodDebugInformation.cs (1)
297
Debug.Assert(info.LambdaId.
Generation
== 0);
Microsoft.CodeAnalysis.CSharp (9)
Lowering\ClosureConversion\ClosureConversion.cs (2)
1678
topLevelMethodId.
Generation
,
1680
lambdaId.
Generation
);
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (3)
76
return GeneratedNames.MakeStaticLambdaDisplayClassName(methodId.Ordinal, methodId.
Generation
);
80
return GeneratedNames.MakeLambdaDisplayClassName(methodId.Ordinal, methodId.
Generation
, closureId.Ordinal, closureId.
Generation
);
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (4)
184
topLevelMethodId.
Generation
,
186
lambdaId.
Generation
);
197
topLevelMethodId.
Generation
,
199
lambdaId.
Generation
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
EditAndContinueTestUtilities.cs (2)
28
debugInfo.Lambdas.Select(l => $"Offset={l.SyntaxOffset} Id={l.LambdaId.
Generation
}#{l.LambdaId.Ordinal} Closure={l.ClosureOrdinal}");
32
debugInfo.Closures.Select(c => $"Offset={c.SyntaxOffset} Id={c.ClosureId.
Generation
}#{c.ClosureId.Ordinal}");
Microsoft.CodeAnalysis.VisualBasic (7)
Lowering\LambdaRewriter\LambdaFrame.vb (3)
90
Return GeneratedNames.MakeStaticLambdaDisplayClassName(methodId.Ordinal, methodId.
Generation
)
94
Return GeneratedNames.MakeLambdaDisplayClassName(methodId.Ordinal, methodId.
Generation
, closureId.Ordinal, closureId.
Generation
, isDelegateRelaxation)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
1178
topLevelMethodId.
Generation
,
1180
lambdaId.
Generation
,
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (2)
101
topLevelMethodId.
Generation
,
103
lambdaId.
Generation
,