System.Runtime.CompilerServices.ReadOnlyCollectionBuilder.ICollection C# (CSharp) Method

ICollection() private method

private ICollection ( Array array, int index ) : void
array Array
index int
return void
        void ICollection.CopyTo(Array array, int index)
        {
            if (array == null)
                throw new ArgumentNullException(nameof(array));
            if (array.Rank != 1)
                throw new ArgumentException(nameof(array));

            Array.Copy(_items, 0, array, index, _size);
        }