2 writes to NfaStateSet
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (2)
1352nfaState.NfaStateSet = nextStates; 1449nfaState.NfaStateSet = sourceStates;
13 references to NfaStateSet
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (10)
813while (state.NfaState!.NfaStateSet.Count != 0) // Dead end here means the set is empty 1207/// <summary>Scratch set to swap with <see cref="NfaStateSet"/> on each transition.</summary> 1210/// states computed from the current states in <see cref="NfaStateSet"/>, and then the sets 1220NfaStateSet.Clear(); 1224matcher.ForEachNfaState(dfaMatchingState.Node, dfaMatchingState.PrevCharKind, NfaStateSet, 1316foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1330foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1351SparseIntMap<int> sourceStates = nfaState.NfaStateSet; 1429foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1447SparseIntMap<int> nextStates = nfaState.NfaStateSet;
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (3)
82Debug.Assert(states.NfaStateSet.Count > 0); 139if (states.NfaStateSet.Count > 0) 154if (states.NfaStateSet.Count == 0 || inputSoFar.Length > SampleMatchesMaxInputLength)