[Mono-bugs] [Bug 508522] New: ReflectionOnly/AssemblyResolve handlers can only/not return reflection-only assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 30 04:46:02 EDT 2009


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

User gert.driesen at pandora.be added comment
http://bugzilla.novell.com/show_bug.cgi?id=508522#c1

           Summary: ReflectionOnly/AssemblyResolve handlers can only/not
                    return reflection-only assembly
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


A FileLoadException should be thrown when an event handlers for
AppDomain.AssemblyResolve returns an assembly that was loaded in the
reflection-only context.

Similarly, a FileLoadException should be thrown when an event handlers for
AppDomain.ReflectionOnlyAssemblyResolve returns an assembly that was NOT loaded
in the reflection-only context.

This is currently not documented on MSDN, but I've submitted a connect bug for
this:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=462011

To reproduce:
1. extract the attached gzip tar archive.
2. run make

Actual result:

#1: should have resulted in FileLoadException
make: *** [all] Error 1

Expected result:

No ouput written to stdout, and zero exit code.

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