Implemented interface member:
14 references to Insert
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
342
_keyComboBox.Items.
Insert
(0, SR.ShortcutKeys_InvalidKey);
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
471
comboBox.Items.
Insert
(0, "h");
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (11)
634
comboBoxObjectCollection.
Insert
(0, "c");
663
comboBoxObjectCollection.
Insert
(0, person3);
689
comboBoxObjectCollection.
Insert
(0, "c");
720
comboBoxObjectCollection.
Insert
(0, person3);
750
comboBoxObjectCollection.
Insert
(0, person2);
751
comboBoxObjectCollection.
Insert
(0, "Name 4");
773
Assert.Throws<ArgumentNullException>("item", () => comboBoxObjectCollection.
Insert
(0, null));
790
Assert.Throws<ArgumentOutOfRangeException>("index", () => comboBoxObjectCollection.
Insert
(-1, 1));
807
Assert.Throws<ArgumentOutOfRangeException>("index", () => comboBoxObjectCollection.
Insert
(3, 1));
828
Assert.Throws<ArgumentException>(() => comboBoxObjectCollection.
Insert
(3, 1));
1470
comboBox.Items.
Insert
(1, "Item3");
System\Windows\Forms\ComboBoxTests.cs (1)
2437
comboBox.Items.
Insert
(index, item);