6 references to CharKindCount
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\Symbolic\CharKind.cs (1)
48
internal static bool IsValidCharKind(uint charKind) => charKind <
CharKindCount
;
System\Text\RegularExpressions\Symbolic\MatchingState.cs (2)
107
Debug.Assert(nextCharKind is >= 0 and < CharKind.
CharKindCount
);
162
for (uint charKind = 0; charKind < CharKind.
CharKindCount
; charKind++)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
218
int statesCount = _pattern._info.ContainsSomeAnchor ? CharKind.
CharKindCount
: 1;
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (2)
2256
/// is #(this) if there are no anchors else <see cref="CharKind.
CharKindCount
"/>x#(this).
2259
internal int EstimateNfaSize() => Times(_info.ContainsSomeAnchor ? CharKind.
CharKindCount
: 1, Sum(1, CountSingletons()));