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);
5913
public object Invoke(Delegate method) =>
Invoke
(method, null);
5942
public T Invoke<T>(Func<T> method) => (T)
Invoke
(method, null);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
4166
Assert.Throws<InvalidOperationException>(() => control.
Invoke
(method, Array.Empty<object>()));
4176
Assert.Throws<TargetParameterCountException>(() => control.
Invoke
(method, null));
4177
Assert.Throws<TargetParameterCountException>(() => control.
Invoke
(method, Array.Empty<object>()));