Author: spouliot
Date: 2008-02-03 12:17:54 -0500 (Sun, 03 Feb 2008)
New Revision: 94700
Modified:
trunk/mcs/class/corlib/System.IO/ChangeLog
trunk/mcs/class/corlib/System.IO/MemoryStream.cs
trunk/mcs/class/corlib/System.IO/Stream.cs
Log:
2008-02-03 Sebastien Pouliot <[EMAIL PROTECTED]>
* MemoryStream.cs: Remove unused code found by Gendarme.
Modified: trunk/mcs/class/corlib/System.IO/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.IO/ChangeLog 2008-02-03 17:03:46 UTC (rev
94699)
+++ trunk/mcs/class/corlib/System.IO/ChangeLog 2008-02-03 17:17:54 UTC (rev
94700)
@@ -1,3 +1,7 @@
+2008-02-03 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * MemoryStream.cs: Remove unused code found by Gendarme.
+
2008-01-16 Zoltan Varga <[EMAIL PROTECTED]>
* BinaryReader.cs: Fix ReadCharBytes method to avoid non-linear
behavior.
Modified: trunk/mcs/class/corlib/System.IO/MemoryStream.cs
===================================================================
--- trunk/mcs/class/corlib/System.IO/MemoryStream.cs 2008-02-03 17:03:46 UTC
(rev 94699)
+++ trunk/mcs/class/corlib/System.IO/MemoryStream.cs 2008-02-03 17:17:54 UTC
(rev 94700)
@@ -134,12 +134,6 @@
throw new ObjectDisposedException
("MemoryStream");
}
- void CheckIfClosedThrowIO ()
- {
- if (streamClosed)
- throw new IOException ("MemoryStream is
closed");
- }
-
public override bool CanRead {
get { return !streamClosed; }
}
Modified: trunk/mcs/class/corlib/System.IO/Stream.cs
===================================================================
--- trunk/mcs/class/corlib/System.IO/Stream.cs 2008-02-03 17:03:46 UTC (rev
94699)
+++ trunk/mcs/class/corlib/System.IO/Stream.cs 2008-02-03 17:17:54 UTC (rev
94700)
@@ -210,7 +210,7 @@
return result;
}
- delegate void WriteDelegate (byte [] buffer, int offset, int
count);
+// delegate void WriteDelegate (byte [] buffer, int offset, int
count);
public virtual IAsyncResult
BeginWrite (byte [] buffer, int offset, int count,
AsyncCallback cback, object state)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches