4 references to CreateAccessibilityInstance
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripSeparatorTests.cs (4)
724ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 726Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 737ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 739Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance());