[Mono-bugs] [Bug 537414] New: mcs prefers corlib types to assembly types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 8 10:39:46 EDT 2009


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


           Summary: mcs prefers corlib types to assembly types
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=317224)
 --> (http://bugzilla.novell.com/attachment.cgi?id=317224)
test case from (uncommitted) moonlight unit tests

If the same type name (including namespace) is defined in both the assembly
being compiled and mscorlib (possibly others too) then *mcs prefers the one in
corlib while MS csc prefers the one in the assembly.

Not sure what the specs are in this case (and I prefer out own behavior) but it
could break compatibility since our compiled assembly would be different from
the one MS compile.

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


More information about the mono-bugs mailing list