[Mono-bugs] [Bug 76960][Nor] New - [/doc] CS1574 reported for reference to class in nested namespace

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 10 05:35:29 EST 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 gert.driesen at pandora.be.

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

--- shadow/76960	2005-12-10 05:35:29.000000000 -0500
+++ shadow/76960.tmp.4466	2005-12-10 05:35:29.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 76960
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [/doc] CS1574 reported for reference to class in nested namespace
+
+mcs reports CS1574 for a cref to a class in a nested namespace where the 
+name of the class matches the name of the nested namespace.
+
+To reproduce, compile the following code snippet (using mcs /doc:test.xml 
+test.cs):
+
+using log4net.Repository.Hierarchy;
+
+namespace log4net.Repository {
+  /// <summary>
+  /// <see cref="Hierarchy" />
+  /// </summary>
+  public interface ILog {
+  }
+}
+
+namespace log4net.Repository.Hierarchy {
+  /// <summary />
+  public class Hierarchy {
+    static void Main () {
+    }
+  }
+}
+	
+Actual result:
+
+test.cs(7,19): warning CS1574: XML comment on 'log4net.Repository.ILog' 
+has cref attribute 'Hierarchy' that could not be resolved
+
+Expected result:
+
+Successful compilation without warnings.


More information about the mono-bugs mailing list