X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Runtime.Remoting%2FSystem.Runtime.Remoting.Channels.Ipc%2FIpcChannel.cs;h=0b53f638b35c9846bf02b9d709706c6f1418e206;hb=b16bcb6332458610a13bb749b277f042ade32de2;hp=fdb89127181ccd492ba528d2fd411d8331a276d0;hpb=4a2ab0336e97f3591eebbb881a1471d3051946c9;p=mono.git diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Ipc/IpcChannel.cs b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Ipc/IpcChannel.cs index fdb89127181..0b53f638b35 100644 --- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Ipc/IpcChannel.cs +++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Ipc/IpcChannel.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -46,7 +45,7 @@ namespace System.Runtime.Remoting.Channels.Ipc { get { int p = (int) Environment.OSVersion.Platform; - return ((p == 4) || (p == 128)); + return ((p == 4) || (p == 128) || (p == 6)); } } @@ -86,16 +85,16 @@ namespace System.Runtime.Remoting.Channels.Ipc get { return _innerChannel.ChannelPriority; } } - public string Parse (string url, out string objectUri) + public string Parse (string url, out string objectURI) { - return _innerChannel.Parse (url, out objectUri); + return _innerChannel.Parse (url, out objectURI); } public IMessageSink CreateMessageSink (string url, object remoteChannelData, - out string objectUri) + out string objectURI) { - return ((IChannelSender)_innerChannel).CreateMessageSink (url, remoteChannelData, out objectUri); + return ((IChannelSender)_innerChannel).CreateMessageSink (url, remoteChannelData, out objectURI); } public object ChannelData @@ -103,9 +102,9 @@ namespace System.Runtime.Remoting.Channels.Ipc get { return ((IChannelReceiver)_innerChannel).ChannelData; } } - public string[] GetUrlsForUri (string objectUri) + public string[] GetUrlsForUri (string objectURI) { - return ((IChannelReceiver)_innerChannel).GetUrlsForUri (objectUri); + return ((IChannelReceiver)_innerChannel).GetUrlsForUri (objectURI); } public void StartListening (object data) @@ -121,4 +120,3 @@ namespace System.Runtime.Remoting.Channels.Ipc } } -#endif