2 writes to _stateArray
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
267
ArrayResizeAndVolatilePublish(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
"/>.
261
Debug.Assert(
_stateArray
is not null);
263
if (state.Id ==
_stateArray
.Length)
266
int newsize =
_stateArray
.Length * 2;
272
_stateArray
[state.Id] = state;
344
MatchingState<TSet>? state =
_stateArray
[stateId];
353
Debug.Assert(_nfaCoreIdArray[nfaStateId] <
_stateArray
.Length);
365
MatchingState<TSet>? targetState =
_stateArray
[_dfaDelta[offset]];
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (3)
641
if (
_stateArray
[currentStateIdRef]!.IsNullableFor(_positionKinds[0]))
667
if (
_stateArray
[currStateId]!.IsNullableFor(_positionKinds[0]))
707
_stateArray
[currStateId]!.IsNullableFor(_positionKinds[0]))