Throw with ParamName=value instead of Encoding (#38820)
authorYoussef Victor <31348972+Youssef1313@users.noreply.github.com>
Wed, 8 Jul 2020 17:54:54 +0000 (19:54 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2020 17:54:54 +0000 (10:54 -0700)
commitc5639174bfa94fda89096d5da77fa5b931bcdd22
treeb8485e08edb46ed3e213e4c9043e1b070515982c
parent80e954f487500de665a678992e9b635ed2b4d63b
Throw with ParamName=value instead of Encoding (#38820)

* Throw with ParamName=value instead of Encoding

* Update WebClientTest.cs
src/libraries/System.Net.WebClient/src/System/Net/WebClient.cs
src/libraries/System.Net.WebClient/tests/WebClientTest.cs