Find unawaited task in using statement

Proprietary

Detect using statements where a Task is not awaited, which can cause premature disposal before the task completes.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindTaskInUsing
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindTaskInUsing

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.