Bugzilla – Bug 319552
[/doc] CS0419 is not reported for ambiguous cref to a overloaded method
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by gert.driesen@pandora.be 2005-11-16 14:57:53 MST ---- mcs does not report CS0419 for an ambiguous cref to a method. To reproduce, compile the following code snippet (using mcs /doc:test.xml /warn:4 test.cs) using System; /// <summary> /// <see cref="DateTime.ToString" /> /// </summary> public class EntryPoint { static void Main () { } } Actual result: No warning Expected result: test.cs(4,16): warning CS0419: Ambiguous reference in cref attribute: 'DateTime.ToString'. Assuming 'System.DateTime.ToString()', but could have also matched other overloads including 'System.DateTime.ToString (string, System.IFormatProvider)'. ---- Additional Comments From gert.driesen@pandora.be 2005-11-30 06:03:13 MST ---- Atsushi, any idea if/when you'll fix this issue ? Thx ! ---- Additional Comments From atsushi@ximian.com 2005-11-30 10:18:06 MST ---- Created an attachment (id=168825) I have very incomplete fix that breaks several /doc tests. It's not that simple. ---- Additional Comments From atsushi@ximian.com 2005-12-01 05:20:08 MST ---- Actually, just fixing this exact bug is easy, so now I fixed it in svn (r53751). Imported an attachment (id=168825) Unknown operating system unknown. Setting to default OS "Other".