Skip to content

Commit 5375828

Browse files
committed
Make internal
1 parent 89c2e1e commit 5375828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BenchmarkDotNet/Reports/Summary.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public Summary(
8080

8181
public int GetNumberOfExecutedBenchmarks() => Reports.Count(report => report.ExecuteResults.Any(result => result.FoundExecutable));
8282

83-
public bool IsMultipleRuntimes
84-
=> isMultipleRuntimes ??= BenchmarksCases.Length > 1 ? BenchmarksCases.Select(benchmark => benchmark.GetRuntime()).Distinct().Count() > 1 : false;
83+
internal bool IsMultipleRuntimes
84+
=> isMultipleRuntimes ??= BenchmarksCases.Length > 1 && BenchmarksCases.Select(benchmark => benchmark.GetRuntime()).Distinct().Count() > 1;
8585

8686
internal static Summary NothingToRun(string title, string resultsDirectoryPath, string logFilePath)
8787
=> new Summary(title, ImmutableArray<BenchmarkReport>.Empty, HostEnvironmentInfo.GetCurrent(), resultsDirectoryPath, logFilePath, TimeSpan.Zero, DefaultCultureInfo.Instance, ImmutableArray<ValidationError>.Empty, ImmutableArray<IColumnHidingRule>.Empty);

0 commit comments

Comments
 (0)