Kill the MOONLIGHT define in corlib.
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Activation / ActivationServices.cs
index 89263113954df269c80b097b499410870ae00530..3756f1df9b0f3820050a438e0c0a8cc625328698 100644 (file)
@@ -54,7 +54,7 @@ namespace System.Runtime.Remoting.Activation
                                return _constructionActivator;
                        }
                }
-#if !MOONLIGHT
+
                public static IMessage Activate (RemotingProxy proxy, ConstructionCall ctorCall)
                {
                        IMessage response;
@@ -73,7 +73,7 @@ namespace System.Runtime.Remoting.Activation
 
                        return response;
                }
-#endif
+
                public static IMessage RemoteActivate (IConstructionCallMessage ctorCall)
                {
                        try 
@@ -182,7 +182,7 @@ namespace System.Runtime.Remoting.Activation
                        identity.AttachServerObject ((MarshalByRefObject) obj, Threading.Thread.CurrentContext);
 
                        ConstructionCall call = ctorCall as ConstructionCall;
-#if !MOONLIGHT
+
                        if (ctorCall.ActivationType.IsContextful && call != null && call.SourceProxy != null)
                        {
                                call.SourceProxy.AttachIdentity (identity);
@@ -190,7 +190,6 @@ namespace System.Runtime.Remoting.Activation
                                RemotingServices.InternalExecuteMessage (target, ctorCall);
                        }
                        else
-#endif
                                ctorCall.MethodBase.Invoke (obj, ctorCall.Args);
 
                        return new ConstructionResponse (obj, null, ctorCall);