X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Runtime.InteropServices%2FFieldOffsetAttribute.cs;h=76cd167b1355ab718c070cd7fde832e19f0017df;hb=b5cfba1835f2ba823796f825410e0062b7e4c9a3;hp=2249203020d983416890420ed15fc4a1f11f7ff2;hpb=e0cfa4925e036038f7be27e1b9208aa90b27b441;p=mono.git diff --git a/mcs/class/corlib/System.Runtime.InteropServices/FieldOffsetAttribute.cs b/mcs/class/corlib/System.Runtime.InteropServices/FieldOffsetAttribute.cs index 2249203020d..76cd167b135 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/FieldOffsetAttribute.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/FieldOffsetAttribute.cs @@ -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;