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=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: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to