You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/project/list-of-diagnostics.md
+2
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,8 @@ The PR that reveals the implementation of the `<IncludeInternalObsoleteAttribute
92
92
|__`SYSLIB0035`__| ComputeCounterSignature without specifying a CmsSigner is obsolete and is not supported. Use the overload that accepts a CmsSigner. |
93
93
|__`SYSLIB0036`__| Regex.CompileToAssembly is obsolete and not supported. Use RegexGeneratorAttribute with the regular expression source generator instead. |
94
94
|__`SYSLIB0037`__| AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported. |
95
+
|__`SYSLIB0038`__| SerializationFormat.Binary is obsolete and should not be used. See https://aka.ms/serializationformat-binary-obsolete for more information. |
96
+
|__`SYSLIB0039`__| TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults. |
Copy file name to clipboardExpand all lines: src/libraries/Common/src/System/Obsoletions.cs
+3
Original file line number
Diff line number
Diff line change
@@ -126,5 +126,8 @@ internal static class Obsoletions
126
126
127
127
internalconststringSystemDataSerializationFormatBinaryMessage="SerializationFormat.Binary is obsolete and should not be used. See https://aka.ms/serializationformat-binary-obsolete for more information.";
internalconststringTlsVersion10and11Message="TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.";
Copy file name to clipboardExpand all lines: src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs
+4-2
Original file line number
Diff line number
Diff line change
@@ -516,9 +516,11 @@ public enum SslProtocols
516
516
Ssl2=12,
517
517
[System.ObsoleteAttribute("SslProtocols.Ssl3 has been deprecated and is not supported.")]
518
518
Ssl3=48,
519
+
[System.ObsoleteAttribute("TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.",DiagnosticId="SYSLIB0039",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
519
520
Tls=192,
520
521
[System.ObsoleteAttribute("SslProtocols.Default has been deprecated and is not supported.")]
521
522
Default=240,
523
+
[System.ObsoleteAttribute("TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.",DiagnosticId="SYSLIB0039",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
0 commit comments