Source: Al0104PreferAwaitUsingAnalyzer.csDocumentation Index
Fetch the complete documentation index at: https://ancplua.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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
