Bugzilla – Bug 316814
mcs reports warning for missing doc comment on default ctor
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by gert.driesen@pandora.be 2005-01-06 04:21:05 MST ---- When a valid doc comment is present on both the Test class and the Main method mcs still reports a warning : using System; /// <summary> /// whatever /// </summary> public class Test { /// <summary> /// whatever /// </summary> public static void Main() { } } The output from mcs is: test.cs(6) warning CS1591: Missing XML comment for publicly visible type or member 'Test.Test()' Compilation succeeded - 1 warning(s) Note that the warning also talks about the default ctor. In some way this warning makes sense, ofcourse. But it does not match the behavior of csc. Note when the class is static, no warning is emitted (which is fine). This works fine using csc (both 1.x and 2.0). ---- Additional Comments From atsushi@ximian.com 2005-01-06 10:41:34 MST ---- Fixed in svn too. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Windows XP RC2</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".