Thank you for this great extension!
I have realized that I often miss the presence of IAsyncDisposable interfaces and there is no warning that indicates this. Example:
static async Task Main(string[] args)
{
using SqlConnection connection = new SqlConnection();
// Do something with connection
// ...
}
This could (should?) be converted to:
static async Task Main(string[] args)
{
await using SqlConnection connection = new SqlConnection();
// Do something with connection
// ...
}
Would it be a good idea to add a warning or an information, that await using could be used instead of using?