[Mono-bugs] [Bug 71605][Nor] New - CS1574 not reported for cref to delegate containing argument(s)

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

--- shadow/71605	2005-01-22 11:45:47.000000000 -0500
+++ shadow/71605.tmp.18585	2005-01-22 11:45:48.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 71605
+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 not reported for cref to delegate containing argument(s)
+
+When using an argument in a cref for a delegate, CS1574 should be 
+reported (for warning level 1 and higher).
+
+Compile the following code using (/doc option):
+
+/// <summary>
+/// <see cref="MyDelegate(int)" />
+/// </summary>
+public class Test {
+        /// <summary>
+        /// whatever
+        /// </summary>
+        public delegate void MyDelegate(int i);
+}
+
+Expected result:
+
+test.cs(2,16): warning CS1574: XML comment on 'Test' has cref attribute
+        'MyDelegate(int)' that could not be found
+
+Actual result:
+
+successful compilation without warnings