Image.cs: Made GetThumbnailImage throw OutOfMemoryException when image size is invali...
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 5 Jul 2006 12:38:37 +0000 (12:38 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 5 Jul 2006 12:38:37 +0000 (12:38 -0000)
commit7f852841e41ace8c8cec5059fd2486682230d4f2
tree9df6d25aabe8a357bfe7056c45cc5d5bcc172ea7
parentc0fe87560bfc27b0b29e3e2030a7e42e633291bb
Image.cs: Made GetThumbnailImage throw OutOfMemoryException when image size is invalid (to match MS behaviour), also ensure that the Graphics instance is disposed even if CheckStatus throws an exception.

svn path=/trunk/mcs/; revision=62263
mcs/class/System.Drawing/System.Drawing/ChangeLog
mcs/class/System.Drawing/System.Drawing/Image.cs