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 [EMAIL PROTECTED]

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

--- shadow/76999        2005-12-14 16:02:44.000000000 -0500
+++ shadow/76999.tmp.3396       2005-12-14 16:02:44.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 76999
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: C#
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [/doc] CS1003/CS1658 is not reported for invalid class cref
+
+mcs does not report CS1003 (for .NET 1.x) or CS1658 (for .NET 2.0) for an 
+invalid class cref.
+
+To reproduce, compile the following code snippet (using mcs /doc:test.xml 
+test.cs):
+
+/// <summary>
+/// <see cref="Test[]" />
+/// </summary>
+public class Test {
+       static void Main () {
+       }
+}
+
+Actual result:
+
+Successful compilation with no warnings.
+
+Expected result:
+
+[C# 1.0]
+
+test.cs(2,20): warning CS1003: Syntax error, '(' expected
+test.cs(2,16): warning CS1584: XML comment on 'Test' has syntactically 
+incorrect cref attribute 'Test[]'
+
+[C# 2.0]
+
+test.cs(2,16): warning CS1584: XML comment on 'Test' has syntactically 
+incorrect cref attribute 'Test[]'
+test.cs(2,20): warning CS1658: Syntax error, '(' expected. See also error
+CS1003.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to