http://bugzilla.novell.com/show_bug.cgi?id=539288


           Summary: Assembly.GetTypes() order of returned types different
                    compared to .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=318341)
 --> (http://bugzilla.novell.com/attachment.cgi?id=318341)
Tests case the shows .NET and mono behaviour difference

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.13)
Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13

NET returns bases classes of types first. (although this doesn't seem to be
documented on MSDN)

For example using a assembly containing these types:
class A : B
{

}

class B
{

}

NET returns B,A while mono returns A,B

Attaching test case showing problem.

Reproducible: Always

Steps to Reproduce:
1. Compile and run test program
2.
3.
Actual Results:  
TestGetTypes.A
TestGetTypes.B
TestGetTypes.C
TestGetTypes.Program

Expected Results:  
TestGetTypes.C
TestGetTypes.B
TestGetTypes.A
TestGetTypes.Program

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to