We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The assertion analyzers check for missing await, constants, dynamic usage, and mixed And/Or operators. Missing rules for common mistakes:
Task
Task<bool>
Task<AssertionResult>
.Result
.Wait()
And
=
Assert.That()
Add new analyzer rules for each case above, with appropriate diagnostic IDs and fix suggestions.
Description
The assertion analyzers check for missing await, constants, dynamic usage, and mixed And/Or operators. Missing rules for common mistakes:
Task(non-generic) return types — should requireTask<bool>orTask<AssertionResult>.Resultor.Wait()on assertion expressionsAndwithout a following assertion=instead of assertion inAssert.That()Suggested Fix
Add new analyzer rules for each case above, with appropriate diagnostic IDs and fix suggestions.