10 references to GetSetChars
System.Text.RegularExpressions.Generator (10)
RegexGenerator.Emitter.cs (3)
1896int numChars = RegexCharClass.GetSetChars(startingLiteralNode.Str!, setChars); 5107setChars = setChars.Slice(0, RegexCharClass.GetSetChars(node.Str, setChars)); 5279switch (RegexCharClass.GetSetChars(charClass, setChars))
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCharClass.cs (1)
1032GetSetChars(set, twoChars) == 2 &&
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
132(scratchCount = RegexCharClass.GetSetChars(charClass, scratch)) > 0)
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (2)
1611(numChars = RegexCharClass.GetSetChars(startingLiteralNode.Str!, setChars)) == 0) 1693if ((numChars = RegexCharClass.GetSetChars(node.Str!, setChars)) != 0)
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (3)
158int charCount = RegexCharClass.GetSetChars(node.Str!, setChars); 566int count = RegexCharClass.GetSetChars(result.Set, scratch); 1236chars = chars.Slice(0, RegexCharClass.GetSetChars(nextChild.Str!, chars));