14 references to ComputeMinLength
System.Text.RegularExpressions (14)
System\Text\RegularExpressions\RegexCompiler.cs (2)
3884bool iterationMayBeEmpty = child.ComputeMinLength() == 0; 4795bool iterationMayBeEmpty = child.ComputeMinLength() == 0;
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
51MinRequiredLength = root.ComputeMinLength();
System\Text\RegularExpressions\RegexNode.cs (11)
2613return (int)Math.Min(int.MaxValue - 1, (long)M * Child(0).ComputeMinLength()); 2620int min = Child(0).ComputeMinLength(); 2623min = Math.Min(min, Child(i).ComputeMinLength()); 2630return Math.Min(Child(0).ComputeMinLength(), Child(1).ComputeMinLength()); 2634return Math.Min(Child(1).ComputeMinLength(), Child(2).ComputeMinLength()); 2643sum += Child(i).ComputeMinLength(); 2653return Child(0).ComputeMinLength(); 2959requiredLength = child.ComputeMinLength(); 2970requiredLength += child.ComputeMinLength();