1 write to Generation
Microsoft.CodeAnalysis (1)
CodeGen\DebugId.cs (1)
39
this.
Generation
= generation;
17 references to Generation
Microsoft.CodeAnalysis (6)
CodeGen\DebugId.cs (4)
43
=> Ordinal.CompareTo(other.Ordinal) is int result and not 0 ? result :
Generation
.CompareTo(other.
Generation
);
46
=> (
Generation
> 0) ? $"{Ordinal}{CommonGeneratedNames.GenerationSeparator}{
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)
1709
topLevelMethodId.
Generation
,
1711
lambdaId.
Generation
);
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (3)
84
return GeneratedNames.MakeStaticLambdaDisplayClassName(methodId.Ordinal, methodId.
Generation
);
88
return GeneratedNames.MakeLambdaDisplayClassName(methodId.Ordinal, methodId.
Generation
, closureId.Ordinal, closureId.
Generation
);
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (4)
181
topLevelMethodId.
Generation
,
183
lambdaId.
Generation
);
194
topLevelMethodId.
Generation
,
196
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}");