4 references to UseRegexSourceGeneration
System.Text.RegularExpressions.Generator (4)
UpgradeToGeneratedRegexAnalyzer.cs (3)
30
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.
UseRegexSourceGeneration
);
113
context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.
UseRegexSourceGeneration
, syntaxNodeForDiagnostic.GetLocation()));
145
context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.
UseRegexSourceGeneration
, syntaxNodeForDiagnostic.GetLocation()));
UpgradeToGeneratedRegexCodeFixer.cs (1)
35
public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(DiagnosticDescriptors.
UseRegexSourceGeneration
.Id);