6 references to InvokeAsync
System.Windows.Forms (2)
System\Windows\Forms\Control_InvokeAsync.cs (2)
254
/// <see cref="
InvokeAsync
{T}(Func{T}, CancellationToken)"/>.
359
/// <see cref="
InvokeAsync
{T}(Func{T}, CancellationToken)"/>.
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests_InvokeAsync.cs (4)
77
result = await control.
InvokeAsync
(UiAccessFunc)
405
control.
InvokeAsync
<int>(() => throw new InvalidOperationException()))
427
await control.
InvokeAsync
(() => innerCalled = true, ct)
445
tasks[i] = control.
InvokeAsync
(() => Interlocked.Increment(ref counter));