[Mono-bugs] [Bug 486307] New: Type.MakeGenericType() doesn't support user defined types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 18 01:37:55 EDT 2009


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


           Summary: Type.MakeGenericType() doesn't support user defined
                    types
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=280198)
 --> (https://bugzilla.novell.com/attachment.cgi?id=280198)
repro

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64;
Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322;
NET CLR 3.5.30729; .NET CLR 3.0.30618)

See summary.

Reproducible: Always

Steps to Reproduce:
Run attached program.
Actual Results:  
Unhandled Exception: System.NotImplementedException: The requested feature is
not implemented.
  at MyType.get_UnderlyingSystemType () [0x00000]
  at System.Type.MakeGenericType (System.Type[] typeArguments) [0x00000]
  at Program.Main (System.String[] args) [0x00000]


Expected Results:  
Gen`1[Foo]

I *think* I can work around this for IKVM 0.40, but this really should be fixed
(along with Bug 467230) for Mono 2.6.

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