14 references to ComputeMinLength
System.Text.RegularExpressions (14)
System\Text\RegularExpressions\RegexCompiler.cs (2)
4192
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
5103
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
51
MinRequiredLength = root.
ComputeMinLength
();
System\Text\RegularExpressions\RegexNode.cs (11)
2864
return (int)Math.Min(int.MaxValue - 1, (long)M * Child(0).
ComputeMinLength
());
2871
int min = Child(0).
ComputeMinLength
();
2874
min = Math.Min(min, Child(i).
ComputeMinLength
());
2881
return Math.Min(Child(0).
ComputeMinLength
(), Child(1).
ComputeMinLength
());
2885
return Math.Min(Child(1).
ComputeMinLength
(), Child(2).
ComputeMinLength
());
2894
sum += Child(i).
ComputeMinLength
();
2904
return Child(0).
ComputeMinLength
();
3253
requiredLength = child.
ComputeMinLength
();
3264
requiredLength += child.
ComputeMinLength
();