Obsolete WebRequest, ServicePoint and WebClient (#41400)
authorJan Jahoda <jajahoda@microsoft.com>
Fri, 28 Aug 2020 17:49:52 +0000 (19:49 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Aug 2020 17:49:52 +0000 (19:49 +0200)
commit9b79ee6db16b27d10a49c6f73b54cf13c38bdcaa
treec0c5f37680a3724fbac8268e35fa70af017e3244
parentaf415cd736f664bf2370dc55336847210c2ba2f0
Obsolete WebRequest, ServicePoint and WebClient (#41400)

* Obsolete WebRequest, ServicePoint and WebClient

* Update src/libraries/Common/src/System/Obsoletions.cs

Co-authored-by: Cory Nelson <phrosty@gmail.com>
* Remove obsoletion from FileWebRequest

* Add refs assemblies obsoletion

* Add missing attribute

* Add missing attribute

* Suppress warning for System.Media.SoundPlayer

* Change message id

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Cory Nelson <phrosty@gmail.com>
17 files changed:
src/libraries/Common/src/System/Obsoletions.cs
src/libraries/System.Net.Mail/src/System/Net/Mail/SmtpClient.cs
src/libraries/System.Net.Requests/ref/System.Net.Requests.cs
src/libraries/System.Net.Requests/src/System/Net/FileWebRequest.cs
src/libraries/System.Net.Requests/src/System/Net/FtpWebRequest.cs
src/libraries/System.Net.Requests/src/System/Net/HttpWebRequest.cs
src/libraries/System.Net.Requests/src/System/Net/WebRequest.cs
src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj
src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.cs
src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj
src/libraries/System.Net.ServicePoint/src/System/Net/ServicePointManager.cs
src/libraries/System.Net.ServicePoint/tests/System.Net.ServicePoint.Tests.csproj
src/libraries/System.Net.WebClient/ref/System.Net.WebClient.cs
src/libraries/System.Net.WebClient/src/System.Net.WebClient.csproj
src/libraries/System.Net.WebClient/src/System/Net/WebClient.cs
src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj
src/libraries/System.Windows.Extensions/src/System/Media/SoundPlayer.cs