You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSTHRD103 regression: recommends ThrowsAsync for synchronous xUnit assertions #1661
The suggested ThrowsAsync API is not semantically appropriate because the operation under test completes synchronously and does not return a Task. Applying the suggestion requires wrapping the synchronous operation in an artificial completed task.
Expected: VSTHRD103 should not report synchronous xUnit assertion calls whose delegate does not return a task.
Activity