6 references to CopyTo
System.Windows.Forms (1)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2996
savedItems.
CopyTo
(newItems, arrayIndex: 0);
System.Windows.Forms.Tests (5)
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (5)
533
Assert.Throws<ArgumentNullException>("destination", () => comboBoxObjectCollection.
CopyTo
(null, 1));
550
Assert.Throws<ArgumentOutOfRangeException>("arrayIndex", () => comboBoxObjectCollection.
CopyTo
(new object[1], -1));
567
Assert.Throws<ArgumentOutOfRangeException>("arrayIndex", () => comboBoxObjectCollection.
CopyTo
(new object[1], 3));
585
comboBoxObjectCollection.
CopyTo
(array, 1);
609
comboBoxObjectCollection.
CopyTo
(array, 1);