Bug 335349

Summary: GMCS: Generic argument to method in XML cref attribute parse error
Product: [Mono] Mono: Compilers Reporter: Mike Allen <mike.allen>
Component: C#Assignee: Mono Bugs <mono-bugs>
Status: RESOLVED DUPLICATE QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P2 - High    
Version: 1.2   
Target Milestone: ---   
Hardware: i686   
OS: Ubuntu   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: File exhibiting the problem

Description Mike Allen 2007-10-19 19:36:30 UTC
Created attachment 179516 [details]
File exhibiting the problem

I've tested this on Ubuntu 7.10 (Gutsy Gibbon) using Mono 1.2.4.0 and on Windows XP using Mono 1.2.5.2 and the problem is the same for both.

Compile attached file (Test.cs) using the command:

gmcs -target:library -warn:4 -warnaserror -doc:Test.xml Test.cs

Get the following error:
Test.cs(9,18): error CS1580: Invalid type for parameter `1' in XML comment cref attribute `DoSomething (T)'
Compilation failed: 1 error(s), 0 warnings

The same file compiles clean using Microsoft's csc compiler (version 8.00.50727.42) with the same options.
Comment 2 Marek Safar 2008-09-26 09:45:16 UTC

*** This bug has been marked as a duplicate of bug 324680 ***