11 references to InvokeAsync
System.Windows.Forms (2)
System\Windows\Forms\Control_InvokeAsync.cs (2)
253
/// For synchronous operations, use <see cref="
InvokeAsync
(Action, CancellationToken)"/> or
358
/// For synchronous operations, use <see cref="
InvokeAsync
(Action, CancellationToken)"/> or
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlTests_InvokeAsync.cs (6)
35
await control.
InvokeAsync
(UiAccessAction)
238
await control.
InvokeAsync
(
304
var blockingTask = control.
InvokeAsync
(() => Thread.Sleep(50));
309
var cancelledTask = control.
InvokeAsync
(
391
control.
InvokeAsync
(() => { })).ConfigureAwait(false);
401
control.
InvokeAsync
(() => throw new InvalidOperationException()))
System.Windows.Forms.UI.IntegrationTests (3)
DataGridViewTests.cs (1)
68
await form2.
InvokeAsync
(() =>
ListControlUnboundActionListTests.cs (1)
30
await form.
InvokeAsync
(new Action(() => form.Dispose())).ConfigureAwait(true);
ListViewTests.cs (1)
556
await form.
InvokeAsync
(() =>