1 write to GeneratorTimes
Microsoft.CodeAnalysis (1)
SourceGeneration\RunResults.cs (1)
201
GeneratorTimes
= generatorTimes;
14 references to GeneratorTimes
Microsoft.CodeAnalysis (3)
CommandLine\ReportAnalyzerUtil.cs (2)
114
if (driverTimingInfo.
GeneratorTimes
.IsEmpty)
127
var generatorsByAssembly = driverTimingInfo.
GeneratorTimes
SourceGeneration\RunResults.cs (1)
208
/// This can be more than the sum of times in <see cref="
GeneratorTimes
"/> as it includes other costs such as setup.
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
SourceGeneration\GeneratorDriverTests.cs (7)
3401
var generatorTiming = Assert.Single(timing.
GeneratorTimes
);
3431
var generatorTiming = Assert.Single(timing.
GeneratorTimes
);
3470
Assert.Equal(2, timing.
GeneratorTimes
.Length);
3472
var timing1 = timing.
GeneratorTimes
[0];
3477
var timing2 = timing.
GeneratorTimes
[1];
3511
var generatorTiming = Assert.Single(timing.
GeneratorTimes
);
3523
var generatorTiming2 = Assert.Single(timing2.
GeneratorTimes
);
SourceGeneration\SyntaxAwareGeneratorTests.cs (3)
2102
Assert.Equal(2, timing.
GeneratorTimes
.Length);
2105
var timing1 = timing.
GeneratorTimes
[0];
2112
var timing2 = timing.
GeneratorTimes
[1];
Microsoft.CodeAnalysis.Workspaces (1)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
53
foreach (var generatorTime in driverTimingInfo.
GeneratorTimes
)