10 references to InvokeAsync
System.Windows.Forms (2)
System\Windows\Forms\Control_InvokeAsync.cs (2)
29/// <see cref="InvokeAsync(Func{CancellationToken, ValueTask}, CancellationToken)"/> or 148/// <see cref="InvokeAsync(Func{CancellationToken, ValueTask}, CancellationToken)"/> or
System.Windows.Forms.Tests (8)
System\Windows\Forms\ControlTests_InvokeAsync.cs (8)
114await control.InvokeAsync(UiAccessAsyncCallback) 157await control.InvokeAsync(UiAccessAsyncCallback) 274await control.InvokeAsync( 330Task task = control.InvokeAsync(async ct => 361Task task = control.InvokeAsync(async ct => 379control.InvokeAsync(ct => default, CancellationToken.None)).ConfigureAwait(true); 409control.InvokeAsync(ct => throw new InvalidOperationException())) 425await control.InvokeAsync(async ct =>