Change type

Proprietary

Change a type reference to another type.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType

Required

Fully-qualified class name of the original type.

Fully-qualified class name of the replacement type.

mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType \ -P OldFullyQualifiedTypeName=System.Security.Cryptography.AesCryptoServiceProvider \ -P NewFullyQualifiedTypeName=System.Security.Cryptography.Aes

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