2 writes to _stack
System.Text.Json (2)
System\Text\Json\Serialization\ReadStack.cs (2)
94
_stack
= new ReadStackFrame[4];
98
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];
92
if (
_stack
is null)
96
else if (_count - 1 ==
_stack
.Length)
98
Array.Resize(ref _stack, 2 *
_stack
.Length);
136
_stack
[_count - 1] = Current;
154
_stack
[_count - 2] = Current;
155
Current =
_stack
[_count - 1];
201
_stack
[_count] = Current;
202
Current =
_stack
[_count - 1];
210
Current =
_stack
[_count - 1];
278
AppendStackFrame(sb, ref
_stack
[i]);
387
if (
_stack
[i].JsonTypeInfo.UsesParameterizedConstructor)
389
return
_stack
[i].JsonTypeInfo;