[Mono-bugs] [Bug 456775] New: wrong scope for attributes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 5 09:00:40 EST 2008


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


           Summary: wrong scope for attributes
           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: sdelcroix at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


the following code snipper doesn't build on Mono (and it does on .NET):

using System;

class FooAttribute : Attribute {

        public FooAttribute (string f)
        {
        }
}

[Foo (Bar)]
class Test {

        const string Bar = "Bar";
}

class Program {

        static void Main ()
        {
        }
}


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