Find obsolete SslProtocols.Tls/Tls11 usage (SYSLIB0039)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net7.FindObsoleteSslProtocolsArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds usages of SslProtocols.Tls and SslProtocols.Tls11 which are obsolete in .NET 7 (SYSLIB0039). Use SslProtocols.Tls12, SslProtocols.Tls13, or SslProtocols.None instead.
Single recipesearchdotnetnet7networkingProprietary
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.Net7.FindObsoleteSslProtocolsIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet