7 writes to _items
mscorlib (7)
system\collections\arraylist.cs (7)
65
_items
= emptyArray;
77
_items
= emptyArray;
79
_items
= new Object[capacity];
94
_items
= emptyArray;
97
_items
= new Object[count];
125
_items
= newItems;
128
_items
= new Object[_defaultCapacity];
43 references to _items
mscorlib (43)
system\collections\arraylist.cs (43)
109
return
_items
.Length;
119
if (value !=
_items
.Length) {
123
Array.Copy(
_items
, 0, newItems, 0, _size);
173
return
_items
[index];
178
_items
[index] = value;
205
if (_size ==
_items
.Length) EnsureCapacity(_size + 1);
206
_items
[_size] = value;
250
return Array.BinarySearch((Array)
_items
, index, count, value, comparer);
270
Array.Clear(
_items
, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
285
Array.Copy(
_items
, 0, la.
_items
, 0, _size);
297
if (
_items
[i]==null)
303
if ( (
_items
[i] != null) && (
_items
[i].Equals(item)) )
324
Array.Copy(
_items
, 0, array, arrayIndex, _size);
338
Array.Copy(
_items
, index, array, arrayIndex, count);
346
if (
_items
.Length < min) {
347
int newCapacity =
_items
.Length == 0? _defaultCapacity:
_items
.Length * 2;
416
return Array.IndexOf((Array)
_items
, value, 0, _size);
433
return Array.IndexOf((Array)
_items
, value, startIndex, _size - startIndex);
451
return Array.IndexOf((Array)
_items
, value, startIndex, count);
464
if (_size ==
_items
.Length) EnsureCapacity(_size + 1);
466
Array.Copy(
_items
, index,
_items
, index + 1, _size - index);
468
_items
[index] = value;
490
Array.Copy(
_items
, index,
_items
, index + count, _size - index);
495
itemsToInsert.CopyTo(
_items
, index);
554
return Array.LastIndexOf((Array)
_items
, value, startIndex, count);
603
Array.Copy(
_items
, index + 1,
_items
, index, _size - index);
605
_items
[_size] = null;
626
Array.Copy(
_items
, index + count,
_items
, index, _size - index);
628
while (i > _size)
_items
[--i] = null;
668
Array.Reverse(
_items
, index, count);
682
c.CopyTo(
_items
, index);
728
Array.Sort(
_items
, index, count, comparer);
760
Array.Copy(
_items
, 0, array, 0, _size);
776
Array.Copy(
_items
, 0, array, 0, _size);
2520
Array.Copy(_baseList.
_items
, _baseIndex, array, 0, _baseSize);
2571
currentElement = list.
_items
[++index];