14 references to ComputeMinLength
System.Text.RegularExpressions (14)
System\Text\RegularExpressions\RegexCompiler.cs (2)
4192
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
5104
bool iterationMayBeEmpty = child.
ComputeMinLength
() == 0;
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
51
MinRequiredLength = root.
ComputeMinLength
();
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
();