8 references to Contains
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (2)
92
Debug.Assert(!
Contains
(dataGridViewCell));
104
Debug.Assert(!
Contains
(dataGridViewCell));
System.Windows.Forms.Tests (6)
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (6)
111
Assert.True(collection.
Contains
(control.Rows[0].Cells[0]));
112
Assert.False(collection.
Contains
(control.Rows[1].Cells[0]));
113
Assert.True(collection.
Contains
(control.Rows[2].Cells[0]));
114
Assert.False(collection.
Contains
(new SubDataGridViewCell()));
115
Assert.False(collection.
Contains
(null));
130
Assert.False(collection.
Contains
(dataGridViewCell));