13 references to RegexCaseBehavior
System.Text.RegularExpressions.Generator (13)
parent\src\System\Text\RegularExpressions\RegexCaseEquivalences.cs (10)
31public static bool TryFindCaseEquivalencesForCharWithIBehavior(char c, CultureInfo culture, scoped ref RegexCaseBehavior mappingBehavior, out ReadOnlySpan<char> equivalences) 37if (mappingBehavior == RegexCaseBehavior.NotSet) 43'i' or 'I' when mappingBehavior is RegexCaseBehavior.Invariant => "Ii".AsSpan(), 46'i' or 'I' or '\u0130' when mappingBehavior is RegexCaseBehavior.NonTurkish => "Ii\u0130".AsSpan(), 49'I' or '\u0131' when mappingBehavior is RegexCaseBehavior.Turkish => "I\u0131".AsSpan(), 50'i' or '\u0130' when mappingBehavior is RegexCaseBehavior.Turkish => "i\u0130".AsSpan(), 69public static RegexCaseBehavior GetRegexBehavior(CultureInfo culture) 72culture.Name.Length == 0 ? RegexCaseBehavior.Invariant : 73IsTurkishOrAzeri(culture.Name) ? RegexCaseBehavior.Turkish : 74RegexCaseBehavior.NonTurkish;
parent\src\System\Text\RegularExpressions\RegexCharClass.cs (1)
191private RegexCaseBehavior _caseBehavior;
parent\src\System\Text\RegularExpressions\RegexNode.cs (1)
110public static RegexNode CreateOneWithCaseConversion(char ch, RegexOptions options, CultureInfo? culture, ref RegexCaseBehavior caseBehavior)
parent\src\System\Text\RegularExpressions\RegexParser.cs (1)
33private RegexCaseBehavior _caseBehavior;