[Mono-bugs] [Bug 340461] Support for setting NULL value for ImageBrush::ImageSource

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 9 15:12:02 EST 2007


--- Comment #4 from Sebastien Pouliot <spouliot at novell.com>  2007-11-09 13:12:02 MST ---
better here than in my IRC logs...

<miguel_> The MS specs say that the default value should be null
<spouliot> miguel_: ImageBrush.ImageSource is a Uri property (in SL 1.1)
<spouliot> and I think we mapped them into string inside libmoon - and string,
generally, have "" as default
<spouliot> actually "new ImageBrush ().ImageSource" throws a
ArgumentNullException for SL 1.1 (i.e. it doesn't return null)
<miguel_> Mhm
<spouliot> from the message it seems the Uri object is created in managed code,
so it returns a new Uri(null) which throws
<spouliot> so their own runtime must keep the default value to null
<spouliot> well a string value = null

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list