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