[Mono-bugs] [Bug 77183][Nor] Changed - [PATCH] Using XML documentation on a method with a generic parameter causes a compilation error

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 12 02:04:16 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 cutefuzzysquirrel at gmail.com.

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

--- shadow/77183	2006-01-12 02:02:36.000000000 -0500
+++ shadow/77183.tmp.26679	2006-01-12 02:04:16.000000000 -0500
@@ -72,6 +72,29 @@
 Hari: how should I add gmcs-specific tests in mcs/tests ?
 
 ------- Additional Comments From cutefuzzysquirrel at gmail.com  2006-01-12 02:02 -------
 Created an attachment (id=16316)
 Test case to reproduce bug
 
+
+------- Additional Comments From cutefuzzysquirrel at gmail.com  2006-01-12 02:04 -------
+Your revised patch fixes the problem in my example file, but it
+apparently is breaking something else. I have an attached file that
+compiles cleanly pre-patch, but after the patch, throws that error again.
+
+It's crashing somewhere after line 368, because if I delete all the
+code after that line it compiles cleanly. I can't seem to narrow it
+down any more than that. Removing all of the XML comments from the
+file makes no difference, the error is still thrown when compiling
+with documentation.
+
+Steps to reproduce:
+
+1. Save attachment
+(http://bugzilla.ximian.com/showattachment.cgi?attach_id=16316)
+2. Run `gmcs -t:library -doc:<FILENAME>.xml <FILENAME>.cs`
+
+Results:
+Pre-patch: compiles cleanly
+Post-patch: error CS1569: Error generating XML documentation file
+`newdata.xml' (`Object reference not set to an instance of an
+object')Compilation failed: 1 error(s), 0 warnings


More information about the mono-bugs mailing list