2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
commit16a56232b564d6931da7d25335982d5c6c6f2539
authorspouliot <spouliot@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Sun, 2 Nov 2008 00:46:24 +0000 (2 00:46 +0000)
committerspouliot <spouliot@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Sun, 2 Nov 2008 00:46:24 +0000 (2 00:46 +0000)
treec91b1ebf0171c58594502353bec16b6cf9425f5e
parent26e16d58a0c7b58363119a2d3f837a1bc2304d5e
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]

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@117627 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
class/System.Drawing/System.Drawing.Drawing2D/GraphicsPathIterator.cs
class/System.Drawing/System.Drawing.Drawing2D/LinearGradientBrush.cs
class/System.Drawing/System.Drawing.Drawing2D/PathGradientBrush.cs