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)
125
Debug.Assert(nextCharKind is >= 0 and < CharKind.
CharKindCount
);
159
for (uint charKind = 0; charKind < CharKind.
CharKindCount
; charKind++)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
219
int statesCount = patternInfo.ContainsSomeAnchor ? CharKind.
CharKindCount
: 1;
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (2)
2434
/// is #(this) if there are no anchors else <see cref="CharKind.
CharKindCount
"/>x#(this).
2437
internal int EstimateNfaSize() => Times(_info.ContainsSomeAnchor ? CharKind.
CharKindCount
: 1, Sum(1, CountSingletons()));