Remove method invocations

Proprietary

Remove method invocations if syntactically safe.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.RemoveMethodInvocations

Required

A method pattern used to find matching method invocations to remove.

mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.RemoveMethodInvocations \ -P MethodPattern='Microsoft.AspNetCore.Builder.SwaggerBuilderExtensions UseSwagger(..)'

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