6 references to CultureInvariant
System.Text.RegularExpressions.Generator (6)
RegexGenerator.Parser.cs (2)
162
if ((regexOptions & RegexOptions.
CultureInvariant
) != 0)
181
RegexOptions.
CultureInvariant
|
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCaseBehavior.cs (1)
27
/// specified <see cref="RegexOptions.
CultureInvariant
"/> or when the CurrentCulture is <see cref="CultureInfo.InvariantCulture"/>.
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (2)
87
(options & RegexOptions.
CultureInvariant
) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture;
140
CultureInfo culture = (options & RegexOptions.
CultureInvariant
) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture;
UpgradeToGeneratedRegexCodeFixer.cs (1)
303
if ((regexOptions & RegexOptions.IgnoreCase) != 0 && (regexOptions & RegexOptions.
CultureInvariant
) == 0)