Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Property | Value |
|---|---|
| Rule ID | MSTEST0027 |
| Title | Suppress VSTHRD200 for test methods |
| Category | Suppressor |
| Introduced in version | 3.5.0 |
Suppressor description
Suppress the VSTHRD200: Use Async suffix for async methods diagnostic for test methods.
The Async suffix helps callers recognize APIs that they need to await. MSTest invokes test methods through the test runner, which recognizes their return types and awaits them without relying on their names. Test names can therefore describe the behavior under test without adding an Async suffix solely to satisfy a call-site naming convention.
When to disable suppressor
.NET suppressors cannot be disabled.