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