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));
62
Assert.True(collection.
Contains
(s));
63
Assert.False(collection.
Contains
("anotherValue"));
64
Assert.False(collection.
Contains
(null));
72
Assert.False(collection.
Contains
("value"));
73
Assert.False(collection.
Contains
(null));