[System] Tweak define to exclude System.Net.WebProxy.CreateDefaultProxy and update...
[mono.git] / mcs / class / System / Test / System.Net / WebClientTest.cs
index 3b048781f29ad6a15109241cb99f362d55b2f521..30531be7e880c09a3d69330be30fbc807154b7dc 100644 (file)
@@ -1778,6 +1778,9 @@ namespace MonoTests.System.Net
                }
 
                [Test]
+#if FEATURE_NO_BSD_SOCKETS
+               [ExpectedException (typeof (PlatformNotSupportedException))]
+#endif
                public void DefaultProxy ()
                {
                        WebClient wc = new WebClient ();