6 references to MethodInvoker
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
6031else if (tme._method is MethodInvoker invoker)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1960BeginInvoke((MethodInvoker)(() => SelectedTab.TabAccessibilityObject.RaiseAutomationEvent(UIA_EVENT_ID.UIA_AutomationFocusChangedEventId)));
System\Windows\Forms\Internal\WinFormsMetadataUpdateHandler.cs (1)
20openForm.BeginInvoke((MethodInvoker)(() => openForm.Refresh()));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
3940DivideByZeroException exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((MethodInvoker)FaultingMethod)); 4059var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((MethodInvoker)FaultingMethod)); 4126var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((MethodInvoker)FaultingMethod));