Browse Source

2002-08-23 Gonzalo Paniagua Javier <[email protected]>

	* InternalBufferOverflowException.cs:
	* NotifyFilters.cs:
	* WatcherChangeTypes.cs: little fixes based on class status page.

svn path=/trunk/mcs/; revision=6928
Gonzalo Paniagua Javier 23 years ago
parent
commit
d5dcc5e01a

+ 6 - 0
mcs/class/System/System.IO/ChangeLog

@@ -1,3 +1,9 @@
+2002-08-23  Gonzalo Paniagua Javier <[email protected]>
+
+	* InternalBufferOverflowException.cs:
+	* NotifyFilters.cs:
+	* WatcherChangeTypes.cs: little fixes based on class status page.
+
 2002-08-15  Tim Coleman <[email protected]>
 	* ErrorEventArgs.cs:
 	* ErrorEventHandler.cs:

+ 1 - 1
mcs/class/System/System.IO/InternalBufferOverflowException.cs

@@ -26,7 +26,7 @@ namespace System.IO {
 		{
 		}
 
-		public InternalBufferOverflowException (SerializationInfo info, StreamingContext context)
+		protected InternalBufferOverflowException (SerializationInfo info, StreamingContext context)
 			: base (info, context)
 		{
 		}

+ 8 - 8
mcs/class/System/System.IO/NotifyFilters.cs

@@ -13,13 +13,13 @@ namespace System.IO {
 	[Flags]
 	[Serializable]
 	public enum NotifyFilters {
-		Attributes,
-		CreationTime,
-		DirectoryName,
-		FileName,
-		LastAccess,
-		LastWrite,
-		Security,
-		Size
+		Attributes = 4,
+		CreationTime = 64,
+		DirectoryName = 2,
+		FileName = 1,
+		LastAccess = 32,
+		LastWrite = 16,
+		Security = 256,
+		Size = 8
 	}
 }

+ 5 - 5
mcs/class/System/System.IO/WatcherChangeTypes.cs

@@ -13,10 +13,10 @@ namespace System.IO {
 	[Flags]
 	[Serializable]
 	public enum WatcherChangeTypes {
-		All,
-		Changed,
-		Created,
-		Deleted,
-		Renamed
+		All = 0xF,
+		Changed = 4,
+		Created = 1,
+		Deleted = 2,
+		Renamed = 8
 	}
 }