2 references to FindPrefix
System.Text.RegularExpressions.Generator (2)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
69string? prefix = RegexPrefixAnalyzer.FindPrefix(root);
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
1154if (FindPrefix(nextChild) is { Length: >= 1 } prefix)