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


           Summary: Generic Extension methods with constraints on the
                    generic type don't compile
           Product: Mono: Compilers
           Version: 1.9.0
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Try to compile the following attached files:

$ gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ "-define:TRACE"
-t:library b.cs -r:System.Core

$ gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+
"-define:TRACE;MONO_BUILD" a.cs -r:b.dll -r:System
a.cs(10,59): error CS1061: Type `System.Type' does not contain a definition for
`GetSingleAttribute' and no extension method `GetSingleAttribute' of type
`System.Type' could be found (are you missing a using directive or an assembly
reference?)
Compilation failed: 1 error(s), 0 warnings


-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to