38 references to InvokePublicConstructor
System.Windows.Forms.Tests (38)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (16)
1243
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1262
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1284
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1302
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1321
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1363
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1411
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1427
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1458
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1474
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1494
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1528
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1566
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1637
using Control control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1661
using var control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
1705
using var control = ReflectionHelper.
InvokePublicConstructor
<Control>(type);
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripHostedControlAccessibleObjectTests.cs (1)
22
using ToolStripControlHost item = ReflectionHelper.
InvokePublicConstructor
<ToolStripControlHost>(type);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (14)
33
using ToolStripDropDownItem item = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(itemType);
108
using ToolStripDropDownItem ownerItem = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(ownerType);
109
using ToolStripDropDownItem parentItem1 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(parentType);
110
using ToolStripDropDownItem parentItem2 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(parentType);
111
using ToolStripDropDownItem childItem1 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
112
using ToolStripDropDownItem childItem2 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
113
using ToolStripDropDownItem childItem3 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
114
using ToolStripDropDownItem childItem4 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
193
using ToolStripDropDownItem parentItem1 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(parentType);
194
using ToolStripDropDownItem parentItem2 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(parentType);
195
using ToolStripDropDownItem childItem1 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
196
using ToolStripDropDownItem childItem2 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
197
using ToolStripDropDownItem childItem3 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
198
using ToolStripDropDownItem childItem4 = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(childType);
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (5)
53
using ToolStripItem item = ReflectionHelper.
InvokePublicConstructor
<ToolStripItem>(type);
67
using ToolStripItem item = ReflectionHelper.
InvokePublicConstructor
<ToolStripItem>(type);
79
using ToolStripItem item = ReflectionHelper.
InvokePublicConstructor
<ToolStripItem>(type);
92
using ToolStripItem item = ReflectionHelper.
InvokePublicConstructor
<ToolStripItem>(type);
116
using ToolStripItem item = ReflectionHelper.
InvokePublicConstructor
<ToolStripItem>(type);
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (2)
33
using ToolStripDropDownItem ownerItem = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(itemType);
95
using ToolStripDropDownItem ownerItem = ReflectionHelper.
InvokePublicConstructor
<ToolStripDropDownItem>(itemType);