6 references to IndexOf
System.Windows.Forms (1)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
191int IList.IndexOf(object? value) => IndexOf((string)value!);
System.Windows.Forms.Tests (5)
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (5)
102Assert.Equal(0, collection.IndexOf(s)); 103Assert.Equal(-1, collection.IndexOf("anotherValue")); 104Assert.Equal(-1, collection.IndexOf(null)); 112Assert.Equal(-1, collection.IndexOf("value")); 113Assert.Equal(-1, collection.IndexOf(null));