diff options
Diffstat (limited to 'csharp/src/Ice/TcpEndpointI.cs')
-rw-r--r-- | csharp/src/Ice/TcpEndpointI.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/csharp/src/Ice/TcpEndpointI.cs b/csharp/src/Ice/TcpEndpointI.cs index 6541470e53b..bb8c0e18638 100644 --- a/csharp/src/Ice/TcpEndpointI.cs +++ b/csharp/src/Ice/TcpEndpointI.cs @@ -9,10 +9,8 @@ namespace IceInternal { - using System.Diagnostics; using System.Collections.Generic; using System.Net; - using System; using System.Globalization; sealed class TcpEndpointI : IPEndpointI, WSEndpointDelegate @@ -150,20 +148,14 @@ namespace IceInternal public override Acceptor acceptor(string adapterName) { -#if SILVERLIGHT - throw new Ice.FeatureNotSupportedException("server endpoint not supported for `" + ToString() + "'"); -#else return new TcpAcceptor(this, instance_, host_, port_); -#endif } -#if !SILVERLIGHT public TcpEndpointI endpoint(TcpAcceptor acceptor) { return new TcpEndpointI(instance_, host_, acceptor.effectivePort(), sourceAddr_, _timeout, connectionId_, _compress); } -#endif public override string options() { |