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