7 writes to _count
System.Text.Json (7)
System\Text\Json\Serialization\ReadStack.cs (7)
128
_count
= 1;
138
_count
++;
152
if (
_count
++ > 0)
186
_count
= 0;
193
_continuationCount =
_count
--;
195
else if (--
_count
== 0)
208
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];
96
else if (
_count
- 1 == _stack.Length)
123
if (
_count
== 0)
136
_stack[
_count
- 1] = Current;
154
_stack[
_count
- 2] = Current;
155
Current = _stack[
_count
- 1];
159
if (_continuationCount ==
_count
)
174
Debug.Assert(
_count
> 0);
182
if (
_count
== 1)
201
_stack[
_count
] = Current;
202
Current = _stack[
_count
- 1];
210
Current = _stack[
_count
- 1];
271
0 => (
_count
- 1, true), // Not a continuation, report previous frames and Current.
385
for (int i = 0; i <
_count
- 1; i++)