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 | MSTEST0028 |
| Title | Suppress VSTHRD200 for test fixture methods |
| Category | Suppressor |
| Introduced in version | 3.5.0 |
Suppressor description
Suppress the VSTHRD200: Use Async suffix for async methods diagnostic for test fixture methods.
Fixture attributes identify the lifecycle phase, and the method's return type tells MSTest whether to await the callback. Ordinary callers don't select these callbacks by name. An Async suffix doesn't help the runner decide when or how to invoke them, so the suppressor lets fixture names follow your project's lifecycle naming convention.
When to disable suppressor
.NET suppressors cannot be disabled.