Quellcode durchsuchen

2010-06-18 Rolf Bjarne Kvinge <[email protected]>

	* FileStream.cs: Include a required ctor in NET_2_1 so that it compiles.

svn path=/trunk/mcs/; revision=159112
Rolf Bjarne Kvinge vor 15 Jahren
Ursprung
Commit
1302ff5653
2 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 4 0
      mcs/class/corlib/System.IO/ChangeLog
  2. 1 1
      mcs/class/corlib/System.IO/FileStream.cs

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

@@ -1,3 +1,7 @@
+2010-06-18  Rolf Bjarne Kvinge  <[email protected]>
+
+	* FileStream.cs: Include a required ctor in NET_2_1 so that it compiles.
+
 2010-05-20  Marek Habersack  <[email protected]>
 
 	* FileStream.cs: when running on Windows and a path with Unix

+ 1 - 1
mcs/class/corlib/System.IO/FileStream.cs

@@ -148,12 +148,12 @@ namespace System.IO
 		{
 		}
 
-#if !NET_2_1
 		public FileStream (string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
 			: this (path, mode, access, share, bufferSize, false, options)
 		{
 		}
 
+#if !NET_2_1
 		public FileStream (SafeFileHandle handle, FileAccess access)
 			:this(handle, access, DefaultBufferSize, false)
 		{