12 references to Invoke
InteractiveHost32 (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)
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)
1166rmEnrollThreadInfo.ProgressForm.Invoke(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close)); 1170rmEnrollThreadInfo.ProgressForm.Invoke(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close)); 1189rmEnrollThreadInfo.ProgressForm.Invoke(new MethodInvoker(rmEnrollThreadInfo.ProgressForm.Close));
MS\Internal\Documents\SigningProgress.cs (1)
75dialog.Invoke(new MethodInvoker(dialog.CloseThreadedImpl));
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlTests.Methods.cs (5)
3906int result = (int)control.Invoke((Delegate)(new Func<float>(() => FaultingMethod(10)))); 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)); 4175Assert.Throws<TargetParameterCountException>(() => control.Invoke(method));