[Mono-bugs] [Bug 663287] New: NullableConverter.ConvertTo can't convert int? to int, whereas ms.net can

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 9 16:05:25 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=663287

https://bugzilla.novell.com/show_bug.cgi?id=663287#c0


           Summary: NullableConverter.ConvertTo can't convert int? to int,
                    whereas ms.net can
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cvolzke at live.com.au
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1036 Safari/532.5

NullableConverter.ConvertTo(null, null, (int?)5, typeof(int)) throws an
exception

Reproducible: Always

Steps to Reproduce:
Call NullableConverter.ConvertTo(null, null, (int?)5, typeof(int))

Actual Results:  
An exception is thrown

Expected Results:  
5 should be returned

-- 
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