From 9804b4bd36510b302f4573da6c8c49751156b7b3 Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Sat, 4 Apr 2020 13:31:38 +0800 Subject: [PATCH 1/2] HttpListener.IsSupported always returns true --- xml/System.Net/HttpListener.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xml/System.Net/HttpListener.xml b/xml/System.Net/HttpListener.xml index 2d7ec0cf3f1..ef849fafe7f 100644 --- a/xml/System.Net/HttpListener.xml +++ b/xml/System.Net/HttpListener.xml @@ -965,15 +965,10 @@ The following code example demonstrates calling the `Close` method: Gets a value that indicates whether can be used with the current operating system. - if is supported; otherwise, . + Returns on all supported platforms. property to detect whether an object can be used with the current operating system. From e49336384bb410212d024a813f46d660e5d57a3c Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Sat, 11 Apr 2020 11:11:34 +0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-Authored-By: Genevieve Warren --- xml/System.Net/HttpListener.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Net/HttpListener.xml b/xml/System.Net/HttpListener.xml index ef849fafe7f..4b3aac50df7 100644 --- a/xml/System.Net/HttpListener.xml +++ b/xml/System.Net/HttpListener.xml @@ -965,7 +965,7 @@ The following code example demonstrates calling the `Close` method: Gets a value that indicates whether can be used with the current operating system. - Returns on all supported platforms. + on all platforms.