You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<value>Using public partial class Program { } to make generated Program class public is no longer required. See https://aka.ms/aspnetcore-warnings/ASP0027 for more details.</value>
325
+
<value>Using public partial class Program { } to make the generated Program class public is no longer required in ASP.NET Core apps. See https://aka.ms/aspnetcore-warnings/ASP0027 for more details.</value>
Copy file name to clipboardExpand all lines: src/Framework/AspNetCoreAnalyzers/src/Analyzers/WebApplicationBuilder/PublicPartialProgramClassAnalyzer.cs
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
4
usingSystem.Collections.Immutable;
5
+
usingSystem.Linq;
5
6
usingMicrosoft.CodeAnalysis;
6
7
usingMicrosoft.CodeAnalysis.CSharp;
7
8
usingMicrosoft.CodeAnalysis.CSharp.Syntax;
@@ -23,7 +24,9 @@ public override void Initialize(AnalysisContext context)
0 commit comments