[Mono-bugs] [Bug 550968] New: Inlining causes exceptions if assembly isn't available

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 29 07:49:40 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=550968


           Summary: Inlining causes exceptions if assembly isn't available
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=324664)
 --> (http://bugzilla.novell.com/attachment.cgi?id=324664)
test case

When checking if a method call can be inlined, any assemblies the method
references is loaded. If that includes an assembly which can't be located
through normal means (dyamically loaded by the app for instance), we throw an
exception.

Example:

static void Main ()
{
   LoadB ();
   TestB ();
}
static void LoadB ()
{
   System.Reflection.Assembly.Load (B_dll);
}    
static void TestB ()
{
    B b = new B ();
}

The attached file is a test case for this.

-- 
Configure bugmail: http://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