6 references to MethodInvoker
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
6072else 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)
3949DivideByZeroException exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((MethodInvoker)FaultingMethod)); 4068var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((MethodInvoker)FaultingMethod)); 4135var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((MethodInvoker)FaultingMethod));