diff options
Diffstat (limited to 'csharp/src/Ice/ProtocolInstance.cs')
-rw-r--r-- | csharp/src/Ice/ProtocolInstance.cs | 7 |
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) { |