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

Reply via email to