Bug 316966 (MONO71603) - CS0419 not reported when using /doc with gmcs
Summary: CS0419 not reported when using /doc with gmcs
Status: RESOLVED FIXED
Alias: MONO71603
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Atsushi Enomoto
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 18:07 UTC by Gert Driesen
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:04:52 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".