[Mono-bugs] [Bug 71041][Nor] New - mcs emits no warning for missing doc comment on member of class

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 6 Jan 2005 04:14:25 -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 gert.driesen@pandora.be.

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

--- shadow/71041	2005-01-06 04:14:25.000000000 -0500
+++ shadow/71041.tmp.14565	2005-01-06 04:14:25.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 71041
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Windows XP RC2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: atsushi@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs emits no warning for missing doc comment on member of class
+
+mcs does not emit a warning for a missing comment on Test.Main() (when 
+compiling with warning level 4) when there's no doc comment on the Test 
+class :
+
+using System;
+
+public class Test {
+        public static void Main() {
+        }
+}
+
+The output from mcs is:
+
+test2.cs(3) warning CS1591: Missing XML comment for publicly visible type 
+or member 'Test'
+Compilation succeeded - 1 warning(s)
+
+While csc outputs the following warnings:
+
+test2.cs(3,14): warning CS1591: Missing XML comment for publicly visible 
+type or member 'Test'
+test2.cs(4,21): warning CS1591: Missing XML comment for publicly visible 
+type or member 'Test.Main()'