[Mono-bugs] [Bug 79754][Wis] New - mcs /doc doesn't document nested delegates.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Oct 27 11:55:35 EDT 2006


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 jonpryor at vt.edu.

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

--- shadow/79754	2006-10-27 11:55:35.000000000 -0400
+++ shadow/79754.tmp.9574	2006-10-27 11:55:35.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 79754
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: jonpryor at vt.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs /doc doesn't document nested delegates.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+`mcs /doc' doesn't export XML documentation for nested delegates.
+
+Steps to reproduce the problem:
+1. Save the following code as nested.cs:
+
+	// mcs /doc test for nested types
+
+	/// <summary>Global delegate</summary>
+	public delegate void GlobalDel ();
+
+
+	/// <summary>Outer class</summary>
+	public class Outer {
+		/// <summary>Inner Class</summary>
+		public delegate void Del ();
+
+		public static void Main ()
+		{
+		}
+	}
+
+2. Compile it: mcs /doc:nested.xml nested.cs
+3. View nested.cs.  
+
+Actual Results:
+
+There is no documentation for the type T:Outer.Del (the nested delegate).
+
+Expected Results:
+
+Documentation for the nested delegate T:Outer.Del should be generated.
+
+
+How often does this happen? 
+
+Always.


More information about the mono-bugs mailing list