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