2009-06-30 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Activation / UrlAttribute.cs
index a60cd1b4c94bfeff93e867f6fa9c96284156a355..edb7e135315e055678fde34de956c8077ca69cad 100644 (file)
@@ -34,6 +34,9 @@ using System.Runtime.Remoting.Contexts;
 namespace System.Runtime.Remoting.Activation {
 
        [Serializable]
+#if NET_2_0
+       [System.Runtime.InteropServices.ComVisible (true)]
+#endif
        public sealed class UrlAttribute : ContextAttribute
        {
                string url;
@@ -61,11 +64,17 @@ namespace System.Runtime.Remoting.Activation {
                        return url.GetHashCode ();
                }
 
+#if NET_2_0
+               [System.Runtime.InteropServices.ComVisible (true)]
+#endif
                public override void GetPropertiesForNewContext (IConstructionCallMessage ctorMsg)
                {
                        // No new properties
                }
 
+#if NET_2_0
+               [System.Runtime.InteropServices.ComVisible (true)]
+#endif
                public override bool IsContextOK (Context ctx, IConstructionCallMessage msg)
                {
                        return true;