New test.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / FieldOffsetAttribute.cs
index 2249203020d983416890420ed15fc4a1f11f7ff2..76cd167b1355ab718c070cd7fde832e19f0017df 100644 (file)
@@ -24,7 +24,9 @@
 using System;
 
 namespace System.Runtime.InteropServices {
-
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [AttributeUsage (AttributeTargets.Field, Inherited=false)]
        public sealed class FieldOffsetAttribute : Attribute {
                private int val;