Find obsolete X509Certificate2/X509Certificate constructors (SYSLIB0057)
ProprietaryFinds usages of X509Certificate2 and X509Certificate constructors that accept binary content or file paths, which are obsolete in .NET 9 (SYSLIB0057). Use X509CertificateLoader methods instead.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net9. FindX509CertificateConstructorsmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net9. FindX509CertificateConstructorsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.