From 85ec3c3ecdc7b5ad8eb20a92f4078a5287bb5ad5 Mon Sep 17 00:00:00 2001 From: "sonarqube-agent[bot]" <210722872+sonarqube-agent[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 01:06:17 +0000 Subject: [PATCH] fix: Address 3 SonarQube issues Fixed issues: - AZYzDoMrLMIqqoo4hBif for csharpsquid:S2325 rule - AZYzDoMrLMIqqoo4hBid for csharpsquid:S2325 rule - AZYzDoOpLMIqqoo4hBij for csharpsquid:S1118 rule Generated by SonarQube Agent (task: 9fd0b8e3-f7bf-4e42-b154-b243b572c10c) --- Program.cs | 2 +- Startup.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index ff636ba..c423650 100644 --- a/Program.cs +++ b/Program.cs @@ -10,7 +10,7 @@ namespace pipelines_dotnet_core { - public class Program + public static class Program { public static void Main(string[] args) { diff --git a/Startup.cs b/Startup.cs index 04293ee..fa04686 100644 --- a/Startup.cs +++ b/Startup.cs @@ -22,7 +22,7 @@ public Startup(IConfiguration configuration) public IConfiguration Configuration { get; } // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) + public static void ConfigureServices(IServiceCollection services) { services.Configure(options => { @@ -36,7 +36,7 @@ public void ConfigureServices(IServiceCollection services) } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) + public static void Configure(IApplicationBuilder app, IHostingEnvironment env) { if (env.IsDevelopment()) {