projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[System*] Throw a PlatformNotSupported exception when using the managed networking...
[mono.git]
/
mcs
/
class
/
System
/
Test
/
System.Net
/
ServicePointTest.cs
diff --git
a/mcs/class/System/Test/System.Net/ServicePointTest.cs
b/mcs/class/System/Test/System.Net/ServicePointTest.cs
index 1e848148f92c21783688163be5f07e1fcb669a87..6171a2fd25587d85a535b496111aa114628536e0 100644
(file)
--- a/
mcs/class/System/Test/System.Net/ServicePointTest.cs
+++ b/
mcs/class/System/Test/System.Net/ServicePointTest.cs
@@
-23,6
+23,8
@@
namespace MonoTests.System.Net
public class ServicePointTest
\r
{
\r
static private int max;
\r
public class ServicePointTest
\r
{
\r
static private int max;
\r
+
\r
+#if !FEATURE_NO_BSD_SOCKETS
\r
[SetUp]
\r
public void SaveMax () {
\r
max = ServicePointManager.MaxServicePoints;
\r
[SetUp]
\r
public void SaveMax () {
\r
max = ServicePointManager.MaxServicePoints;
\r
@@
-33,6
+35,7
@@
public class ServicePointTest
public void RestoreMax () {
\r
ServicePointManager.MaxServicePoints = max;
\r
}
\r
public void RestoreMax () {
\r
ServicePointManager.MaxServicePoints = max;
\r
}
\r
+#endif
\r
\r
[Test]
\r
[Category ("InetAccess")]
\r
\r
[Test]
\r
[Category ("InetAccess")]
\r