[Mono-bugs] [Bug 484294] Type.GetMethod does not find methods with nullable parameters when expected

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 11 09:30:05 EDT 2009


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

User skolima at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=484294#c1


Leszek Ciesielski <skolima at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skolima at gmail.com




--- Comment #1 from Leszek Ciesielski <skolima at gmail.com>  2009-03-11 07:30:05 MST ---
Type.GetMethod should find method taking e.g. a nullable (Int32?) when
parameters array contains a non-nullable type (Int32). This works on MS.Net,
but not on Mono.

As a side-note, MethodInfo.ToString() produces different output on Mono than on
MS.Net.

To reproduce:
1. Compile and run attached test case
Actual output:
empty output
Expected output:
Void SetA(System.Nullable`1[System.Int32])
(as outputed by MS.Net)

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