[Mono-bugs] [Bug 71604][Nor] New - CS1574 reported for cref to event on interface

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 22 Jan 2005 11:30:45 -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.

http://bugzilla.ximian.com/show_bug.cgi?id=71604

--- shadow/71604	2005-01-22 11:30:45.000000000 -0500
+++ shadow/71604.tmp.18498	2005-01-22 11:30:45.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 71604
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: atsushi@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS1574 reported for cref to event on interface
+
+Compile the following code using mcs (mcs /target:library /doc:test.xml) :
+
+using System;
+
+/// <summary>
+/// <see cref="ITest.Start" />
+/// </summary>
+public interface ITest {
+        /// <summary>whatever</summary>
+        event EventHandler Start;
+}
+
+Expected result:
+
+successful compilation without warnings
+
+Actual result:
+
+test2.cs(6) warning CS1574: XML comment on 'ITest' has cref 
+attribute 'ITest.Start' that could not be resolved in 'ITest'.