diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2007-07-21 13:03:40 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2007-07-21 13:03:40 +0400 |
commit | 29389a715706be264255869cf52355498567d9e3 (patch) | |
tree | 75575fe367fc0b6fcc234ae6ca90ac10e7f7cea3 /mcs/class/System/System.ComponentModel.Design.Serialization | |
parent | c18956281563988ba5b0d56900636a3ef8b48240 (diff) |
* BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
of ArgumentOutOfRangeException and ArgumentException ctors that take
both parameter name and message. In ToString throws ArgumentException
instead of ArgumentOutOfRangeException when length is negative, and
return zero-length string when length is 0.
* BitConverterTest.cs: Remove use of deprecated Assertion class.
Improved existing tests to verify throws exception. Create separate
tests for null argument checking. Added tests for empty byte array.
svn path=/trunk/mcs/; revision=82410
Diffstat (limited to 'mcs/class/System/System.ComponentModel.Design.Serialization')
0 files changed, 0 insertions, 0 deletions