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)
2868
return (int)Math.Min(int.MaxValue - 1, (long)M * Child(0).
ComputeMinLength
());
2875
int min = Child(0).
ComputeMinLength
();
2878
min = Math.Min(min, Child(i).
ComputeMinLength
());
2885
return Math.Min(Child(0).
ComputeMinLength
(), Child(1).
ComputeMinLength
());
2889
return Math.Min(Child(1).
ComputeMinLength
(), Child(2).
ComputeMinLength
());
2898
sum += Child(i).
ComputeMinLength
();
2908
return Child(0).
ComputeMinLength
();
3257
requiredLength = child.
ComputeMinLength
();
3268
requiredLength += child.
ComputeMinLength
();
RegexGenerator.Emitter.cs (2)
3861
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
4503
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;