Author: dick
Date: 2007-05-01 07:08:28 -0400 (Tue, 01 May 2007)
New Revision: 76523

Modified:
   trunk/mcs/class/corlib/Microsoft.Win32/ChangeLog
   trunk/mcs/class/corlib/Microsoft.Win32/RegistryKeyPermissionCheck.cs
   trunk/mcs/class/corlib/System.IO/ChangeLog
   trunk/mcs/class/corlib/System.IO/File.cs
   trunk/mcs/class/corlib/System.IO/Stream.cs
Log:

2007-05-01  Dick Porter  <[EMAIL PROTECTED]>

        * File.cs:
        * Stream.cs: Missed a few 2.0 methods

2007-05-01  Dick Porter  <[EMAIL PROTECTED]>

        * RegistryKeyPermissionCheck.cs: Not serializable




Modified: trunk/mcs/class/corlib/Microsoft.Win32/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Microsoft.Win32/ChangeLog    2007-05-01 11:01:22 UTC 
(rev 76522)
+++ trunk/mcs/class/corlib/Microsoft.Win32/ChangeLog    2007-05-01 11:08:28 UTC 
(rev 76523)
@@ -1,3 +1,7 @@
+2007-05-01  Dick Porter  <[EMAIL PROTECTED]>
+
+       * RegistryKeyPermissionCheck.cs: Not serializable
+
 2007-04-30  Dick Porter  <[EMAIL PROTECTED]>
 
        * Registry.cs: 

Modified: trunk/mcs/class/corlib/Microsoft.Win32/RegistryKeyPermissionCheck.cs
===================================================================
--- trunk/mcs/class/corlib/Microsoft.Win32/RegistryKeyPermissionCheck.cs        
2007-05-01 11:01:22 UTC (rev 76522)
+++ trunk/mcs/class/corlib/Microsoft.Win32/RegistryKeyPermissionCheck.cs        
2007-05-01 11:08:28 UTC (rev 76523)
@@ -32,7 +32,6 @@
 namespace Microsoft.Win32
 {
 
-       [Serializable]
        public enum RegistryKeyPermissionCheck
        {
                Default                 = 0,

Modified: trunk/mcs/class/corlib/System.IO/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.IO/ChangeLog  2007-05-01 11:01:22 UTC (rev 
76522)
+++ trunk/mcs/class/corlib/System.IO/ChangeLog  2007-05-01 11:08:28 UTC (rev 
76523)
@@ -1,3 +1,8 @@
+2007-05-01  Dick Porter  <[EMAIL PROTECTED]>
+
+       * File.cs:
+       * Stream.cs: Missed a few 2.0 methods
+
 2007-04-30  Dick Porter  <[EMAIL PROTECTED]>
 
        * Directory.cs: 

Modified: trunk/mcs/class/corlib/System.IO/File.cs
===================================================================
--- trunk/mcs/class/corlib/System.IO/File.cs    2007-05-01 11:01:22 UTC (rev 
76522)
+++ trunk/mcs/class/corlib/System.IO/File.cs    2007-05-01 11:08:28 UTC (rev 
76523)
@@ -1,5 +1,5 @@
 // 
-// System.IO.FIle.cs 
+// System.IO.File.cs 
 //
 // 
 // Authors:
@@ -217,6 +217,18 @@
                        return MonoIO.ExistsFile (path, out error);
                }
 
+#if NET_2_0
+               public static FileSecurity GetAccessControl (string path)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               public static FileSecurity GetAccessControl (string path, 
AccessControlSections includeSections)
+               {
+                       throw new NotImplementedException ();
+               }
+#endif
+
                public static FileAttributes GetAttributes (string path)
                {
                        if (null == path) {
@@ -382,6 +394,29 @@
                        return new FileStream(path, FileMode.OpenOrCreate, 
FileAccess.Write, FileShare.None);
                }
 
+#if NET_2_0
+               public static void Replace (string sourceFileName,
+                                           string destinationFileName,
+                                           string destinationBackupFileName)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               public static void Replace (string sourceFileName,
+                                           string destinationFileName,
+                                           string destinationBackupFileName,
+                                           bool ignoreMetadataErrors)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               public static void SetAccessControl (string path,
+                                                    FileSecurity fileSecurity)
+               {
+                       throw new NotImplementedException ();
+               }
+#endif
+
                public static void SetAttributes (string path,
                                                  FileAttributes attributes)
                {

Modified: trunk/mcs/class/corlib/System.IO/Stream.cs
===================================================================
--- trunk/mcs/class/corlib/System.IO/Stream.cs  2007-05-01 11:01:22 UTC (rev 
76522)
+++ trunk/mcs/class/corlib/System.IO/Stream.cs  2007-05-01 11:08:28 UTC (rev 
76523)
@@ -40,6 +40,9 @@
 namespace System.IO
 {
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public abstract class Stream : MarshalByRefObject, IDisposable
        {
                public static readonly Stream Null = new NullStream ();
@@ -124,6 +127,11 @@
                                throw new InvalidOperationException ("Timeouts 
are not supported on this stream.");
                        }
                }
+
+               public static Stream Synchronized (Stream stream)
+               {
+                       throw new NotImplementedException ();
+               }
 #else
                // 1.1 version of Close
                public virtual void Close ()

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

Reply via email to