* Color.cs: To match MS.NET, throw ArgumentException instead of
authorGert Driesen <drieseng@users.sourceforge.net>
Tue, 16 Aug 2005 11:49:02 +0000 (11:49 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Tue, 16 Aug 2005 11:49:02 +0000 (11:49 -0000)
commit94168a5727752dcf22f07adb15280bb5524a9ff3
treefc000fc6080544820ab8c9a5aa50955fe33361ab
parent30509206825fd6eff9853be41ac8d8d5c7f69979
* Color.cs: To match MS.NET, throw ArgumentException instead of
ArgumentOutOfRangeException when color is not between 0 and 255.
* RectangleConverter.cs: Take culture into account when converting
to/from string. Use culture's ListSeparator as separator character.
* ColorConverter.cs: Mono now also throws ArgumentException when
color value is not between 0 and 255.
* TestColor.cs: Added tests for invalid color values.
* TestRectangleConverter.cs: Fixed tests for conversion to/from
string. Added tests that verify results using specific cultures.

svn path=/trunk/mcs/; revision=48426
mcs/class/System.Drawing/Makefile
mcs/class/System.Drawing/System.Drawing/ChangeLog
mcs/class/System.Drawing/System.Drawing/Color.cs
mcs/class/System.Drawing/System.Drawing/RectangleConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
mcs/class/System.Drawing/Test/System.Drawing/ColorConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestColor.cs
mcs/class/System.Drawing/Test/System.Drawing/TestRectangleConverter.cs