[Mono-bugs] [Bug 75930][Min] New - [PATCH] CS0246 don't expand @class as @classAttribute

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 29 13:54:56 EDT 2005


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 atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75930

--- shadow/75930	2005-08-29 13:54:56.000000000 -0400
+++ shadow/75930.tmp.9511	2005-08-29 13:54:56.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 75930
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] CS0246 don't expand @class as @classAttribute
+
+when we use @escaped_name for attributes, it should not check
+ at escaped_nameAttribute.
+
+using System;
+
+public class classAttribute : Attribute
+{
+}
+
+[@class]
+class Foo
+{
+}
+
+Actual Results:
+compiled without error.
+
+Expected Results:
+escaped-name.cs(7,3): error CS0246: The type or namespace name `class'
+could not
+ be found. Are you missing a using directive or an assembly reference?


More information about the mono-bugs mailing list