12 references to Invoke
InteractiveHost32 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
54
var invokeOnMainThread = new Func<Func<object>, object>(operation => control!.
Invoke
(operation));
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
691
_splashScreen.
Invoke
(disposeSplashDelegate)
Microsoft.VisualBasic.Forms.Tests (1)
System\Windows\Forms\ControlInvokeTests.vb (1)
58
_control.
Invoke
(New MethodInvoker(AddressOf FaultingMethod))
PresentationUI (4)
MS\Internal\Documents\RightsManagementManager.cs (3)
1166
rmEnrollThreadInfo.ProgressForm.
Invoke
(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
1170
rmEnrollThreadInfo.ProgressForm.
Invoke
(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
1189
rmEnrollThreadInfo.ProgressForm.
Invoke
(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
MS\Internal\Documents\SigningProgress.cs (1)
75
dialog.
Invoke
(new MethodInvoker(dialog.CloseThreadedImpl));
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlTests.Methods.cs (5)
3906
int result = (int)control.
Invoke
((Delegate)(new Func<float>(() => FaultingMethod(10))));
3940
DivideByZeroException exception = Assert.Throws<DivideByZeroException>(() => control.
Invoke
((MethodInvoker)FaultingMethod));
4059
var exception = Assert.Throws<DivideByZeroException>(() => control.
Invoke
((MethodInvoker)FaultingMethod));
4126
var exception = Assert.Throws<DivideByZeroException>(() => control.
Invoke
((MethodInvoker)FaultingMethod));
4175
Assert.Throws<TargetParameterCountException>(() => control.
Invoke
(method));