9 references to ComputeMaxLength
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\RegexCompiler.cs (1)
514_regexTree.Root.ComputeMaxLength() == _regexTree.FindOptimizations.MinRequiredLength)
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
84root.ComputeMaxLength() is int maxLength)
System\Text\RegularExpressions\RegexNode.cs (7)
2961if (Child(0).ComputeMaxLength() is int childMaxLength) 2977if (Child(0).ComputeMaxLength() is not int maxLength) 2984if (Child(i).ComputeMaxLength() is not int next) 3000return Child(i).ComputeMaxLength() is int yes && Child(i + 1).ComputeMaxLength() is int no ? 3012if (Child(i).ComputeMaxLength() is not int length) 3031return Child(0).ComputeMaxLength();