3 instantiations of Statistic
AnalyzerRunner (3)
Program.cs (2)
198
var sum = sums.Aggregate(new
Statistic
(0, 0, 0), (currentResult, value) => currentResult + value);
216
return new
Statistic
(numberOfNodes, numberOfTokens, numberOfTrivia);
Statistic.cs (1)
26
return new
Statistic
(
9 references to Statistic
AnalyzerRunner (9)
Program.cs (6)
181
var
statistics = GetSolutionStatistics(projects, cancellationToken);
188
private static
Statistic
GetSolutionStatistics(IEnumerable<Project> projects, CancellationToken cancellationToken)
190
var sums = new ConcurrentBag<
Statistic
>();
194
var
documentStatistics = GetSolutionStatisticsAsync(document, cancellationToken).ConfigureAwait(false).GetAwaiter().GetResult();
198
var
sum = sums.Aggregate(new Statistic(0, 0, 0), (currentResult, value) => currentResult + value);
204
private static async Task<
Statistic
> GetSolutionStatisticsAsync(Document document, CancellationToken cancellationToken)
Statistic.cs (3)
24
public static
Statistic
operator +(
Statistic
statistic1,
Statistic
statistic2)