6 references to CharKindCount
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\Symbolic\CharKind.cs (1)
48internal static bool IsValidCharKind(uint charKind) => charKind < CharKindCount;
System\Text\RegularExpressions\Symbolic\MatchingState.cs (2)
107Debug.Assert(nextCharKind is >= 0 and < CharKind.CharKindCount); 162for (uint charKind = 0; charKind < CharKind.CharKindCount; charKind++)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
218int 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). 2259internal int EstimateNfaSize() => Times(_info.ContainsSomeAnchor ? CharKind.CharKindCount : 1, Sum(1, CountSingletons()));