https://bugzilla.novell.com/show_bug.cgi?id=639867
https://bugzilla.novell.com/show_bug.cgi?id=639867#c0 Summary: [/doc] CS0419 wrongly reported when referencing overloaded method with parameters Classification: Mono Product: Mono: Compilers Version: 2.8.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100825 Ubuntu/10.04 (lucid) Firefox/3.5 When using, for example, <see cref="Method(MyClass)" /> for referencing a method that has been overloaded, gmcs wrongly reports CS0419 (ambiguous reference). Reproducible: Always Steps to Reproduce: To reproduce, compile the following code snippet (using gmcs -t:library -doc:cs0419.xml cs0419.cs): /// <summary/> public class MyClass { /// <summary/> public void Method(MyClass a) { } /// <summary/> public void Method(MyClass a, int b) { } /// <summary> /// <see cref="Method(MyClass)"/> /// </summary> public void OtherMethod() { } } Actual Results: cs0419.cs(17,21): warning CS0419: Ambiguous reference in cref attribute `Method'. Assuming `MyClass.Method(MyClass)' but other overloads including `MyClass.Method(MyClass, int)' have also matched Expected Results: Successful compilation without warnings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
