Find obsolete Rfc2898DeriveBytes constructors (SYSLIB0060)

Proprietary

Finds new Rfc2898DeriveBytes(...) constructor calls which are obsolete in .NET 10. Use the static Rfc2898DeriveBytes.Pbkdf2() method instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindRfc2898DeriveBytesObsolete
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindRfc2898DeriveBytesObsolete

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