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