From dc7b4ce53d7a3675c3e70e4acdcf00f52235d718 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sun, 5 Jul 2020 13:27:40 -0700 Subject: [PATCH] Suppress CS0618 (Type or member is obsolete) --- src/TensorFlowNet.Benchmarks/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TensorFlowNet.Benchmarks/Program.cs b/src/TensorFlowNet.Benchmarks/Program.cs index 01af9a48..0c6749ec 100644 --- a/src/TensorFlowNet.Benchmarks/Program.cs +++ b/src/TensorFlowNet.Benchmarks/Program.cs @@ -20,7 +20,9 @@ namespace TensorFlowBenchmark } else { +#pragma warning disable CS0618 // Type or member is obsolete BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args, ManualConfig.Create(DefaultConfig.Instance).With(ConfigOptions.DisableOptimizationsValidator)); +#pragma warning restore CS0618 // Type or member is obsolete } Console.ReadLine();