[Mono-bugs] [Bug 57047][Wis] New - 'Tokenizer.consume_identifier()' should also store the fact that a given identifier was quoted

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 15 Apr 2004 02:01:30 -0400 (EDT)


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 rharinath@novell.com.

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

--- shadow/57047	2004-04-15 02:01:30.000000000 -0400
+++ shadow/57047.tmp.21988	2004-04-15 02:01:30.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 57047
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rharinath@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: 'Tokenizer.consume_identifier()' should also store the fact that a given identifier was quoted
+
+This is a followup to #56456.  Fixing that exposed an underlying problem. 
+The basic problem is that Tokenizer.consume_identifier() does not keep
+track of whether the identifier was quoted or not.  Thus, the following
+program is not compiled:
+
+  using System;
+  public class A : Attribute {
+        [@A]
+        public static void Main() {
+        }
+  }
+  public class AAttribute : Attribute {}