Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <mabaul@microsoft.com>2017-05-12 21:32:50 +0300
committerGitHub <noreply@github.com>2017-05-12 21:32:50 +0300
commit5c0f506a8dbf13cac9a5bb581e243561d6eded19 (patch)
treeaf3f48e786a6c30a5362de5207f4643dc1b152d8 /mcs/class/System.Net.Http
parentb60cf06374041295c62848e94b7cb06efde784aa (diff)
[System]: Replace HttpListenerResponseHelper with HttpStatusDescription from CoreFX (#4833)
* [System]: Replace HttpListenerResponseHelper with HttpStatusDescription from CoreFX. * Update common.sources
Diffstat (limited to 'mcs/class/System.Net.Http')
-rw-r--r--mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs b/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs
index 25c9743fbc7..0bdd0b652a1 100644
--- a/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs
+++ b/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs
@@ -66,7 +66,7 @@ namespace System.Net.Http
public string ReasonPhrase {
get {
- return reasonPhrase ?? HttpListenerResponseHelper.GetStatusDescription ((int) statusCode);
+ return reasonPhrase ?? HttpStatusDescription.Get (statusCode);
}
set {
reasonPhrase = value;