Description
When a type implementsIAsyncDisposable, using using instead of await using calls the synchronous Dispose() method, potentially blocking or skipping async cleanup.
Bad Code
Good Code
Properties
- Category: Reliability
- Severity: Warning
- Enabled by default: True
- Code fix available: False
