14 references to ComputeMinLength
System.Text.RegularExpressions.Generator (14)
RegexGenerator.Emitter.cs (2)
3819
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
4455
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
51
MinRequiredLength = root.
ComputeMinLength
();
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (11)
2731
return (int)Math.Min(int.MaxValue - 1, (long)M * Child(0).
ComputeMinLength
());
2738
int min = Child(0).
ComputeMinLength
();
2741
min = Math.Min(min, Child(i).
ComputeMinLength
());
2748
return Math.Min(Child(0).
ComputeMinLength
(), Child(1).
ComputeMinLength
());
2752
return Math.Min(Child(1).
ComputeMinLength
(), Child(2).
ComputeMinLength
());
2761
sum += Child(i).
ComputeMinLength
();
2771
return Child(0).
ComputeMinLength
();
3077
requiredLength = child.
ComputeMinLength
();
3088
requiredLength += child.
ComputeMinLength
();