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:
authorAndi McClure <andi.mcclure@xamarin.com>2017-04-18 00:50:56 +0300
committerAndi McClure <andi.mcclure@xamarin.com>2017-04-18 18:09:28 +0300
commit60ffbfb7252fbaa18323cd473c51307911cca6b9 (patch)
tree2360c60996a28d660f936a90156119320aa2a7b7 /mcs/class/referencesource
parent20e00bd15b52e9cf5b7fdd07b39be81d093978dc (diff)
Minor orbis fix in System.Net
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r--mcs/class/referencesource/System/net/System/Net/webproxy.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/class/referencesource/System/net/System/Net/webproxy.cs b/mcs/class/referencesource/System/net/System/Net/webproxy.cs
index 80fef4d94d1..0f874b3fa5f 100644
--- a/mcs/class/referencesource/System/net/System/Net/webproxy.cs
+++ b/mcs/class/referencesource/System/net/System/Net/webproxy.cs
@@ -504,7 +504,7 @@ namespace System.Net {
#if MONO
public static IWebProxy CreateDefaultProxy ()
{
-#if FEATURE_NO_BSD_SOCKETS || ORBIS
+#if FEATURE_NO_BSD_SOCKETS
throw new PlatformNotSupportedException ();
#elif MONOTOUCH
return Mono.Net.CFNetwork.GetDefaultProxy ();
@@ -515,6 +515,8 @@ namespace System.Net {
return data;
return new WebProxy (true);
+#elif ORBIS
+ return new WebProxy (true);
#else
if (Platform.IsMacOS) {
var data = Mono.Net.CFNetwork.GetDefaultProxy ();