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