6 references to OptionsArgumentName
System.Text.RegularExpressions.Generator (6)
UpgradeToGeneratedRegexAnalyzer.cs (1)
204
if (argumentName.Equals(
OptionsArgumentName
, StringComparison.OrdinalIgnoreCase))
UpgradeToGeneratedRegexCodeFixer.cs (5)
166
.Where(arg => arg.Parameter?.Name is not (UpgradeToGeneratedRegexAnalyzer.
OptionsArgumentName
or UpgradeToGeneratedRegexAnalyzer.PatternArgumentName))
180
SyntaxNode? regexOptionsValue = GetNode(operationArguments, generator, UpgradeToGeneratedRegexAnalyzer.
OptionsArgumentName
);
268
IArgumentOperation? optionsArgument = arguments.SingleOrDefault(arg => arg.Parameter?.Name == UpgradeToGeneratedRegexAnalyzer.
OptionsArgumentName
);
284
Debug.Assert(parameterName is UpgradeToGeneratedRegexAnalyzer.
OptionsArgumentName
or UpgradeToGeneratedRegexAnalyzer.PatternArgumentName);
285
if (parameterName == UpgradeToGeneratedRegexAnalyzer.
OptionsArgumentName
)