diff --git a/Benchmarks/Program.cs b/Benchmarks/Program.cs index 299cefe..d25b2b7 100644 --- a/Benchmarks/Program.cs +++ b/Benchmarks/Program.cs @@ -1,9 +1,4 @@ -namespace Benchmarks; - -using System.Reflection; +using System.Reflection; using BenchmarkDotNet.Running; -internal class Program -{ - public static void Main(string[] args) => BenchmarkRunner.Run(Assembly.GetExecutingAssembly()); -} +BenchmarkRunner.Run(Assembly.GetExecutingAssembly()); diff --git a/Continuity.sln b/Continuity.sln index 6f2b4f3..87391ca 100644 --- a/Continuity.sln +++ b/Continuity.sln @@ -4,7 +4,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csp EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Benchmarks", "Benchmarks\Benchmarks.csproj", "{7D560FA1-A61C-4B67-8300-835CA5814621}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{046A3B46-FC08-4B08-A52A-1DC5D426120D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "build", "build\build.csproj", "{046A3B46-FC08-4B08-A52A-1DC5D426120D}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C1303691-99F6-41CE-BAD3-2CA112D75DBF}" ProjectSection(SolutionItems) = preProject diff --git a/build/Configuration.cs b/build/Configuration.cs index 9c08b1a..29edf2b 100644 --- a/build/Configuration.cs +++ b/build/Configuration.cs @@ -6,8 +6,8 @@ using Nuke.Common.Tooling; [TypeConverter(typeof(TypeConverter))] public class Configuration : Enumeration { - public static Configuration Debug = new Configuration { Value = nameof(Debug) }; - public static Configuration Release = new Configuration { Value = nameof(Release) }; + public static Configuration Debug { get; } = new() { Value = nameof(Debug) }; + public static Configuration Release { get; } = new() { Value = nameof(Release) }; public static implicit operator string(Configuration configuration) { diff --git a/build/_build.csproj b/build/build.csproj similarity index 100% rename from build/_build.csproj rename to build/build.csproj diff --git a/build/_build.csproj.DotSettings b/build/build.csproj.DotSettings similarity index 100% rename from build/_build.csproj.DotSettings rename to build/build.csproj.DotSettings