* BufferedStream.cs (SetLength): Add checks and throw the
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Wed, 9 Jun 2004 17:10:54 +0000 (17:10 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Wed, 9 Jun 2004 17:10:54 +0000 (17:10 -0000)
commit099f56bc862224f42e838ffc5871f27b4007d3da
treea9f9ebac7aa7a6a95a1797f6db1b1076a1c6ee42
parentefd6612d24ff6969aa683b3351b17f65360a879c
* BufferedStream.cs (SetLength): Add checks and throw the
appropriate Exceptions here instead.

* FileStream.cs (SetLength): Revert part of my last patch, we're
throwing ObjectDisposedException instead of IOException again.

svn path=/trunk/mcs/; revision=29123
mcs/class/corlib/System.IO/BufferedStream.cs
mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/FileStream.cs