2 writes to _stack
System.Text.Json (2)
System\Text\Json\Serialization\ReadStack.cs (2)
94_stack = new ReadStackFrame[4]; 98Array.Resize(ref _stack, 2 * _stack.Length);
14 references to _stack
System.Text.Json (14)
System\Text\Json\Serialization\ReadStack.cs (14)
30Debug.Assert(_stack is not null); 31return ref _stack[_count - 2]; 92if (_stack is null) 96else if (_count - 1 == _stack.Length) 98Array.Resize(ref _stack, 2 * _stack.Length); 136_stack[_count - 1] = Current; 154_stack[_count - 2] = Current; 155Current = _stack[_count - 1]; 201_stack[_count] = Current; 202Current = _stack[_count - 1]; 210Current = _stack[_count - 1]; 278AppendStackFrame(sb, ref _stack[i]); 387if (_stack[i].JsonTypeInfo.UsesParameterizedConstructor) 389return _stack[i].JsonTypeInfo;