Find mutable certificate APIs (SYSLIB0026)

Proprietary

Find resolved public empty X509Certificate/X509Certificate2 constructors and obsolete Import invocations. Modern BCL imports throw PlatformNotSupportedException; empty construction remains possible but obsolete. Review immutable certificate creation/loading, preserving empty-state intent, content format, password/key storage, existing references, overrides and failure handling. Copy/handle/content constructors, other imports, custom declarations, unresolved calls and conditional snapshots remain unchanged. Opt-in review only.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net6.FindMutableX509Certificate
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net6.FindMutableX509Certificate

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