[Mono-bugs] [Bug 346425] New: AppDomain.ReflectionOnlyAssemblyResolve doesn't fire

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 6 02:08:00 EST 2007


           Summary: AppDomain.ReflectionOnlyAssemblyResolve doesn't fire
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at ximian.com
          Found By: ---

This program fails on Mono because AppDomain.ReflectionOnlyAssemblyResolve
isn't implemented. (BTW, it fails with the wrong exception, GetTypes() should
be throwing System.Reflection.ReflectionTypeLoadException)

using System;
using System.Reflection;

namespace MonoReflectionOnly
        class Program
                static void Main(string[] args)
+= new ResolveEventHandler(CurrentDomain_ReflectionOnlyAssemblyResolve);
                        Assembly asm =

                static Assembly
CurrentDomain_ReflectionOnlyAssemblyResolve(object sender, ResolveEventArgs
                        return Assembly.ReflectionOnlyLoad(args.Name);

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