Author: atsushi
Date: 2007-11-21 01:52:27 -0500 (Wed, 21 Nov 2007)
New Revision: 90063

Modified:
   trunk/mcs/class/corlib/System.Globalization/ChangeLog
   trunk/mcs/class/corlib/System.Globalization/NumberFormatInfo.cs
Log:
2007-11-21  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * NumberFormatInfo.cs :
          NativeDigits and DigitSubstitution are [ComVisible(false)].



Modified: trunk/mcs/class/corlib/System.Globalization/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Globalization/ChangeLog       2007-11-21 
06:41:46 UTC (rev 90062)
+++ trunk/mcs/class/corlib/System.Globalization/ChangeLog       2007-11-21 
06:52:27 UTC (rev 90063)
@@ -1,3 +1,8 @@
+2007-11-21  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * NumberFormatInfo.cs :
+         NativeDigits and DigitSubstitution are [ComVisible(false)].
+
 2007-09-10  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * DateTimeFormatInfo.cs : implemented SetAllDateTimePatterns().

Modified: trunk/mcs/class/corlib/System.Globalization/NumberFormatInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Globalization/NumberFormatInfo.cs     
2007-11-21 06:41:46 UTC (rev 90062)
+++ trunk/mcs/class/corlib/System.Globalization/NumberFormatInfo.cs     
2007-11-21 06:52:27 UTC (rev 90063)
@@ -45,10 +45,12 @@
 // Other than that this is totally ECMA compliant.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Globalization {
 
 #if NET_2_0
-       [System.Runtime.InteropServices.ComVisible(true)]
+       [ComVisible (true)]
 #endif
        [Serializable]
        public sealed class NumberFormatInfo : ICloneable, IFormatProvider {
@@ -524,6 +526,7 @@
                
 #if NET_2_0
                [MonoNotSupported ("We don't have native digit info")]
+               [ComVisible (false)]
                public string [] NativeDigits {
                        get { return nativeDigits; }
                        set {
@@ -539,6 +542,7 @@
                }
 
                [MonoNotSupported ("We don't have native digit info")]
+               [ComVisible (false)]
                public DigitShapes DigitSubstitution {
                        get { return (DigitShapes) digitSubstitution; }
                        set { digitSubstitution = (int) value; }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to