Skip to content

Commit 0e12347

Browse files
authored
Fix regex analyzers category to be "Performance" rather than "GeneratedRegex" (#80919)
1 parent 225ae77 commit 0e12347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Text.RegularExpressions/gen/DiagnosticDescriptors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace System.Text.RegularExpressions.Generator
88
{
99
internal static class DiagnosticDescriptors
1010
{
11-
private const string Category = "GeneratedRegex";
11+
private const string Category = "Performance";
1212

1313
public static DiagnosticDescriptor InvalidGeneratedRegexAttribute { get; } = new DiagnosticDescriptor(
1414
id: "SYSLIB1040",

0 commit comments

Comments
 (0)