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