8 references to CountSingletons
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (8)
2259
internal int EstimateNfaSize() => Times(_info.ContainsSomeAnchor ? CharKind.CharKindCount : 1, Sum(1,
CountSingletons
()));
2277
return StackHelper.CallOnEmptyStack(
CountSingletons
);
2289
return Sum(_left.
CountSingletons
(), _right.
CountSingletons
());
2299
return _left.
CountSingletons
();
2308
return Times(_lower + 1, _left.
CountSingletons
());
2314
return Times(_upper, _left.
CountSingletons
());
2319
return _left.
CountSingletons
();