Bug 553643 - Failure to compile with test case
Summary: Failure to compile with test case
Status: VERIFIED DUPLICATE of bug 537402
Alias: None
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 2.4.x
Hardware: x86-64 Ubuntu
: P5 - None : Major
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 10:40 UTC by Jonathan Hseu
Modified: 2009-11-08 15:22 UTC (History)
0 users

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


Attachments
Test Case that fails to compile with mono (285 bytes, application/octet-stream)
2009-11-08 10:40 UTC, Jonathan Hseu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Hseu 2009-11-08 10:40:36 UTC
Created attachment 326162 [details]
Test Case that fails to compile with mono

Description of Problem:
I've attached a test case that compiles with Visual Studio, but doesn't compile with mono.

Steps to reproduce the problem:
1. Compile my attached test case

Actual Results:
error CS0309: The type `test.A' must be convertible to `test.ITest<test.A>' in order to use it as parameter `Test' in the generic type or method `test.C<T>.B<Test>(Test[])'

Expected Results:
No errors

How often does this happen? 
Every time.
Comment 1 Jonathan Hseu 2009-11-08 15:22:32 UTC
Oops, looks like this bug was already reported and is fixed in the trunk.

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