X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Runtime.Remoting%2FSystem.Runtime.Remoting.Channels.Tcp%2FTcpServerChannel.cs;h=c5b17e23550ce9edd1dd553475d0422e48ba880e;hb=65a753f87a71c6aff8e21c838bd33c7065c1d7f5;hp=a97ecf4e97bac3a8daaa3d00717b891c034f303b;hpb=856d3d578e448b41d9aff371158ac2d931b25cfa;p=mono.git diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs index a97ecf4e97b..c5b17e23550 100644 --- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs +++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs @@ -246,15 +246,15 @@ namespace System.Runtime.Remoting.Channels.Tcp bool end = false; while (!end) { - MessageType type = TcpMessageIO.ReceiveMessageType (_stream); + MessageStatus type = TcpMessageIO.ReceiveMessageStatus (_stream); switch (type) { - case MessageType.MethodMessage: + case MessageStatus.MethodMessage: _sink.InternalProcessMessage (this); break; - case MessageType.CancelSignal: + case MessageStatus.CancelSignal: end = true; break; }