4 writes to _used
System.Private.Xml (4)
System\Xml\HWStack.cs (4)
22_used = 0; 47return _stack[_used++]; 54_used--; 115_used = used;
14 references to _used
System.Private.Xml (14)
System\Xml\HWStack.cs (14)
30if (_used == _size) 32if (_limit <= _used) 38if (_used > 0) 40System.Array.Copy(_stack, newstack, _used); 52if (0 < _used) 55object result = _stack[_used]; 64return _used > 0 ? _stack[_used - 1] : null; 69if (_used > 0) 71_stack[_used - 1] = o; 79if (index >= 0 && index < _used) 91if (index >= 0 && index < _used) 104get { return _used; } 121return new HWStack((object[])_stack.Clone(), _growthRate, _used, _size);