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