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