Find blocking calls in async methods

Proprietary

Detect .Wait(), .Result, and .GetAwaiter().GetResult() calls in async methods. Blocking calls in async methods can cause deadlocks.

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

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