7 references to _stateCache
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (3)
254
if (!
_stateCache
.TryGetValue(key, out MatchingState<TSet>? state))
257
_stateCache
.Add(key, state); // Add to cache first to make 1 the first state ID
258
state.Id =
_stateCache
.Count;
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (4)
31
foreach (MatchingState<TSet> state in
_stateCache
.Values)
76
foreach (MatchingState<TSet> state in
_stateCache
.Values)
147
foreach (MatchingState<TSet> source in matcher.
_stateCache
.Values)
185
sb.Append($"States = {matcher.
_stateCache
.Count} ");