Find X500DistinguishedName string constructor stricter validation
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindX500DistinguishedNameValidationArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds new X500DistinguishedName(string, ...) constructor calls which have stricter validation in .NET 10. Non-Windows environments may reject previously accepted values.
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.FindX500DistinguishedNameValidationIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet