7 references to CreateAccessibilityInstance
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripControlHostTests.cs (7)
2518ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 2523Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 2537ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 2541Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 2552ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 2556Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 2565ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance());