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)
5937
_ =
Invoke
(method, null);
5954
public object Invoke(Delegate method) =>
Invoke
(method, null);
5983
public T Invoke<T>(Func<T> method) => (T)
Invoke
(method, null);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
4175
Assert.Throws<InvalidOperationException>(() => control.
Invoke
(method, Array.Empty<object>()));
4185
Assert.Throws<TargetParameterCountException>(() => control.
Invoke
(method, null));
4186
Assert.Throws<TargetParameterCountException>(() => control.
Invoke
(method, Array.Empty<object>()));