14 references to ComputeMinLength
System.Text.RegularExpressions (14)
System\Text\RegularExpressions\RegexCompiler.cs (2)
4128bool iterationMayBeEmpty = child.ComputeMinLength() == 0; 5039bool iterationMayBeEmpty = child.ComputeMinLength() == 0;
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
51MinRequiredLength = root.ComputeMinLength();
System\Text\RegularExpressions\RegexNode.cs (11)
2730return (int)Math.Min(int.MaxValue - 1, (long)M * Child(0).ComputeMinLength()); 2737int min = Child(0).ComputeMinLength(); 2740min = Math.Min(min, Child(i).ComputeMinLength()); 2747return Math.Min(Child(0).ComputeMinLength(), Child(1).ComputeMinLength()); 2751return Math.Min(Child(1).ComputeMinLength(), Child(2).ComputeMinLength()); 2760sum += Child(i).ComputeMinLength(); 2770return Child(0).ComputeMinLength(); 3076requiredLength = child.ComputeMinLength(); 3087requiredLength += child.ComputeMinLength();