3 references to UseRegexSourceGeneration
System.Text.RegularExpressions.Generator (3)
UpgradeToGeneratedRegexAnalyzer.cs (2)
53
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.
UseRegexSourceGeneration
);
80
context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.
UseRegexSourceGeneration
, location));
UpgradeToGeneratedRegexCodeFixer.cs (1)
37
public override ImmutableArray<string> FixableDiagnosticIds => [DiagnosticDescriptors.
UseRegexSourceGeneration
.Id];