3 writes to _array
mscorlib (3)
system\collections\stack.cs (3)
40_array = new Object[_defaultCapacity]; 53_array = new Object[initialCapacity]; 186_array = newArray;
18 references to _array
mscorlib (18)
system\collections\stack.cs (18)
93Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references. 103Array.Copy(_array, 0, s._array, 0, _size); 113if (_array[count] == null) 116else if (_array[count] != null && _array[count].Equals(obj)) { 139objArray[i+index] = _array[_size-i-1]; 145array.SetValue(_array[_size-i-1], i+index); 163return _array[_size-1]; 174Object obj = _array[--_size]; 175_array[_size] = null; // Free memory quicker. 183if (_size == _array.Length) { 184Object[] newArray = new Object[2*_array.Length]; 185Array.Copy(_array, 0, newArray, 0, _size); 188_array[_size++] = obj; 212objArray[i] = _array[_size-i-1]; 333currentElement = _stack._array[_index]; 342currentElement = _stack._array[_index];