[Mono-bugs] [Bug 663287] NullableConverter.ConvertTo can't convert int? to int, whereas ms.net can
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 4 16:08:07 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=663287
https://bugzilla.novell.com/show_bug.cgi?id=663287#c2
Veerapuram Varadhan <vvaradhan at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |vvaradhan at novell.com
InfoProvider| |cvolzke at live.com.au
--- Comment #2 from Veerapuram Varadhan <vvaradhan at novell.com> 2011-05-04 20:08:07 UTC ---
Can you paste the exact sample code that throws the exception?
(In reply to comment #1)
> To fix, change:
>
> if (destinationType == underlyingType && value.GetType() == nullableType)
>
> to
>
> if (destinationType == underlyingType && value.GetType() == underlyingType)
--
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