s.Close ();
}
+#if MONOTOUCH
+ // when the linker is enabled then reflection won't work and would throw an NRE
+ // this is also always true for iOS - so we do not need to poke internals
+ static bool SupportsPortReuse ()
+ {
+ return true;
+ }
+#else
static bool? supportsPortReuse;
static bool SupportsPortReuse ()
{
.Invoke (null, new object [] {});
return supportsPortReuse.Value;
}
+#endif
// Test case for bug #31557
[Test]