[Mono-bugs] [Bug 74633][Nor] New - CS0419 wrongly reported for event cref
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 16 Apr 2005 09:58:48 -0400 (EDT)
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.
http://bugzilla.ximian.com/show_bug.cgi?id=74633
--- shadow/74633 2005-04-16 09:58:48.000000000 -0400
+++ shadow/74633.tmp.22836 2005-04-16 09:58:48.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 74633
+Product: Mono: Compilers
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS0419 wrongly reported for event cref
+
+A cref to an event caused CS0419 to be reported.
+
+To reproduce, try compiling the following code snippet (using
+mcs /doc:test.xml test.cs):
+
+using System;
+
+/// <summary>
+/// <see cref="AppDomain.AssemblyResolve" />
+/// </summary>
+public class Whatever {
+ /// <summary>
+ /// </summary>
+ public static void Main() {
+ }
+}
+
+Actual result:
+
+test.cs(6) warning CS0419: Ambiguous member specification in cref
+attribute: 'AssemblyResolve'. Check overloaded members and supply exact
+parameters.
+Compilation succeeded - 1 warning(s)
+
+Expected result:
+
+Successful compilation without warnings