2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Sun, 2 Nov 2008 00:46:24 +0000 (00:46 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Sun, 2 Nov 2008 00:46:24 +0000 (00:46 -0000)
commit07be13d622fb7d789931c60fca5757aed7fea2ce
treef891973e2c15f3e1fd5dcfaa4556d62199e1a879
parent54587bcdea61a2b9ad3371205f0198d595b602bf
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathIterator.cs: Add proper null check that match the same
behavior that MS has.
* LinearGradientBrush.cs: Add comments to setter that dont do any null
check in order to be compatible with MS. Fix InterpolationColors to
throw a ArgumentNullException.
* PathGradientBrush.cs: Add comments to setter that dont do any null
check in order to be compatible with MS.
[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]

svn path=/trunk/mcs/; revision=117627
mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPathIterator.cs
mcs/class/System.Drawing/System.Drawing.Drawing2D/LinearGradientBrush.cs
mcs/class/System.Drawing/System.Drawing.Drawing2D/PathGradientBrush.cs