Bug description
VSTHRD004 doesn't recognize the NoThrowAwaitable extension added in #1194.
Repro steps
await jtf.SwitchToMainThreadAsync(cancellationToken).NoThrowAwaitable();
Expected behavior
No warning reported
Actual behavior
VSTHRD004 reported
- Version used: 17.7.30
- Application (if applicable): Visual Studio
Additional context
Add any other context about the problem here.