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