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)
77result = await control.InvokeAsync(UiAccessFunc) 405control.InvokeAsync<int>(() => throw new InvalidOperationException())) 427await control.InvokeAsync(() => innerCalled = true, ct) 445tasks[i] = control.InvokeAsync(() => Interlocked.Increment(ref counter));