2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
commit6dfeaed97ed5f47d783dd5538d45da880eab9db2
authorSebastien Pouliot <sebastien@ximian.com>
Mon, 6 Oct 2008 17:13:56 +0000 (6 17:13 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Mon, 6 Oct 2008 17:13:56 +0000 (6 17:13 -0000)
tree5033ec23e4bfee47dc62d92f35d873616a8f9ccb
parentcabb2c8b30f6443b95a01c94330260ab14a93281
2008-10-06  Sebastien Pouliot  <sebastien@ximian.com>
* Color.cs: Fix Color serialization by changing 'value' visibility
to private and make everyone access it thru an internal property.
This also simplify the A, R, G and B properties and probably covers
a few other cases where a similar hack would have been required.
[Fix bug #410693]
* KnownColors.cs: Assign Color.Value property and not the value field.

svn path=/trunk/mcs/; revision=114971
mcs/class/System.Drawing/System.Drawing/ChangeLog
mcs/class/System.Drawing/System.Drawing/Color.cs
mcs/class/System.Drawing/System.Drawing/KnownColors.cs