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)
101Assert.Equal(0, collection.IndexOf(s)); 102Assert.Equal(-1, collection.IndexOf("anotherValue")); 103Assert.Equal(-1, collection.IndexOf(null)); 111Assert.Equal(-1, collection.IndexOf("value")); 112Assert.Equal(-1, collection.IndexOf(null));