X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Runtime.CompilerServices%2FDecimalConstantAttribute.cs;h=e655c5169527f6a2edbc15a7c87fb3be16969e35;hb=039fd253a603d641fe3806e7b1f5eea8bf78e459;hp=14dad1f65f6a7be338068861bcec0ab16a321b38;hpb=08c8eaa6cd668fb552117ead1d3c6b5577deea24;p=mono.git diff --git a/mcs/class/corlib/System.Runtime.CompilerServices/DecimalConstantAttribute.cs b/mcs/class/corlib/System.Runtime.CompilerServices/DecimalConstantAttribute.cs index 14dad1f65f6..e655c516952 100644 --- a/mcs/class/corlib/System.Runtime.CompilerServices/DecimalConstantAttribute.cs +++ b/mcs/class/corlib/System.Runtime.CompilerServices/DecimalConstantAttribute.cs @@ -29,6 +29,7 @@ // using System; +using System.Runtime.InteropServices; namespace System.Runtime.CompilerServices { @@ -38,6 +39,9 @@ namespace System.Runtime.CompilerServices { #endif [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter, Inherited=false)] +#if NET_2_0 + [ComVisible(true)] +#endif public sealed class DecimalConstantAttribute : Attribute { byte scale;