Find SafeEvpPKeyHandle.DuplicateHandle up-ref change

Proprietary

Finds calls to SafeEvpPKeyHandle.DuplicateHandle(). In .NET 9, this method now increments the reference count instead of creating a deep copy, which may affect handle lifetime.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindSafeEvpPKeyHandleDuplicate
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindSafeEvpPKeyHandleDuplicate

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