10 references to CreateAccessibilityInstance
System.Windows.Forms.Tests (10)
System\Windows\Forms\ToolStripButtonTests.cs (10)
1003ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1006Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1017ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1020Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1031ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1034Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1050ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1053Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1069ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1072Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance());