From b7c66932663b9f18bcba50b4e68497eff1684915 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sat, 10 Jun 2023 13:22:11 +0200 Subject: [PATCH] Program class fixed. Startup object defined. --- Recyclable.Collections.Benchmarks/Program.cs | 4 ++-- .../Recyclable.Collections.Benchmarks.csproj | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Recyclable.Collections.Benchmarks/Program.cs b/Recyclable.Collections.Benchmarks/Program.cs index d74f842..644ade4 100644 --- a/Recyclable.Collections.Benchmarks/Program.cs +++ b/Recyclable.Collections.Benchmarks/Program.cs @@ -3,7 +3,7 @@ using BenchmarkDotNet.Running; using Recyclable.Collections.Benchmarks; using Recyclable.Collections.Benchmarks.POC; -internal class Program +public static class Program { static IConfig BenchmarkConfig { get; } = ManualConfig.Create(DefaultConfig.Instance).WithOptions(ConfigOptions.DisableOptimizationsValidator | ConfigOptions.JoinSummary); @@ -49,7 +49,7 @@ internal class Program //ArraySizeLimitPocBenchmarks>(BenchmarkConfig); } - private static void Main(string[] args) + static void Main(string[] args) { RunRecyclableCollectionsBenchmarks(); // RunPocBenchmarks(); diff --git a/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj b/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj index 59e656d..c409138 100644 --- a/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj +++ b/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj @@ -7,6 +7,7 @@ enable enable AnyCPU;x64 + Program