2 writes to _stateArray
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
266ArrayResizeAndVolatilePublish(ref _stateArray, newsize);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
190_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"/>. 260Debug.Assert(_stateArray is not null); 262if (state.Id == _stateArray.Length) 265int newsize = _stateArray.Length * 2; 271_stateArray[state.Id] = state; 343MatchingState<TSet>? state = _stateArray[stateId]; 352Debug.Assert(_nfaCoreIdArray[nfaStateId] < _stateArray.Length); 364MatchingState<TSet>? targetState = _stateArray[_dfaDelta[offset]];
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (3)
638if (_stateArray[currentStateIdRef]!.IsNullableFor(_positionKinds[0])) 664if (_stateArray[currStateId]!.IsNullableFor(_positionKinds[0])) 704_stateArray[currStateId]!.IsNullableFor(_positionKinds[0]))