2 writes to NfaState
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (2)
1235NfaState = null; 1242NfaState = nfaState;
13 references to NfaState
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (13)
501if (currentState.NfaState is null) 576if (currentState.NfaState is null) 811while (state.NfaState!.NfaStateSet.Count != 0) // Dead end here means the set is empty 873bool done = currentState.NfaState is not null ? 1314foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1328foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1343Debug.Assert(state.NfaState is not null, $"Expected non-null {nameof(state.NfaState)}."); 1345NfaMatchingState nfaState = state.NfaState!; 1427foreach (ref KeyValuePair<int, int> nfaState in CollectionsMarshal.AsSpan(state.NfaState!.NfaStateSet.Values)) 1440Debug.Assert(state.NfaState is not null, $"Expected non-null {nameof(state.NfaState)}."); 1442NfaMatchingState nfaState = state.NfaState!;