Jumbo patch for NET_2_0, mscorlib is now clean
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Proxies / ProxyAttribute.cs
index 3b64713e0a659c9d1001a508ba09dce664829e93..c0a459e986a9ce83edf319661d14f8465a8a1234 100644 (file)
@@ -35,16 +35,12 @@ using System.Runtime.Remoting.Activation;
 using System.Runtime.Remoting.Contexts;
 using System.Runtime.Remoting.Channels;
 
-#if NET_2_0
 using System.Runtime.InteropServices;
-#endif
 
 namespace System.Runtime.Remoting.Proxies {
 
        [AttributeUsage (AttributeTargets.Class)]
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public class ProxyAttribute : Attribute, IContextAttribute
        {
                public ProxyAttribute ()
@@ -62,17 +58,13 @@ namespace System.Runtime.Remoting.Proxies {
                        return RemotingServices.GetRealProxy (RemotingServices.GetProxyForRemoteObject (objRef, serverType));
                }
 
-#if NET_2_0
                [ComVisible (true)]
-#endif
                public void GetPropertiesForNewContext (IConstructionCallMessage msg)
                {
                        // Nothing to add
                }
 
-#if NET_2_0
                [ComVisible (true)]
-#endif
                public bool IsContextOK (Context ctx, IConstructionCallMessage msg)
                {
                        return true;