[Mono-bugs] [Bug 80243][Nor] New - gmcs crash generating XML doc of method with generic out parameter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 12 13:23:07 EST 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 andy.mortimer at ansys.com.

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

--- shadow/80243	2006-12-12 13:23:07.000000000 -0500
+++ shadow/80243.tmp.14201	2006-12-12 13:23:07.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 80243
+Product: Mono: Doctools
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Console
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andy.mortimer at ansys.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gmcs crash generating XML doc of method with generic out parameter
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+XML doc generation for a method with a generic output parameter crashes.
+
+Steps to reproduce the problem:
+1. Create a file doctest.cs containing
+
+// start of doctest.cs
+class DocTest {
+    /// <summary />
+    public void Method<T>(out T result) { }
+}
+// end of doctest.cs
+
+2. gmcs /target:library /doc:doctest.xml doctest.cs
+
+Actual Results:
+
+error CS1569: Error generating XML documentation file `foo.xml' (`Object
+reference not set to an instance of an object')
+
+Expected Results:
+
+Successful compilation.
+
+How often does this happen? 
+
+Every time.
+
+Additional Information:
+
+It compiles fine without the /doc switch.
+
+Sorry if this is the wrong component, I wasn't sure where this bug should
+be reported.


More information about the mono-bugs mailing list