From 0e12347861940389153ee2233ff398d551f86711 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Fri, 20 Jan 2023 12:04:01 -0500 Subject: [PATCH] Fix regex analyzers category to be "Performance" rather than "GeneratedRegex" (#80919) --- .../System.Text.RegularExpressions/gen/DiagnosticDescriptors.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Text.RegularExpressions/gen/DiagnosticDescriptors.cs b/src/libraries/System.Text.RegularExpressions/gen/DiagnosticDescriptors.cs index 1a18e364cbf84..469739d571b4a 100644 --- a/src/libraries/System.Text.RegularExpressions/gen/DiagnosticDescriptors.cs +++ b/src/libraries/System.Text.RegularExpressions/gen/DiagnosticDescriptors.cs @@ -8,7 +8,7 @@ namespace System.Text.RegularExpressions.Generator { internal static class DiagnosticDescriptors { - private const string Category = "GeneratedRegex"; + private const string Category = "Performance"; public static DiagnosticDescriptor InvalidGeneratedRegexAttribute { get; } = new DiagnosticDescriptor( id: "SYSLIB1040",