[Mono-bugs] [Bug 76685][Nor] Changed - XML doc does not support
reference to indexer.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Nov 13 06:28:39 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-13 06:07:36.000000000 -0500
+++ shadow/76685.tmp.22234 2005-11-13 06:28:39.000000000 -0500
@@ -105,6 +105,26 @@
overloads including 'Test.A.this[string]'.
With the patch above it reports CS0419 (by the nature of our
implementation :-)
I will apply the patch above after I validated it.
+
+------- Additional Comments From gert.driesen at pandora.be 2005-11-13 06:28 -------
+The patch seems to work fine (thx!), but the warning message of mcs
+is less detailed.
+
+The message output by mcs is :
+
+test2.cs(4,14): error CS0419: Ambiguous reference in cref attribute
+`A.this'. Assuming `Test.A.Item' but other overloads including
+`Test.A.Item' have also matched
+
+while csc reports this:
+
+test.cs(4,14): error CS0419: Ambiguous reference in cref
+attribute: 'A.this'. Assuming 'Test.A.this[int]', but could have
+also matched other overloads including 'Test.A.this[string]'.
+
+Would it be possible to have the warning message match that of csc
+(meaning retain the 'this' keyword in the message instead of 'Item',
+and include the indexer args in the message) ?
More information about the mono-bugs
mailing list