[Mono-bugs] [Bug 323223] Generic constraints not being enforced correctly within anonymous delegates

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 10 15:35:09 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=323223

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=323223#c1


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #1 from Gert Driesen <gert.driesen at pandora.be>  2008-02-10 13:35:07 MST ---
This has regressed. I now get the following errors:

test.cs(8,49): error CS0029: Cannot implicitly convert type `TSource' to
`TDest'
test.cs(8,49): The type `' has two conflicting definitions, one comes from
`test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and the other
from `test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (in the
previous error)
test.cs(8,49): error CS1662: Cannot convert `anonymous method' to delegate type
`System.Converter<TSource,TDest>' because some of the return types in the block
are not implicitly convertible to the delegate return type
test.cs(13,57): error CS0030: Cannot convert type `TSource' to `TDest'
test.cs(13,57): The type `' has two conflicting definitions, one comes from
`test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and the other
from `test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (in the
previous error)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list