4 writes to keys
mscorlib (4)
system\collections\sortedlist.cs (4)
97
keys
= emptyArray;
114
keys
= new Object[initialCapacity];
213
keys
= newKeys;
219
keys
= emptyArray;
26 references to keys
mscorlib (26)
system\collections\sortedlist.cs (26)
171
d.Keys.CopyTo(
keys
, 0);
173
Array.Sort(
keys
, values, comparer);
183
int i = Array.BinarySearch(
keys
, 0, _size, key, comparer);
197
return
keys
.Length;
205
if (value !=
keys
.Length) {
210
Array.Copy(
keys
, 0, newKeys, 0, _size);
282
Array.Clear(
keys
, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
294
Array.Copy(
keys
, 0, sl.
keys
, 0, _size);
339
DictionaryEntry entry = new DictionaryEntry(
keys
[i],values[i]);
351
array[i] = new KeyValuePairs(
keys
[i],values[i]);
361
int newCapacity =
keys
.Length == 0? 16:
keys
.Length * 2;
401
return
keys
[index];
449
int i = Array.BinarySearch(
keys
, 0, _size, key, comparer);
470
int ret = Array.BinarySearch(
keys
, 0, _size, key, comparer);
486
if (_size ==
keys
.Length) EnsureCapacity(_size + 1);
488
Array.Copy(
keys
, index,
keys
, index + 1, _size - index);
491
keys
[index] = key;
505
Array.Copy(
keys
, index + 1,
keys
, index, _size - index);
508
keys
[_size] = null;
773
key = sortedList.
keys
[index];
871
Array.Copy(sortedList.
keys
, 0, array, arrayIndex, sortedList.Count);
896
int i = Array.BinarySearch(sortedList.
keys
, 0,