[Mono-bugs] [Bug 483852] New: TypeBuilder should be resolved when used in a generic type instance

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 10 07:19:56 EDT 2009


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


           Summary: TypeBuilder should be resolved when used in a generic
                    type instance
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=278397)
 --> (https://bugzilla.novell.com/attachment.cgi?id=278397)
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)

TypeBuilder shouldn't be allowed to escape into the real world.

Reproducible: Always

Steps to Reproduce:
Run attached program.
Actual Results:  
Foo

Expected Results:  
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> System.TypeLoadException:
Could
 not load type 'Foo' from assembly 'Foo, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'.
   at Bar..ctor()


This is a showstopper for the next version of IKVM.NET (0.40).

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