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