2 writes to _stateArray
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
178ArrayResizeAndVolatilePublish(ref _stateArray, newsize);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
173_stateArray = new MatchingState<TSet>[InitialDfaStateCapacity];
8 references to _stateArray
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (8)
38/// Maps state IDs to context-independent information for all states in <see cref="_stateArray"/>. 172Debug.Assert(_stateArray is not null); 174if (state.Id == _stateArray.Length) 177int newsize = _stateArray.Length * 2; 182_stateArray[state.Id] = state; 253MatchingState<TSet>? state = _stateArray[stateId]; 262Debug.Assert(_nfaCoreIdArray[nfaStateId] < _stateArray.Length); 276MatchingState<TSet>? targetState = _stateArray[_dfaDelta[offset]];