From fddf7a37d7ee345d9eef8c398a49d59ab6d25a37 Mon Sep 17 00:00:00 2001 From: Travis Parks Date: Mon, 5 Jul 2021 21:17:18 -0400 Subject: [PATCH] Benchmark warning cleanup --- FlatFiles.Benchmark/Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FlatFiles.Benchmark/Program.cs b/FlatFiles.Benchmark/Program.cs index 7bde43f..db8eee3 100644 --- a/FlatFiles.Benchmark/Program.cs +++ b/FlatFiles.Benchmark/Program.cs @@ -1,5 +1,6 @@ using System; using System.Diagnostics; +using System.Diagnostics.CodeAnalysis; using System.Linq; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Configs; @@ -9,7 +10,7 @@ namespace FlatFiles.Benchmark { class Program { - static void Main(string[] args) + static void Main() { RunBenchmarks(); @@ -37,6 +38,7 @@ private static void RunBenchmarks() Console.In.ReadLine(); } + [SuppressMessage("CodeQuality", "IDE0051")] private static void RunPerformanceMonitor() { var tester = new AsyncVsSyncTest();