2007-01-22 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Mon, 22 Jan 2007 20:16:08 +0000 (20:16 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 22 Jan 2007 20:16:08 +0000 (20:16 -0000)
commitd3b0757c7d1ca8db5b6fcf8d6f2cf3a55950df0e
tree5333255145257794a635671854c43da8b21c054d
parent0f3890897904af3a45cb6797a82ac53d5089ef62
2007-01-22  Miguel de Icaza  <miguel@novell.com>

* DirectoryInfo.cs: Throw a better exception (accorind go the
docs, UnauthorizedAccessException is thrown if the underlying
platform does not support it and *also* if there are no
permissions to access it, which is more convenient than the
PlatformNotSupportedException that only states that it needs Win2k
or newer).

svn path=/trunk/mcs/; revision=71457
mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/DirectoryInfo.cs