77 references to Remove
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
380
void IList.Remove(object? value) =>
Remove
(value!);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
882
_listBox.Items.
Remove
(item);
893
_listBox.Items.
Remove
(item);
System.Windows.Forms.Tests (74)
CheckedListBoxTests.cs (5)
514
checkedListBox.Items.
Remove
(checkedListBox.Items[2]);
522
checkedListBox.Items.
Remove
(checkedListBox.Items[1]);
555
checkedListBox.Items.
Remove
(checkedListBox.Items[0]);
587
checkedListBox.Items.
Remove
(checkedListBox.Items[2]);
618
checkedListBox.Items.
Remove
(checkedListBox.Items[0]);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (63)
5067
collection.
Remove
(1);
5075
collection.
Remove
(1);
5083
collection.
Remove
(3);
5091
collection.
Remove
(2);
5111
collection.
Remove
(1);
5118
collection.
Remove
(1);
5125
collection.
Remove
(3);
5132
collection.
Remove
(2);
5157
collection.
Remove
(2);
5165
collection.
Remove
(2);
5173
collection.
Remove
(3);
5181
collection.
Remove
(1);
5204
collection.
Remove
(2);
5211
collection.
Remove
(2);
5218
collection.
Remove
(3);
5225
collection.
Remove
(1);
5251
collection.
Remove
(1);
5266
collection.
Remove
(1);
5281
collection.
Remove
(3);
5294
collection.
Remove
(2);
5325
collection.
Remove
(1);
5341
collection.
Remove
(1);
5357
collection.
Remove
(3);
5371
collection.
Remove
(2);
5403
collection.
Remove
(2);
5418
collection.
Remove
(2);
5433
collection.
Remove
(3);
5446
collection.
Remove
(1);
5480
collection.
Remove
(2);
5496
collection.
Remove
(2);
5512
collection.
Remove
(3);
5526
collection.
Remove
(1);
5551
collection.
Remove
(0);
5559
collection.
Remove
(4);
5567
collection.
Remove
(1);
5592
collection.
Remove
(0);
5600
collection.
Remove
(4);
5608
collection.
Remove
(1);
5637
collection.
Remove
(0);
5645
collection.
Remove
(4);
5653
collection.
Remove
(1);
5661
collection.
Remove
(3);
5689
collection.
Remove
(0);
5697
collection.
Remove
(4);
5705
collection.
Remove
(1);
5713
collection.
Remove
(3);
5746
collection.
Remove
(0);
5757
collection.
Remove
(4);
5768
collection.
Remove
(1);
5808
collection.
Remove
(0);
5819
collection.
Remove
(4);
5830
collection.
Remove
(1);
5869
collection.
Remove
(0);
5879
collection.
Remove
(4);
5889
collection.
Remove
(1);
5899
collection.
Remove
(3);
5937
collection.
Remove
(0);
5947
collection.
Remove
(4);
5957
collection.
Remove
(1);
5967
collection.
Remove
(3);
5985
Assert.Throws<ArgumentException>(() => collection.
Remove
(1));
5996
Assert.Throws<ArgumentException>(() => collection.
Remove
(1));
5997
Assert.Throws<ArgumentException>(() => collection.
Remove
(2));
System\Windows\Forms\ListBoxTests.cs (6)
6130
listBox.Items.
Remove
(listBox.Items[2]);
6138
listBox.Items.
Remove
(listBox.Items[1]);
6172
listBox.Items.
Remove
(listBox.Items[3]);
6180
listBox.Items.
Remove
(listBox.Items[2]);
6213
listBox.Items.
Remove
(listBox.Items[0]);
6249
listBox.Items.
Remove
(listBox.Items[0]);