Bug 322937 (MONO80243) - [GMCS] crash generating XML doc of method with generic out parameter
Summary: [GMCS] crash generating XML doc of method with generic out parameter
Status: RESOLVED FIXED
Alias: MONO80243
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.2
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 20:23 UTC by Andy Mortimer
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:19:32 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".