1 write to GeneratorTimes
Microsoft.CodeAnalysis (1)
SourceGeneration\RunResults.cs (1)
201GeneratorTimes = generatorTimes;
14 references to GeneratorTimes
Microsoft.CodeAnalysis (3)
CommandLine\ReportAnalyzerUtil.cs (2)
114if (driverTimingInfo.GeneratorTimes.IsEmpty) 127var 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)
3401var generatorTiming = Assert.Single(timing.GeneratorTimes); 3431var generatorTiming = Assert.Single(timing.GeneratorTimes); 3470Assert.Equal(2, timing.GeneratorTimes.Length); 3472var timing1 = timing.GeneratorTimes[0]; 3477var timing2 = timing.GeneratorTimes[1]; 3511var generatorTiming = Assert.Single(timing.GeneratorTimes); 3523var generatorTiming2 = Assert.Single(timing2.GeneratorTimes);
SourceGeneration\SyntaxAwareGeneratorTests.cs (3)
2102Assert.Equal(2, timing.GeneratorTimes.Length); 2105var timing1 = timing.GeneratorTimes[0]; 2112var timing2 = timing.GeneratorTimes[1];
Microsoft.CodeAnalysis.Workspaces (1)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
53foreach (var generatorTime in driverTimingInfo.GeneratorTimes)