[Mono-bugs] [Bug 72968][Min] Changed - [PATCH] CS0658 is not reported

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 23 14:22:40 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.


--- shadow/72968	2005-08-23 14:21:22.000000000 -0400
+++ shadow/72968.tmp.32306	2005-08-23 14:22:40.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 72968
 Product: Mono: Compilers
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Minor
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: marek.safar at seznam.cz               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-Summary: CS0658 is not reported
+Summary: [PATCH] CS0658 is not reported
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 Compile sample.
@@ -41,6 +41,18 @@
 CS0658: 'class' is not a recognized attribute location.
 ------- Additional Comments From atsushi at ximian.com  2005-08-23 14:21 -------
 Created an attachment (id=15620)
 proposed fix
+------- Additional Comments From atsushi at ximian.com  2005-08-23 14:22 -------
+With the attached patch, the output is:
+$ mono ../../svn/mcs/mcs/mcs.exe 72968.cs
+syntax error, got token `CLASS'
+72968.cs(5,2): warning CS0658: 'class' is not a recognized attribute
+location. All attributes in this attribute section will be ignored.
+Compilation succeeded - 1 warning(s)
+Is there any way to surpress "syntax error" line?

More information about the mono-bugs mailing list