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