[Mono-bugs] [Bug 439125] New: CS0309 with generic methods where constraints have generic parameters
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Oct 27 04:25:55 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=439125
Summary: CS0309 with generic methods where constraints have
generic parameters
Product: Mono: Compilers
Version: unspecified
Platform: x86-64
URL: http://www.postsharp.org/
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: gael at fraiteur.net
QAContact: mono-bugs at lists.ximian.com
Found By: Customer
Description of Problem:
The C# compiler does not compile a program with a generic method where
constraints contain generic parameters.
Steps to reproduce the problem:
Compile Program.cs
Actual Results:
error CS0309: The type `System.Collections.Generic.List<int>' must be
convertible to
`System.Collections.Generic.IList<System.Collections.Generic.List<int>>' in
order to use it as parameter `T2' in the generic type or method
`MonoBug.GenericClass<T1>.GenericMethod<T2,T3>(T2, T3)'
Expected Results:
Should compile.
How often does this happen?
Always.
Additional Information:
Using 2.0.1
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list