File tree 1 file changed +2
-0
lines changed
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -821,9 +821,11 @@ public static string GetProtocolWarning(this SslProtocols protocol)
821
821
#pragma warning disable SYSLIB0039 // Type or member is obsolete: TLS 1.0 & 1.1 are deprecated
822
822
#endif
823
823
#pragma warning disable CS0618 // Type or member is obsolete : SSL is deprecated
824
+ #pragma warning disable CA5397 // Do not use deprecated SslProtocols values
824
825
#pragma warning disable CA5398 // Do not use deprecated SslProtocols values
825
826
if ( ( protocol & ( SslProtocols . Ssl2 | SslProtocols . Ssl3 | SslProtocols . Tls | SslProtocols . Tls11 ) ) != SslProtocols . None )
826
827
#pragma warning restore CA5398 // Do not use deprecated SslProtocols values
828
+ #pragma warning restore CA5397 // Do not use deprecated SslProtocols values
827
829
#pragma warning restore CS0618 // Type or member is obsolete : SSL is deprecated
828
830
#if NET8_0_OR_GREATER
829
831
#pragma warning restore SYSLIB0039 // Type or member is obsolete: SSL and TLS 1.0 & 1.1 is deprecated
You can’t perform that action at this time.
0 commit comments