38 references to InvokePublicConstructor
System.Windows.Forms.Tests (38)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (16)
1258using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1277using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1299using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1317using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1336using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1383using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1431using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1447using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1478using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1494using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1514using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1548using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1586using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1657using Control control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1681using var control = ReflectionHelper.InvokePublicConstructor<Control>(type); 1725using var control = ReflectionHelper.InvokePublicConstructor<Control>(type);
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripHostedControlAccessibleObjectTests.cs (1)
24using ToolStripControlHost item = ReflectionHelper.InvokePublicConstructor<ToolStripControlHost>(type);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (14)
35using ToolStripDropDownItem item = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(itemType); 110using ToolStripDropDownItem ownerItem = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(ownerType); 111using ToolStripDropDownItem parentItem1 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(parentType); 112using ToolStripDropDownItem parentItem2 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(parentType); 113using ToolStripDropDownItem childItem1 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 114using ToolStripDropDownItem childItem2 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 115using ToolStripDropDownItem childItem3 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 116using ToolStripDropDownItem childItem4 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 195using ToolStripDropDownItem parentItem1 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(parentType); 196using ToolStripDropDownItem parentItem2 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(parentType); 197using ToolStripDropDownItem childItem1 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 198using ToolStripDropDownItem childItem2 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 199using ToolStripDropDownItem childItem3 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType); 200using ToolStripDropDownItem childItem4 = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(childType);
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (5)
55using ToolStripItem item = ReflectionHelper.InvokePublicConstructor<ToolStripItem>(type); 69using ToolStripItem item = ReflectionHelper.InvokePublicConstructor<ToolStripItem>(type); 81using ToolStripItem item = ReflectionHelper.InvokePublicConstructor<ToolStripItem>(type); 94using ToolStripItem item = ReflectionHelper.InvokePublicConstructor<ToolStripItem>(type); 118using ToolStripItem item = ReflectionHelper.InvokePublicConstructor<ToolStripItem>(type);
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (2)
35using ToolStripDropDownItem ownerItem = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(itemType); 97using ToolStripDropDownItem ownerItem = ReflectionHelper.InvokePublicConstructor<ToolStripDropDownItem>(itemType);