Prechádzať zdrojové kódy

2007-04-03 Alp Toker <[email protected]>

	* UnmanagedMemoryStream.cs: Should not have a public Dispose().
	This behaviour is already provided by the base class.


svn path=/trunk/mcs/; revision=75324
Alp Toker 19 rokov pred
rodič
commit
c5d804e0ab

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

@@ -1,3 +1,8 @@
+2007-04-03  Alp Toker  <[email protected]>
+
+	* UnmanagedMemoryStream.cs: Should not have a public Dispose().
+	This behaviour is already provided by the base class.
+
 2007-04-03  Alp Toker  <[email protected]>
 
 	* Stream.cs: CreateWaitHandle() obsolete in 2.0.

+ 0 - 5
mcs/class/corlib/System.IO/UnmanagedMemoryStream.cs

@@ -270,11 +270,6 @@ namespace System.IO
 			//but is included as part of the Stream base class
 		}
 		 
-		public void Dispose ()
-		{
-			Dispose(true);
-		}
-		 
 		protected override void Dispose (bool disposing)
 		{