X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Runtime.InteropServices%2FDefaultCharSetAttribute.cs;h=c2baa7ea72eaa23cfada6e8aa32d1bbede3f75a6;hb=9696a57e6467fbc700f32d32e44d83e7e16a7f59;hp=6007391cf8db41abc8ec766f5d4a9829ebf4ed2f;hpb=538d3bb80572334c18ae117ea7703406a4a22872;p=mono.git diff --git a/mcs/class/corlib/System.Runtime.InteropServices/DefaultCharSetAttribute.cs b/mcs/class/corlib/System.Runtime.InteropServices/DefaultCharSetAttribute.cs index 6007391cf8d..c2baa7ea72e 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/DefaultCharSetAttribute.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/DefaultCharSetAttribute.cs @@ -5,15 +5,14 @@ // Kazuki Oikawa (kazuki@panicode.com) // -#if NET_2_0 - using System; using System.Runtime.Serialization; namespace System.Runtime.InteropServices { [AttributeUsage (AttributeTargets.Module, Inherited = false)] - public class DefaultCharSetAttribute : Attribute + [ComVisible (true)] + public sealed class DefaultCharSetAttribute : Attribute { CharSet _set; @@ -25,4 +24,3 @@ namespace System.Runtime.InteropServices public CharSet CharSet { get { return _set; } } } } -#endif \ No newline at end of file