Author: gert
Date: 2007-09-22 07:43:51 -0400 (Sat, 22 Sep 2007)
New Revision: 86205
Modified:
trunk/gert/standalone/bug77191/test.cs
Log:
Fixed compiler warning.
Modified: trunk/gert/standalone/bug77191/test.cs
===================================================================
--- trunk/gert/standalone/bug77191/test.cs 2007-09-22 11:24:48 UTC (rev
86204)
+++ trunk/gert/standalone/bug77191/test.cs 2007-09-22 11:43:51 UTC (rev
86205)
@@ -84,7 +84,11 @@
try {
int port = FindFreePort ();
Console.WriteLine (port);
+#if NET_2_0
+ ChannelServices.RegisterChannel (new TcpChannel
(port), false);
+#else
ChannelServices.RegisterChannel (new TcpChannel
(port));
+#endif
RemotedClass remotedClass = new RemotedClass ();
RemotingServices.Marshal (remotedClass, "Root");
try {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches