Find obsolete SslProtocols.Tls/Tls11 usage (SYSLIB0039)

Proprietary

Finds usages of SslProtocols.Tls and SslProtocols.Tls11 which are obsolete in .NET 7 (SYSLIB0039). Use SslProtocols.Tls12, SslProtocols.Tls13, or SslProtocols.None instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net7.FindObsoleteSslProtocols
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net7.FindObsoleteSslProtocols

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