Remove ConfigureAwait(false)

Proprietary

Remove .ConfigureAwait(false) calls that are unnecessary in ASP.NET Core and modern .NET applications (no SynchronizationContext). Do not apply to library code targeting .NET Framework.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.RemoveConfigureAwaitFalse
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.RemoveConfigureAwaitFalse

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