Lines Matching defs:array
302 /// Copies the key/value pairs in this map to an array.
304 /// <param name="array">The array to copy the entries into.</param>
305 /// <param name="arrayIndex">The index of the array at which to start copying values.</param>
306 void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
308 list.CopyTo(array, arrayIndex);
562 void ICollection.CopyTo(Array array, int index)
566 temp.CopyTo(array, index);
793 public void CopyTo(T[] array, int arrayIndex)
799 if (arrayIndex + Count > array.Length)
801 throw new ArgumentException("Not enough space in the array", nameof(array));
805 array[arrayIndex++] = item;
824 public void CopyTo(Array array, int index)
830 if (index + Count > array.Length)
832 throw new ArgumentException("Not enough space in the array", nameof(array));
836 array.SetValue(item, index++);