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