[Mono-bugs] [Bug 601141] New: [regression]: [s]mcs partial class support is broken / dependent on file order

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 29 18:38:14 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=601141#c0


           Summary: [regression]: [s]mcs partial class support is broken /
                    dependent on file order
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          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: ---
           Blocker: ---


Since the latest changes in trunk smcs cannot compile moonlight due to a bug
wrt partial classes. This was working with earlier revisions (e.g. moonlight is
using r155877 at the moment).

1. Compile mono/mcs HEAD
2. Compile moon (test with SVN r156445*)

/System.Windows.Controls/Border.cs(37,37): error CS0060: Inconsistent
accessibility: base class `System.Windows.FrameworkElement' is less accessible
than class `System.Windows.Controls.Border'
/System.Windows/DependencyObject.g.cs(80,23): (Location of the symbol related
to previous error)
/System.Windows.Controls/Control.cs(37,39): error CS0060: Inconsistent
accessibility: base class `System.Windows.FrameworkElement' is less accessible
than class `System.Windows.Controls.Control'
/System.Windows/DependencyObject.g.cs(80,23): (Location of the symbol related
to previous error)
/System.Windows/FrameworkElement.cs(40,39): error CS0060: Inconsistent
accessibility: base class `System.Windows.UIElement' is less accessible than
class `System.Windows.FrameworkElement'
/System.Windows/DependencyObject.g.cs(182,23): (Location of the symbol related
to previous error)
.. many more...

* moving the *.g.cs files at the end of the source list solve/hide the issue.

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