[Mono-bugs] [Bug 72756][Wis] New - mcs has problems handling nested attributes
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 19 Feb 2005 10:42:40 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by malekith@pld-linux.org.
http://bugzilla.ximian.com/show_bug.cgi?id=72756
--- shadow/72756 2005-02-19 10:42:40.000000000 -0500
+++ shadow/72756.tmp.3330 2005-02-19 10:42:40.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 72756
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: malekith@pld-linux.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs has problems handling nested attributes
+
+The following program:
+
+using System;
+
+public class A
+{
+ [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
+ public class BAttribute : Attribute
+ {
+ }
+}
+
+
+[A.B()]
+public class C
+{
+}
+
+
+fails to compile using mcs from todays svn trunk. gmcs (and csc) work fine.
+
+It is extracted from ndoc.