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