6 writes to _size
mscorlib (6)
system\collections\stack.cs (6)
41
_size
= 0;
54
_size
= 0;
94
_size
= 0;
102
s.
_size
= _size;
174
Object obj = _array[--
_size
];
188
_array[
_size
++] = obj;
21 references to _size
mscorlib (21)
system\collections\stack.cs (21)
74
return
_size
;
93
Array.Clear(_array, 0,
_size
); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
101
Stack s = new Stack(
_size
);
102
s._size =
_size
;
103
Array.Copy(_array, 0, s._array, 0,
_size
);
109
int count =
_size
;
131
if (array.Length - index <
_size
)
138
while(i <
_size
) {
139
objArray[i+index] = _array[
_size
-i-1];
144
while(i <
_size
) {
145
array.SetValue(_array[
_size
-i-1], i+index);
160
if (
_size
==0)
163
return _array[
_size
-1];
169
if (
_size
== 0)
175
_array[
_size
] = null; // Free memory quicker.
183
if (
_size
== _array.Length) {
185
Array.Copy(_array, 0, newArray, 0,
_size
);
209
Object[] objArray = new Object[
_size
];
211
while(i <
_size
) {
212
objArray[i] = _array[
_size
-i-1];
330
_index = _stack.
_size
-1;