Implemented interface member:
12 references to Contains
System.Windows.Forms.Tests (12)
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (12)
484Assert.True(comboBoxObjectCollection.Contains("a")); 485Assert.True(comboBoxObjectCollection.Contains("b")); 486Assert.False(comboBoxObjectCollection.Contains("c")); 488Assert.True(comboBoxObjectCollection.Contains(comboBoxObjectCollection.InnerList[0])); 489Assert.True(comboBoxObjectCollection.Contains(comboBoxObjectCollection.InnerList[1])); 490Assert.False(comboBoxObjectCollection.Contains(new Entry("a"))); 512Assert.True(comboBoxObjectCollection.Contains(person1)); 513Assert.True(comboBoxObjectCollection.Contains(person2)); 514Assert.False(comboBoxObjectCollection.Contains(person3)); 516Assert.True(comboBoxObjectCollection.Contains(comboBoxObjectCollection.InnerList[0])); 517Assert.True(comboBoxObjectCollection.Contains(comboBoxObjectCollection.InnerList[1])); 518Assert.False(comboBoxObjectCollection.Contains(new Entry(person3)));