9 references to ComputeMaxLength
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\RegexCompiler.cs (1)
513
_regexTree.Root.
ComputeMaxLength
() == _regexTree.FindOptimizations.MinRequiredLength)
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
84
root.
ComputeMaxLength
() is int maxLength)
System\Text\RegularExpressions\RegexNode.cs (7)
2716
if (Child(0).
ComputeMaxLength
() is int childMaxLength)
2732
if (Child(0).
ComputeMaxLength
() is not int maxLength)
2739
if (Child(i).
ComputeMaxLength
() is not int next)
2755
return Child(i).
ComputeMaxLength
() is int yes && Child(i + 1).
ComputeMaxLength
() is int no ?
2767
if (Child(i).
ComputeMaxLength
() is not int length)
2786
return Child(0).
ComputeMaxLength
();