[Mono-bugs] [Bug 71603][Nor] New - CS0419 not reported when using /doc with gmcs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 22 Jan 2005 11:07:20 -0500 (EST)

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@pandora.be.


--- shadow/71603	2005-01-22 11:07:20.000000000 -0500
+++ shadow/71603.tmp.18364	2005-01-22 11:07:20.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 71603
+Product: Mono: Compilers
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: atsushi@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: CS0419 not reported when using /doc with gmcs
+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 
+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, 
+note: csc 1.x does not report this warning.