2 writes to _stack
System.Text.Json (2)
System\Text\Json\Serialization\ReadStack.cs (2)
88_stack = new ReadStackFrame[4]; 92Array.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]; 86if (_stack is null) 90else if (_count - 1 == _stack.Length) 92Array.Resize(ref _stack, 2 * _stack.Length); 129_stack[_count - 1] = Current; 146_stack[_count - 2] = Current; 147Current = _stack[_count - 1]; 193_stack[_count] = Current; 194Current = _stack[_count - 1]; 202Current = _stack[_count - 1]; 270AppendStackFrame(sb, ref _stack[i]); 379if (_stack[i].JsonTypeInfo.UsesParameterizedConstructor) 381return _stack[i].JsonTypeInfo;