9 references to ComputeMaxLength
System.Text.RegularExpressions.Generator (9)
parent\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
84
root.
ComputeMaxLength
() is int maxLength)
parent\src\System\Text\RegularExpressions\RegexNode.cs (7)
2974
if (Child(0).
ComputeMaxLength
() is int childMaxLength)
2990
if (Child(0).
ComputeMaxLength
() is not int maxLength)
2997
if (Child(i).
ComputeMaxLength
() is not int next)
3013
return Child(i).
ComputeMaxLength
() is int yes && Child(i + 1).
ComputeMaxLength
() is int no ?
3025
if (Child(i).
ComputeMaxLength
() is not int length)
3044
return Child(0).
ComputeMaxLength
();
RegexGenerator.Emitter.cs (1)
961
regexTree.Root.
ComputeMaxLength
() == regexTree.FindOptimizations.MinRequiredLength)