Bugzilla – Bug 322937
[GMCS] crash generating XML doc of method with generic out parameter
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by andy.mortimer@ansys.com 2006-12-12 13:23:07 MST ---- 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. ---- Additional Comments From miguel@ximian.com 2006-12-28 15:04:33 MST ---- Move to compilers. ---- Additional Comments From martin@ximian.com 2007-04-11 07:10:05 MST ---- Fixed in SVN. Unknown operating system unknown. Setting to default OS "Other".