2 writes to _stateArray
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
267ArrayResizeAndVolatilePublish(ref _stateArray, newsize);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
191_stateArray = new MatchingState<TSet>[InitialDfaStateCapacity];
11 references to _stateArray
System.Text.RegularExpressions (11)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (8)
39/// Maps state IDs to context-independent information for all states in <see cref="_stateArray"/>. 261Debug.Assert(_stateArray is not null); 263if (state.Id == _stateArray.Length) 266int newsize = _stateArray.Length * 2; 272_stateArray[state.Id] = state; 344MatchingState<TSet>? state = _stateArray[stateId]; 353Debug.Assert(_nfaCoreIdArray[nfaStateId] < _stateArray.Length); 365MatchingState<TSet>? targetState = _stateArray[_dfaDelta[offset]];
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (3)
641if (_stateArray[currentStateIdRef]!.IsNullableFor(_positionKinds[0])) 667if (_stateArray[currStateId]!.IsNullableFor(_positionKinds[0])) 707_stateArray[currStateId]!.IsNullableFor(_positionKinds[0]))