[Mono-bugs] [Bug 491380] New: Can't use private nested attribute on parent class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 2 02:00:59 EDT 2009


           Summary: Can't use private nested attribute on parent class
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mhutchinson at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

If a class contains a private sealed nested attribute, it can't be used on the
class. This breaks the ASP.NET MVC build.

Here's  test-case, though I haven't tested it. This behaviour could well be a
csc bug anyway...

class Foo
    private sealed class BarAttribute : BazAttribute

class BazAttribute : Attribute

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