5 references to PatternArgumentName
System.Text.RegularExpressions.Generator (5)
UpgradeToGeneratedRegexAnalyzer.cs (1)
181
if (argumentName.Equals(
PatternArgumentName
, StringComparison.OrdinalIgnoreCase))
UpgradeToGeneratedRegexCodeFixer.cs (4)
166
.Where(arg => arg.Parameter?.Name is not (UpgradeToGeneratedRegexAnalyzer.OptionsArgumentName or UpgradeToGeneratedRegexAnalyzer.
PatternArgumentName
))
179
SyntaxNode? patternValue = GetNode(operationArguments, generator, UpgradeToGeneratedRegexAnalyzer.
PatternArgumentName
);
257
IArgumentOperation? patternArgument = arguments.SingleOrDefault(arg => arg.Parameter?.Name == UpgradeToGeneratedRegexAnalyzer.
PatternArgumentName
);
284
Debug.Assert(parameterName is UpgradeToGeneratedRegexAnalyzer.OptionsArgumentName or UpgradeToGeneratedRegexAnalyzer.
PatternArgumentName
);