14 references to ComputeMinLength
System.Text.RegularExpressions.Generator (14)
parent\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
51
MinRequiredLength = root.
ComputeMinLength
();
parent\src\System\Text\RegularExpressions\RegexNode.cs (11)
2866
return (int)Math.Min(int.MaxValue - 1, (long)M * Child(0).
ComputeMinLength
());
2873
int min = Child(0).
ComputeMinLength
();
2876
min = Math.Min(min, Child(i).
ComputeMinLength
());
2883
return Math.Min(Child(0).
ComputeMinLength
(), Child(1).
ComputeMinLength
());
2887
return Math.Min(Child(1).
ComputeMinLength
(), Child(2).
ComputeMinLength
());
2896
sum += Child(i).
ComputeMinLength
();
2906
return Child(0).
ComputeMinLength
();
3255
requiredLength = child.
ComputeMinLength
();
3266
requiredLength += child.
ComputeMinLength
();
RegexGenerator.Emitter.cs (2)
3861
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
4503
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;