Skip to content

Commit 969d8a6

Browse files
committed
address PR comments (x1)
1 parent 4f98258 commit 969d8a6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

docs/list-of-diagnostics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
| __`ASP0022`__ | Route conflict detected between route handlers |
3131
| __`ASP0023`__ | Route conflict detected between controller actions |
3232
| __`ASP0024`__ | Route handler has multiple parameters with the [FromBody] attribute |
33+
| __`ASP0025`__ | Use AddAuthorizationBuilder |
34+
| __`ASP0026`__ | [Authorize] overridden by [AllowAnonymous] from farther away |
35+
| __`ASP0027`__ | Unnecessary public Program class declaration |
36+
| __`ASP0028`__ | Consider using IPAddress.IPv6Any instead of IPAddress.Any |
3337

3438
### API (`API1000-API1003`)
3539

src/Framework/AspNetCoreAnalyzers/src/Analyzers/DiagnosticDescriptors.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,5 @@ internal static class DiagnosticDescriptors
241241
"Usage",
242242
DiagnosticSeverity.Info,
243243
isEnabledByDefault: true,
244-
helpLinkUri: "https://aka.ms/aspnet/analyzers",
245-
customTags: WellKnownDiagnosticTags.Unnecessary);
244+
helpLinkUri: "https://aka.ms/aspnet/analyzers");
246245
}

src/Framework/AspNetCoreAnalyzers/src/Analyzers/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,6 @@
331331
<value>Consider using IPAddress.IPv6Any instead of IPAddress.Any</value>
332332
</data>
333333
<data name="Analyzer_KestrelShouldListenOnIPv6AnyInsteadOfIpAny_Message" xml:space="preserve">
334-
<value>If server does not specifically reject IPv6, IPAddress.IPv6Any is preferred over IPAddress.Any usage due to safety and performance reasons. See https://aka.ms/aspnetcore-warnings/ASP0028 for more details.</value>
334+
<value>If the server does not specifically reject IPv6, IPAddress.IPv6Any is preferred over IPAddress.Any usage for safety and performance reasons. See https://aka.ms/aspnetcore-warnings/ASP0028 for more details.</value>
335335
</data>
336336
</root>

0 commit comments

Comments
 (0)