Delete method argument

Proprietary

Delete an argument from method invocations.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.DeleteMethodArgument

Required

A method pattern used to find matching method invocations.

The zero-based index of the argument to remove.

mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.DeleteMethodArgument \ -P MethodPattern='System.Security.Cryptography.Aes Create(System.String)' \ -P ArgumentIndex=0

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