2002-09-04 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Wed, 4 Sep 2002 04:55:20 +0000 (04:55 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 4 Sep 2002 04:55:20 +0000 (04:55 -0000)
* Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the actual value
instead of public.

* LocalDataStoreSlot.cs: Make constructor internal.

svn path=/trunk/mcs/; revision=7234

mcs/class/corlib/System/Boolean.cs
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/DateTime.cs
mcs/class/corlib/System/Double.cs
mcs/class/corlib/System/LocalDataStoreSlot.cs
mcs/class/corlib/System/Single.cs

index 741471bcdb10fdb73654ecbcacd7a2b075f8c0b1..e28e7cb00fa00f4595f3d61ccd54dc916982137b 100644 (file)
@@ -46,9 +46,8 @@ namespace System {
                /// <value>
                /// Internal bool value for for this instance
                /// </value>
-               //
-               // HACK: we tag it as public, so the source will compile.               
-               public bool value;
+
+               internal bool value;
        
                static Boolean () 
                {
index a41fba79057489de913d479602131f17a89976dc..da0897637620583c01a3318a64461a23a7378b0c 100644 (file)
@@ -1,5 +1,10 @@
 2002-09-04  Miguel de Icaza  <miguel@ximian.com>
 
+       * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
+       actual value instead of public.
+
+       * LocalDataStoreSlot.cs: Make constructor internal.
+
        * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
        SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
        instead of public.
index 9bd14a37a2ec5608a60667228c3fc03b6db1adff..53004a132a070a8cec9d70d546fa116d63c04b02 100644 (file)
@@ -20,7 +20,7 @@ namespace System
        /// </summary>\r
        /// \r
        [Serializable]\r
-       public struct DateTime : IComparable , IFormattable  , IConvertible\r
+       public struct DateTime : IComparable, IFormattable, IConvertible\r
        {\r
                private TimeSpan ticks;\r
 \r
index ea99f13a8caadb0ac735b4d9639dfcd2cef8a41e..33e9ad3e29c2881cd90440c2be8466f3b7599253 100644 (file)
@@ -23,9 +23,7 @@ namespace System {
                public const double NegativeInfinity = -1.0d / 0.0d;
                public const double PositiveInfinity = 1.0d / 0.0d;
                
-               // VES needs to know about value.  public is workaround
-               // so source will compile
-               public double value;
+               internal double value;
 
                public int CompareTo (object v)
                {
index 721d3ca880e0bc8324c7b270b26d8e89edff04b2..05be4386a6c1e9c7b37e719005ec23e45df2d7b4 100755 (executable)
@@ -14,5 +14,8 @@ namespace System
 {
        public sealed class LocalDataStoreSlot
        {
+               internal LocalDataStoreSlot ()
+               {
+               }
        }
 }
index 11b1f8758de034aa77badf53382e06feffce7406..672f5999cb8d5c7d41a8c8d93958a9b110639c23 100644 (file)
@@ -21,9 +21,7 @@ namespace System {
                public const float PositiveInfinity =  1.0f / 0.0f;
                public const float NegativeInfinity = -1.0f / 0.0f;
                        
-               // VES needs to know about value.  public is workaround
-               // so source will compile
-               public float value;
+               internal float value;
                        
                public int CompareTo (object v)
                {