From 7f14c1c80572902db736ee4c23f94da2e1e7d601 Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Thu, 26 Mar 2020 15:58:43 +0100
Subject: [PATCH 1/9] New HttpRequestException.StatusCode property
HttpRequestException.StatusCode property gets the HTTP status code associated with the exception if any.
It was introduced in dotnet/runtime##32455
---
xml/System.Net.Http/HttpRequestException.xml | 87 ++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index 4bba3891bae..ece9af68ff8 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -141,5 +141,92 @@
To be added.
+
+
+
+
+
+
+
+ Constructor
+
+ System.Net.Http
+ 4.0.0.0
+ 4.1.0.0
+ 4.1.1.0
+ 4.2.0.0
+ 4.2.1.0
+ 4.2.2.0
+ 5.0.0.0
+
+
+ netstandard
+ 2.0.0.0
+ 2.1.0.0
+
+
+
+
+
+ A message that describes the current exception.
+ Initializes a new instance of the class with a specific message that describes the current exception.
+ To be added.
+
+
+
+
+
+
+
+
+
+ Constructor
+
+ System.Net.Http
+ 5.0.0.0
+
+
+ netstandard
+ 2.0.0.0
+ 2.1.0.0
+
+
+
+
+
+
+ A message that describes the current exception.
+ The inner exception.
+ The HTTP status code.
+ Initializes a new instance of the class with a specific message that describes the current exception, an inner exception, and an HTTP status code.
+ To be added.
+
+
+
+
+
+
+
+
+
+ Property
+
+ System.Net.Http
+ 5.0.0.0
+
+
+ netstandard
+ 2.0.0.0
+ 2.1.0.0
+
+
+ System.Nullable{System.Net.HttpStatusCode}
+
+
+ Gets the HTTP status code to be returned with the exception.
+ An HTTP status code if the exception represents a non-successful result, otherwise null.
+ To be added.
+
+
From e2ffb49b158700d4373bf962f7e6764cadd9fe4f Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Thu, 26 Mar 2020 18:33:31 +0100
Subject: [PATCH 2/9] netstandard versions and remarks removed
---
xml/System.Net.Http/HttpRequestException.xml | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index ece9af68ff8..dc84489d17c 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -185,11 +185,6 @@
System.Net.Http
5.0.0.0
-
- netstandard
- 2.0.0.0
- 2.1.0.0
-
@@ -199,7 +194,6 @@
The inner exception.
The HTTP status code.
Initializes a new instance of the class with a specific message that describes the current exception, an inner exception, and an HTTP status code.
- To be added.
@@ -214,18 +208,12 @@
System.Net.Http
5.0.0.0
-
- netstandard
- 2.0.0.0
- 2.1.0.0
-
System.Nullable{System.Net.HttpStatusCode}
Gets the HTTP status code to be returned with the exception.
An HTTP status code if the exception represents a non-successful result, otherwise null.
- To be added.
From 3950e887d1059a3d3879e637434d72de5060d43b Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Tue, 14 Apr 2020 14:38:04 +0200
Subject: [PATCH 3/9] Add a compatibility note in Remarks
Co-Authored-By: Genevieve Warren
---
xml/System.Net.Http/HttpRequestException.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index dc84489d17c..409cfa434e3 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -214,6 +214,16 @@
Gets the HTTP status code to be returned with the exception.
An HTTP status code if the exception represents a non-successful result, otherwise null.
+
+ [!NOTE]
+> This property is new in .NET 5.0.
+
+ ]]>
+
From f4e4c976f05767121fd4abd99fec84cbed0db73a Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Tue, 14 Apr 2020 14:39:01 +0200
Subject: [PATCH 4/9] Escape angle brackets
Co-Authored-By: Genevieve Warren
---
xml/System.Net.Http/HttpRequestException.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index 409cfa434e3..b41b5770987 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -175,7 +175,7 @@
-
+
From f297224c0487a20a27db97dc4c4060ff2e550d1f Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Tue, 14 Apr 2020 14:39:32 +0200
Subject: [PATCH 5/9] Escape another angle brackets
Co-Authored-By: Genevieve Warren
---
xml/System.Net.Http/HttpRequestException.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index b41b5770987..dffbc5a026d 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -198,7 +198,7 @@
-
+
From 8b71d0b73718b181ed3660e6cbd2f5089bd58b4f Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Tue, 14 Apr 2020 15:03:58 +0200
Subject: [PATCH 6/9] All remaining angle brackets escaped
---
xml/System.Net.Http/HttpRequestException.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index dffbc5a026d..12dab23c150 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -178,8 +178,8 @@
-
-
+
+
Constructor
System.Net.Http
@@ -201,8 +201,8 @@
-
-
+
+
Property
System.Net.Http
From 71cc93135fb48a80345ce2a8a1b55b2a4f5472ff Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Tue, 14 Apr 2020 15:35:30 +0200
Subject: [PATCH 7/9] Fix Nullable declaration for some languages
---
xml/System.Net.Http/HttpRequestException.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index 12dab23c150..4ab931dc52a 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -178,8 +178,8 @@
-
-
+
+
Constructor
System.Net.Http
@@ -201,8 +201,8 @@
-
-
+
+
Property
System.Net.Http
From fcf6eb8cf890f7ef859746a4915ddcc5cc4a20a1 Mon Sep 17 00:00:00 2001
From: Genevieve Warren
Date: Tue, 14 Apr 2020 15:28:40 -0700
Subject: [PATCH 8/9] Try updating Remarks section
---
xml/System.Net.Http/HttpRequestException.xml | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index 4ab931dc52a..c75c23d4ee4 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -214,16 +214,7 @@
Gets the HTTP status code to be returned with the exception.
An HTTP status code if the exception represents a non-successful result, otherwise null.
-
- [!NOTE]
-> This property is new in .NET 5.0.
-
- ]]>
-
+ This property is new in .NET 5.0.
From 2af41ef6ad1a0dcb93f50cce9e6a6d6cf8f7179d Mon Sep 17 00:00:00 2001
From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Date: Wed, 15 Apr 2020 15:49:54 +0200
Subject: [PATCH 9/9] .ctor duplicate removed
---
xml/System.Net.Http/HttpRequestException.xml | 32 --------------------
1 file changed, 32 deletions(-)
diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml
index c75c23d4ee4..cfd109bf860 100644
--- a/xml/System.Net.Http/HttpRequestException.xml
+++ b/xml/System.Net.Http/HttpRequestException.xml
@@ -141,38 +141,6 @@
To be added.
-
-
-
-
-
-
-
- Constructor
-
- System.Net.Http
- 4.0.0.0
- 4.1.0.0
- 4.1.1.0
- 4.2.0.0
- 4.2.1.0
- 4.2.2.0
- 5.0.0.0
-
-
- netstandard
- 2.0.0.0
- 2.1.0.0
-
-
-
-
-
- A message that describes the current exception.
- Initializes a new instance of the class with a specific message that describes the current exception.
- To be added.
-
-