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