Do not use blocking calls on tasks

Proprietary

Avoid .Wait(), .Result, and .GetAwaiter().GetResult() on tasks. These can cause deadlocks. Use await instead.

OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindDoNotUseBlockingCall
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindDoNotUseBlockingCall

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