Skip to content

Commit

Permalink
Fix Roslyn Analyzer Warning in 4.0 (#2519)
Browse files Browse the repository at this point in the history
  • Loading branch information
arellegue authored May 17, 2024
1 parent 3eb855e commit 3df0cd7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ internal abstract class SNIHandle
/// </summary>
protected readonly SslProtocols SupportedProtocols = LocalAppContextSwitches.UseSystemDefaultSecureProtocols ? SslProtocols.None : SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls
//protected readonly SslProtocols SupportedProtocols = SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls
#pragma warning disable CS0618 // Type or member is obsolete
#pragma warning disable CS0618, CA5397 // Type or member is obsolete
| SslProtocols.Ssl2 | SslProtocols.Ssl3
#pragma warning restore CS0618 // Type or member is obsolete
#pragma warning restore CS0618, CA5397 // Type or member is obsolete
;

/// <summary>
Expand Down

0 comments on commit 3df0cd7

Please sign in to comment.