Lines Matching defs:array
130 /// Copies the arrays in the registry set to the specified array at the specified index
132 /// <param name="array">The array to copy to</param>
133 /// <param name="arrayIndex">The array index to start at</param>
134 void ICollection<Extension>.CopyTo(Extension[] array, int arrayIndex)
136 ProtoPreconditions.CheckNotNull(array, nameof(array));
137 if (arrayIndex < 0 || arrayIndex >= array.Length)
141 if (array.Length - arrayIndex < Count)
143 throw new ArgumentException("The provided array is shorter than the number of elements in the registry");
146 for (int i = 0; i < array.Length; i++)
148 Extension extension = array[i];