* Makefile.am: Build `docs` after `runtime`, so that it can depend
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / MarshalAsAttribute.cs
old mode 100755 (executable)
new mode 100644 (file)
index 4c7695e..dde88d2
@@ -32,20 +32,32 @@ 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;
                public Type SafeArrayUserDefinedSubType;
 #if NET_2_0
-               public int IidParamIndex;
+               public int IidParameterIndex;
 #endif
 
                public MarshalAsAttribute (short unmanagedType) {