[Mono-bugs] [Bug 387040] Compilation error with explicit interface implementations and constraints

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 6 13:03:33 EDT 2008


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

User twiest at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387040#c1


Thomas Wiest <twiest at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |twiest at novell.com




--- Comment #1 from Thomas Wiest <twiest at novell.com>  2008-05-06 11:03:32 MST ---
I confirmed this on r102619:

linux at c220:~/bug387040> gmcs -t:library test.cs
test.cs(8,5): error CS0452: The type `T' must be a reference type in order to
use it as type parameter `T' in the generic type or method `RuleBuilder<T>'.
Compilation failed: 1 error(s), 0 warnings
linux at c220:~/bug387040> vi test.cs
linux at c220:~/bug387040> gmcs -t:library test.cs
test.cs(8,35): error CS0460: `RubyMethod.IDynamicObject.GetRule<T>()': Cannot
specify constraints for overrides or explicit interface implementation methods
Compilation failed: 1 error(s), 0 warnings
linux at c220:~/bug387040> rpm -qa|grep -i mono-core
mono-core-102619-0.novell
linux at c220:~/bug387040>


-- 
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