2 writes to NfaState
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (2)
1237NfaState = null; 1244NfaState = nfaState;
13 references to NfaState
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (13)
503if (currentState.NfaState is null) 578if (currentState.NfaState is null) 813while (state.NfaState!.NfaStateSet.Count != 0) // Dead end here means the set is empty 875bool done = currentState.NfaState is not null ? 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)) 1345Debug.Assert(state.NfaState is not null, $"Expected non-null {nameof(state.NfaState)}."); 1347NfaMatchingState nfaState = state.NfaState!; 1429foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1442Debug.Assert(state.NfaState is not null, $"Expected non-null {nameof(state.NfaState)}."); 1444NfaMatchingState nfaState = state.NfaState!;