Change method name

Proprietary

Rename a method.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeMethodName

Required

A method pattern used to find matching method invocations.

The method name that will replace the existing name.

mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeMethodName \ -P MethodPattern='System.Uri EscapeUriString(System.String)' \ -P NewMethodName=EscapeDataString

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