Skip to content

Commit dc7b4ce

Browse files
sharwellOceania2018
authored andcommitted
Suppress CS0618 (Type or member is obsolete)
1 parent dd7060c commit dc7b4ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/TensorFlowNet.Benchmarks/Program.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ static void Main(string[] args)
2020
}
2121
else
2222
{
23+
#pragma warning disable CS0618 // Type or member is obsolete
2324
BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args, ManualConfig.Create(DefaultConfig.Instance).With(ConfigOptions.DisableOptimizationsValidator));
25+
#pragma warning restore CS0618 // Type or member is obsolete
2426
}
2527

2628
Console.ReadLine();

0 commit comments

Comments
 (0)