1 write to ElapsedTime
Microsoft.CodeAnalysis (1)
SourceGeneration\RunResults.cs (1)
200
ElapsedTime
= elapsedTime;
16 references to ElapsedTime
Microsoft.CodeAnalysis (1)
CommandLine\ReportAnalyzerUtil.cs (1)
119
var totalTime = driverTimingInfo.
ElapsedTime
.TotalSeconds;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
SourceGeneration\GeneratorDriverTests.cs (12)
3399
Assert.Equal(TimeSpan.Zero, timing.
ElapsedTime
);
3429
Assert.NotEqual(TimeSpan.Zero, timing.
ElapsedTime
);
3434
Assert.True(timing.
ElapsedTime
>= generatorTiming.ElapsedTime);
3469
Assert.NotEqual(TimeSpan.Zero, timing.
ElapsedTime
);
3475
Assert.True(timing.
ElapsedTime
>= timing1.ElapsedTime);
3480
Assert.True(timing.
ElapsedTime
>= timing2.ElapsedTime);
3482
Assert.True(timing.
ElapsedTime
>= timing1.ElapsedTime + timing2.ElapsedTime);
3509
Assert.NotEqual(TimeSpan.Zero, timing.
ElapsedTime
);
3514
Assert.True(timing.
ElapsedTime
>= generatorTiming.ElapsedTime);
3520
Assert.NotEqual(TimeSpan.Zero, timing2.
ElapsedTime
);
3521
Assert.True(timing.
ElapsedTime
> timing2.
ElapsedTime
);
SourceGeneration\SyntaxAwareGeneratorTests.cs (3)
2101
Assert.NotEqual(TimeSpan.Zero, timing.
ElapsedTime
);
2108
Assert.True(timing.
ElapsedTime
>= timing1.ElapsedTime);
2115
Assert.True(timing.
ElapsedTime
>= timing2.ElapsedTime);