2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
authorAndreas N <andreas@mono-cvs.ximian.com>
Tue, 9 Mar 2004 23:34:46 +0000 (23:34 -0000)
committerAndreas N <andreas@mono-cvs.ximian.com>
Tue, 9 Mar 2004 23:34:46 +0000 (23:34 -0000)
* TypedReference.cs: Added missing Attributes
* ParamArrayAttribute.cs: Small style fix
* OperatingSystem.cs: Added .Net 1.1 member

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

mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/OperatingSystem.cs
mcs/class/corlib/System/ParamArrayAttribute.cs
mcs/class/corlib/System/TypedReference.cs

index ac505fb719be430fc27a1b989c7bec6b1c7da659..74b6c0789c0a81891f6e306739619a6a66be1960 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * TypedReference.cs: Added missing Attributes
+       * ParamArrayAttribute.cs: Small style fix
+       * OperatingSystem.cs: Added .Net 1.1 member
+
 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
 
        * FieldAccessException.cs
index a813defbf1c0a05eadd332a3372422065a25dd9a..7c5c84fc55070400bc4cefd98e0746e674b94b50 100644 (file)
@@ -59,6 +59,11 @@ namespace System
                        case (int) System.PlatformID.Win32Windows:
                                str = "Microsoft Windows 98";
                                break;
+#if NET_1_1
+                       case (int) System.PlatformID.WinCE:
+                               str = "Microsoft Windows CE";
+                               break;
+#endif
                        case 128 /* PlatformID.Unix */:
                                str = "Unix";
                                break;
@@ -70,6 +75,4 @@ namespace System
                        return str + " " + itsVersion.ToString();
                }
        }
-}\r
-
-
+}
index 322def26b8bc6f056f388b897ad4b31e97f23ed5..95081705e52afae7a0daf48a638d29c23d1193f2 100644 (file)
@@ -7,15 +7,15 @@
 // (C) Ximian, Inc.  http://www.ximian.com
 //
 
-namespace System {
-
+namespace System
+{
        /// <summary>
        ///   Used to flag that the method will take a variable number
        ///   of arguments
        /// </summary>
-       [AttributeUsage(AttributeTargets.Parameter)]
-       public sealed class ParamArrayAttribute : Attribute {
-
+       [AttributeUsage (AttributeTargets.Parameter)]
+       public sealed class ParamArrayAttribute : Attribute
+       {
                public ParamArrayAttribute ()
                {
                }
index a6ee7bf75954286b276a1214f9527ffbf32cdc5f..2d1d3761c06a5270910420fb0545a06e7c674a84 100755 (executable)
@@ -38,6 +38,7 @@ namespace System
                }
 
                [MonoTODO]
+               [CLSCompliant (false)]
                public static TypedReference MakeTypedReference (object target, FieldInfo[] flds) 
                {
                        if (target == null) {
@@ -54,6 +55,7 @@ namespace System
 
                /* how can we set something in value if it's passed by value? */
                [MonoTODO]
+               [CLSCompliant (false)]
                public static void SetTypedReference (TypedReference target, object value) 
                {
                        if (value == null) {