7 references to Contains
System.Windows.Forms (1)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
189
bool IList.Contains(object? value) =>
Contains
((string)value!);
System.Windows.Forms.Tests (6)
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (6)
27
Assert.True(collection.
Contains
(s));
61
Assert.True(collection.
Contains
(s));
62
Assert.False(collection.
Contains
("anotherValue"));
63
Assert.False(collection.
Contains
(null));
71
Assert.False(collection.
Contains
("value"));
72
Assert.False(collection.
Contains
(null));