System\ComponentModel\Design\DesignerActionItemCollectionTests.cs (9)
25Assert.Equal(0, collection.IndexOf(value1));
31Assert.Equal(1, collection.IndexOf(value2));
51Assert.Equal(0, collection.IndexOf(value1));
57Assert.Equal(0, collection.IndexOf(value2));
78Assert.Equal(-1, collection.IndexOf(value));
101Assert.Equal(-1, collection.IndexOf(value1));
103Assert.Equal(0, collection.IndexOf(value2));
145Assert.Equal(-1, collection.IndexOf(new SubDesignerActionItem("displayName", "category", "description")));
146Assert.Equal(-1, collection.IndexOf(null));