4 references to IndexOf
System.Windows.Forms.Design.Tests (4)
System\Drawing\Design\ToolboxItemCollectionTests.cs (4)
18
Assert.Equal(0, collection.
IndexOf
(item));
36
Assert.Equal(0, collection.
IndexOf
(item));
59
Assert.Equal(-1, collection.
IndexOf
(new ToolboxItem { DisplayName = "Other" }));
60
Assert.Equal(-1, collection.
IndexOf
(null));