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