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