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