summaryrefslogtreecommitdiff
path: root/cs/src/Ice/ProtocolPluginFacade.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/src/Ice/ProtocolPluginFacade.cs')
-rw-r--r--cs/src/Ice/ProtocolPluginFacade.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cs/src/Ice/ProtocolPluginFacade.cs b/cs/src/Ice/ProtocolPluginFacade.cs
index adac4589b59..27c8a3b268e 100644
--- a/cs/src/Ice/ProtocolPluginFacade.cs
+++ b/cs/src/Ice/ProtocolPluginFacade.cs
@@ -17,11 +17,12 @@ namespace IceInternal
//
Ice.Communicator getCommunicator();
+#if !SILVERLIGHT
//
// Get the endpoint host resolver.
//
IceInternal.EndpointHostResolver getEndpointHostResolver();
-
+#endif
//
// Get the protocol support.
//
@@ -71,6 +72,7 @@ namespace IceInternal
return _communicator;
}
+#if !SILVERLIGHT
//
// Get the endpoint host resolver.
//
@@ -78,6 +80,7 @@ namespace IceInternal
{
return _instance.endpointHostResolver();
}
+#endif
//
// Get the protocol support.