Find obsolete Rfc2898DeriveBytes constructors (SYSLIB0060)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindRfc2898DeriveBytesObsoleteArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds new Rfc2898DeriveBytes(...) constructor calls which are obsolete in .NET 10. Use the static Rfc2898DeriveBytes.Pbkdf2() method instead.
Single recipenet10searchdotnetcryptographyProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindRfc2898DeriveBytesObsoleteIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet