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