Skip to content

Commit 5bf36a8

Browse files
committed
Fix IDE0210: Convert to top-level statements
1 parent 3730a90 commit 5bf36a8

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

benchmarks/Program.cs

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,12 @@
33
using Benchmarks.QueryString;
44
using Benchmarks.Serialization;
55

6-
namespace Benchmarks;
6+
var switcher = new BenchmarkSwitcher([
7+
typeof(ResourceDeserializationBenchmarks),
8+
typeof(OperationsDeserializationBenchmarks),
9+
typeof(ResourceSerializationBenchmarks),
10+
typeof(OperationsSerializationBenchmarks),
11+
typeof(QueryStringParserBenchmarks)
12+
]);
713

8-
internal static class Program
9-
{
10-
private static void Main(string[] args)
11-
{
12-
var switcher = new BenchmarkSwitcher([
13-
typeof(ResourceDeserializationBenchmarks),
14-
typeof(OperationsDeserializationBenchmarks),
15-
typeof(ResourceSerializationBenchmarks),
16-
typeof(OperationsSerializationBenchmarks),
17-
typeof(QueryStringParserBenchmarks)
18-
]);
19-
20-
switcher.Run(args);
21-
}
22-
}
14+
switcher.Run(args);

0 commit comments

Comments
 (0)