summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/ProtocolInstance.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
committerJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
commit20ead35bcd15c258b00da6b1a16d26107f8dea8b (patch)
tree0aa99a82b9d56383c76c372fc1050dfd5493b4e9 /csharp/src/Ice/ProtocolInstance.cs
parentFixed make install issue (diff)
downloadice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.bz2
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.xz
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.zip
CSharp mapping cleanup
- Remove code support for old ussuported frameworks (SILVERLIGHT, COMPACT, MONO) - Remove code support for deprecated collection mappings clr:collection
Diffstat (limited to 'csharp/src/Ice/ProtocolInstance.cs')
-rw-r--r--csharp/src/Ice/ProtocolInstance.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/csharp/src/Ice/ProtocolInstance.cs b/csharp/src/Ice/ProtocolInstance.cs
index 35ef7cc3909..9552e1e3198 100644
--- a/csharp/src/Ice/ProtocolInstance.cs
+++ b/csharp/src/Ice/ProtocolInstance.cs
@@ -7,11 +7,10 @@
//
// **********************************************************************
+using System.Net;
+
namespace IceInternal
{
- using System.Net;
- using System.Collections.Generic;
-
public class ProtocolInstance
{
public ProtocolInstance(Ice.Communicator communicator, short type, string protocol, bool secure)
@@ -113,13 +112,11 @@ namespace IceInternal
return instance_.messageSizeMax();
}
-#if !SILVERLIGHT
public void resolve(string host, int port, Ice.EndpointSelectionType type, IPEndpointI endpt,
EndpointI_connectors callback)
{
instance_.endpointHostResolver().resolve(host, port, type, endpt, callback);
}
-#endif
public BufSizeWarnInfo getBufSizeWarn(short type)
{