* Makefile.am: Build `docs` after `runtime`, so that it can depend
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / MarshalAsAttribute.cs
index 393ed1e25a7a877b45e22f2c618e38e2456f4591..dde88d2805e671b6bdd56a10481a6db905df4a65 100644 (file)
@@ -32,14 +32,26 @@ using System;
 
 namespace System.Runtime.InteropServices {
 
+#if NET_2_0
+       [ComVisible(true)]
+#endif 
        [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter | 
                         AttributeTargets.ReturnValue, Inherited=false)]
        public sealed class MarshalAsAttribute : Attribute {
                private UnmanagedType utype;
                public UnmanagedType ArraySubType;
                public string MarshalCookie;
+
+#if NET_2_0
+               [ComVisible(true)]
+#endif 
                public string MarshalType;
+
+#if NET_2_0
+               [ComVisible(true)]
+#endif 
                public Type MarshalTypeRef;
+               
                public VarEnum SafeArraySubType;
                public int SizeConst;
                public short SizeParamIndex;