[Mono-bugs] [Bug 71040][Nor] New - Warning CS1580 for cref containing enum argument

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 6 Jan 2005 04:12:29 -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=71040

--- shadow/71040	2005-01-06 04:12:29.000000000 -0500
+++ shadow/71040.tmp.14532	2005-01-06 04:12:29.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 71040
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Windows XP RC2
+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: Warning CS1580 for cref containing enum argument
+
+When compiling the following class :
+
+using System;
+
+/// <summary>
+/// <see cref="Environment.GetFolderPath(Environment.SpecialFolder)" />
+/// </summary>
+public class Test {
+	public static void Main() {
+	}
+}
+
+mcs reports the following warning:
+
+test.cs(6) warning CS1580: Invalid type for parameter '1' in XML comment 
+cref at
+tribute 'Environment.GetFolderPath(Environment.SpecialFolder)'
+Compilation succeeded - 1 warning(s)
+
+This works fine using csc.