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
jjonescz
changed the title
Consider if we need to use the obsolete ServicePointManager
Consider not using the obsolete ServicePointManager
Oct 14, 2024
We use it in several places like:
https://github.com/dotnet/roslyn/blob/b1567b7c200461e1df4f3644ec107c494d925c83/src/Features/DiagnosticsTestUtilities/CodeActions/CSharpCodeFixVerifier%602%2BTest.cs#L45
WebRequest, WebClient, and ServicePoint are obsolete since .NET 6. See https://learn.microsoft.com/en-us/dotnet/core/compatibility/networking/6.0/webrequest-deprecated.
So it raises warning https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib0014.
The text was updated successfully, but these errors were encountered: