Implemented interface member:
method
Invoke
System.ComponentModel.ISynchronizeInvoke.Invoke(System.Delegate, System.Object[])
6 references to Invoke
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (3)
5896_ = Invoke(method, null); 5913public object Invoke(Delegate method) => Invoke(method, null); 5942public T Invoke<T>(Func<T> method) => (T)Invoke(method, null);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
4166Assert.Throws<InvalidOperationException>(() => control.Invoke(method, Array.Empty<object>())); 4176Assert.Throws<TargetParameterCountException>(() => control.Invoke(method, null)); 4177Assert.Throws<TargetParameterCountException>(() => control.Invoke(method, Array.Empty<object>()));