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