* corlib_test.dll.sources: Added FileNotFoundExceptionTest.cs.
commitab56dccc67ec8206da9323e23d501ad2467d2128
authorGert Driesen <drieseng@users.sourceforge.net>
Thu, 21 Sep 2006 19:00:28 +0000 (21 19:00 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Thu, 21 Sep 2006 19:00:28 +0000 (21 19:00 -0000)
tree71b4c1f0eea46783bed779d115b862eb04f89b63
parenta0271734820c28fe6e3c7d196c2245615883d2e8
* corlib_test.dll.sources: Added FileNotFoundExceptionTest.cs.
* Exception.cs: Marked message internal to allow derived classes to
access the raw message (without changing the public API).
* FileNotFoundException.cs: Changed message for default ctor to match
MS. Use internal message field of Exception to check whether Message
is null. On 2.0 profile, use file/assembly load failure message when
no message is set and a filename was specified. On 1.0 profile,
always use file/assembly load failure message when no message is set
(regardless of whether a filename was specified or not). Made some
cosmetic changes to ToString to have it match MS.
* FileNotFoundExceptionTest.cs: Added ctor tests.

svn path=/trunk/mcs/; revision=65792
mcs/class/corlib/ChangeLog
mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/FileNotFoundException.cs
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/Exception.cs
mcs/class/corlib/Test/System.IO/ChangeLog
mcs/class/corlib/Test/System.IO/FileNotFoundExceptionTest.cs [new file with mode: 0644]
mcs/class/corlib/corlib_test.dll.sources