Bugzilla – Bug 316966
CS0419 not reported when using /doc with gmcs
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by gert.driesen@pandora.be 2005-01-22 11:07:19 MST ---- Compile this code snippet using gmcs (with options /target:library /doc:test.xml) : /// <summary> /// Exposes <see cref="System.String.Replace"/> to XSLT /// </summary> public class Test { } both mcs and gmcs compile this without warnings. Using csc 2.0, the following warning is reported for warning level 3 (and higher): test.cs(2,24): warning CS0419: Ambiguous reference in cref attribute: 'System.String.Replace'. Assuming 'string.Replace(char, char)', but could have also matched other overloads including 'string.Replace(string, string)'. note: csc 1.x does not report this warning. ---- Additional Comments From atsushi@ximian.com 2005-04-13 05:52:58 MST ---- I fixed it in "mcs" svn, which Martin will merge later. ---- Additional Comments From atsushi@ximian.com 2005-04-20 07:17:01 MST ---- Now the fix got merged. Unknown operating system unknown. Setting to default OS "Other".