Find obsolete MachineKey.Encode/Decode

Proprietary

Finds references to System.Web.Security.MachineKey, whose Encode/Decode methods are obsolete as of .NET Framework 4.5. Use MachineKey.Protect/MachineKey.Unprotect instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindObsoleteMachineKeyEncryption
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindObsoleteMachineKeyEncryption

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