Просмотр исходного кода

2003-04-11 Ville Palo <[email protected]>

	* FileStream.cs: Added new methods Lock () and Unlock ()

svn path=/trunk/mcs/; revision=13518
Ville Palo 23 лет назад
Родитель
Сommit
283ec1b4a7
2 измененных файлов с 16 добавлено и 0 удалено
  1. 4 0
      mcs/class/corlib/System.IO/ChangeLog
  2. 12 0
      mcs/class/corlib/System.IO/FileStream.cs

+ 4 - 0
mcs/class/corlib/System.IO/ChangeLog

@@ -1,3 +1,7 @@
+2003-04-11  Ville Palo <[email protected]>
+
+	* FileStream.cs: Added new methods Lock () and Unlock ()
+	
 2003-04-11  Ville Palo <[email protected]>
 
 	* StringReader.cs: Throws exceptions if constructor parameter is null.

+ 12 - 0
mcs/class/corlib/System.IO/FileStream.cs

@@ -415,6 +415,18 @@ namespace System.IO
 			GC.SuppressFinalize (this);	// remove from finalize queue
 		}
 
+		[MonoTODO]
+		public virtual void Lock (long position, long length)
+		{
+			throw new NotImplementedException ();
+		}
+
+		[MonoTODO]
+		public virtual void Unlock (long position, long length)
+		{
+			throw new NotImplementedException ();
+		}
+
 		// protected
 
 		~FileStream ()