14 references to IndexOf
System.Windows.Forms.Design.Tests (14)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (14)
45Assert.Equal(0, collection.IndexOf(value1)); 51Assert.Equal(1, collection.IndexOf(value2)); 56Assert.Equal(2, collection.IndexOf(null)); 103Assert.Equal(0, collection.IndexOf(value1)); 109Assert.Equal(0, collection.IndexOf(value2)); 114Assert.Equal(1, collection.IndexOf(null)); 128Assert.Equal(-1, collection.IndexOf(value)); 134Assert.Equal(-1, collection.IndexOf(null)); 150Assert.Equal(-1, collection.IndexOf(value1)); 152Assert.Equal(0, collection.IndexOf(value2)); 158Assert.Equal(-1, collection.IndexOf(value2)); 160Assert.Equal(0, collection.IndexOf(null)); 193Assert.Equal(-1, collection.IndexOf(new DesignerActionList(null))); 194Assert.Equal(-1, collection.IndexOf(null));