[Mono-bugs] [Bug 76685][Nor] New - XML doc does not support reference to indexer.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 12 14:22:28 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=76685

--- shadow/76685	2005-11-12 14:22:28.000000000 -0500
+++ shadow/76685.tmp.3303	2005-11-12 14:22:28.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 76685
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XML doc does not support reference to indexer.
+
+mcs's support for /doc does not support references to indexers (using, 
+for example, <see cref="...." />).
+
+To reproduce compile the following code snippet (using mcs /doc:test.xml 
+test.cs):
+
+using System.Collections;
+
+/// <summary><see cref="IDictionary.this[object]" /></summary>
+public class Test {
+	static void Main () {
+	}
+}
+
+Actual result:
+
+test.cs(4,14): warning CS1584: XML Comment on 'Test' has syntactically 
+incorrect cref attribute 'IDictionary.this[object]'
+
+Expected result:
+
+Successful compilation, and the generated XML doc should look like this:
+
+<?xml version="1.0"?>
+<doc>
+    <assembly>
+        <name>test</name>
+    </assembly>
+    <members>
+        <member name="T:Test">
+            <summary><see cref="P:System.Collections.IDictionary.Item
+(System.Object)"/></summary>
+        </member>
+    </members>
+</doc>


More information about the mono-bugs mailing list