2007-08-17 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / DecimalConstantAttribute.cs
index 14dad1f65f6a7be338068861bcec0ab16a321b38..e655c5169527f6a2edbc15a7c87fb3be16969e35 100644 (file)
@@ -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;