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