In contrast to the other overloads, `InvokeAsync` in https://github.com/dotnet/winforms/blob/0ce1218949e478b130091479b7551eb1329804cb/src/System.Windows.Forms/src/System/Windows/Forms/Control_InvokeAsync.cs#L244 does not check the `cancellationToken` before finally invoking the delegate. This should be done in order to - be consistent - avoid an unnecessary invocation
In contrast to the other overloads,
InvokeAsyncinwinforms/src/System.Windows.Forms/src/System/Windows/Forms/Control_InvokeAsync.cs
Line 244 in 0ce1218
cancellationTokenbefore finally invoking the delegate.This should be done in order to