9 references to Contains
System.Windows.Forms.Tests (9)
System\Windows\Forms\DataGridViewRowTests.cs (3)
2957
Assert.Equal(selected, (control.SelectedRows).
Contains
(row));
2962
Assert.Equal(selected, (control.SelectedRows).
Contains
(row));
2967
Assert.False((control.SelectedRows).
Contains
(row));
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (6)
107
Assert.True(collection.
Contains
(control.Rows[0]));
108
Assert.False(collection.
Contains
(control.Rows[1]));
109
Assert.True(collection.
Contains
(control.Rows[2]));
110
Assert.False(collection.
Contains
(new DataGridViewRow()));
111
Assert.False(collection.
Contains
(null));
126
Assert.False(collection.
Contains
(dataGridViewRow));