[Mono-bugs] [Bug 677475] New: Type.GetGenericArguments called on an array not returning correct number of arguments

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 7 12:49:23 EST 2011


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

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


           Summary: Type.GetGenericArguments called on an array not
                    returning correct number of arguments
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: RHEL 4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: billholmes54 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=417894)
 --> (http://bugzilla.novell.com/attachment.cgi?id=417894)
Sample to reproduce

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15)
Gecko/20110303 Firefox/3.6.15 (.NET CLR 3.5.30729)

When calling Type.GetGenericArguments called on an array(KeyValuePair<int,
int>[]), the result is zero.

Reproducible: Always

Steps to Reproduce:
1. Run the attached code

Actual Results:  
Number of Generic Args = 0
Number of Generic Args = 2


Expected Results:  
Number of Generic Args = 2
Number of Generic Args = 2

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