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