5 references to Contains
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (1)
182
return
Contains
(selectedIndexAsInt);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
86
if (_owningListView.SelectedIndices.
Contains
(_owningItem.Index))
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListViewTests.cs (3)
4744
Assert.False(listView.SelectedIndices.
Contains
(-1));
4745
Assert.False(listView.SelectedIndices.
Contains
(1));
4746
Assert.True(listView.SelectedIndices.
Contains
(0));