13 references to Invoke
InteractiveHost32 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
54
var invokeOnMainThread = new Func<Func<object>, object>(operation => control!.
Invoke
(operation));
InteractiveHost64 (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)
695
_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)
1165
rmEnrollThreadInfo.ProgressForm.
Invoke
(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
1169
rmEnrollThreadInfo.ProgressForm.
Invoke
(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
1188
rmEnrollThreadInfo.ProgressForm.
Invoke
(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
MS\Internal\Documents\SigningProgress.cs (1)
69
dialog.
Invoke
(new MethodInvoker(dialog.CloseThreadedImpl));
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlTests.Methods.cs (5)
3915
int result = (int)control.
Invoke
((Delegate)(new Func<float>(() => FaultingMethod(10))));
3949
DivideByZeroException exception = Assert.Throws<DivideByZeroException>(() => control.
Invoke
((MethodInvoker)FaultingMethod));
4068
var exception = Assert.Throws<DivideByZeroException>(() => control.
Invoke
((MethodInvoker)FaultingMethod));
4135
var exception = Assert.Throws<DivideByZeroException>(() => control.
Invoke
((MethodInvoker)FaultingMethod));
4184
Assert.Throws<TargetParameterCountException>(() => control.
Invoke
(method));