2 references to Contains
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
4114
Debug.Assert(Items.
Contains
(li), "Make sure ListView.Items contains this item before adding the native LVITEM. Otherwise, custom-drawing may break.");
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
246
=> item is ListViewItem listViewItem &&
Contains
(listViewItem);