1 instantiation of GeneratorTimingInfo
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
209
var generatorTimings = _state.Generators.ZipAsArray(_state.GeneratorStates, (generator, generatorState) => new
GeneratorTimingInfo
(generator, generatorState.ElapsedTime));
12 references to GeneratorTimingInfo
Microsoft.CodeAnalysis (3)
CommandLine\ReportAnalyzerUtil.cs (1)
137
foreach (
var
timingInfo in generatorGroup.OrderByDescending(x => x.ElapsedTime))
SourceGeneration\RunResults.cs (2)
198
internal GeneratorDriverTimingInfo(TimeSpan elapsedTime, ImmutableArray<
GeneratorTimingInfo
> generatorTimes)
215
public ImmutableArray<
GeneratorTimingInfo
> GeneratorTimes { get; }
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
SourceGeneration\GeneratorDriverTests.cs (6)
3401
var
generatorTiming = Assert.Single(timing.GeneratorTimes);
3431
var
generatorTiming = Assert.Single(timing.GeneratorTimes);
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 (2)
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)