7 writes to _count
System.Text.Json (7)
System\Text\Json\Serialization\ReadStack.cs (7)
121
_count
= 1;
131
_count
++;
144
if (
_count
++ > 0)
178
_count
= 0;
185
_continuationCount =
_count
--;
187
else if (--
_count
== 0)
200
if (--
_count
> 0)
15 references to _count
System.Text.Json (15)
System\Text\Json\Serialization\ReadStack.cs (15)
29
Debug.Assert(
_count
> 1);
31
return ref _stack[
_count
- 2];
90
else if (
_count
- 1 == _stack.Length)
116
if (
_count
== 0)
129
_stack[
_count
- 1] = Current;
146
_stack[
_count
- 2] = Current;
147
Current = _stack[
_count
- 1];
151
if (_continuationCount ==
_count
)
166
Debug.Assert(
_count
> 0);
174
if (
_count
== 1)
193
_stack[
_count
] = Current;
194
Current = _stack[
_count
- 1];
202
Current = _stack[
_count
- 1];
263
0 => (
_count
- 1, true), // Not a continuation, report previous frames and Current.
377
for (int i = 0; i <
_count
- 1; i++)