Find unawaited task return in using block
ProprietaryDetect return of a Task inside a using block without await. The resource may be disposed before the task completes.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindAwaitTaskBeforeDisposingmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindAwaitTaskBeforeDisposingInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.