2 writes to _stack
System.Text.Json (2)
System\Text\Json\Serialization\ReadStack.cs (2)
88
_stack
= new ReadStackFrame[4];
92
Array.Resize(ref
_stack
, 2 * _stack.Length);
14 references to _stack
System.Text.Json (14)
System\Text\Json\Serialization\ReadStack.cs (14)
30
Debug.Assert(
_stack
is not null);
31
return ref
_stack
[_count - 2];
86
if (
_stack
is null)
90
else if (_count - 1 ==
_stack
.Length)
92
Array.Resize(ref _stack, 2 *
_stack
.Length);
129
_stack
[_count - 1] = Current;
146
_stack
[_count - 2] = Current;
147
Current =
_stack
[_count - 1];
193
_stack
[_count] = Current;
194
Current =
_stack
[_count - 1];
202
Current =
_stack
[_count - 1];
270
AppendStackFrame(sb, ref
_stack
[i]);
379
if (
_stack
[i].JsonTypeInfo.UsesParameterizedConstructor)
381
return
_stack
[i].JsonTypeInfo;