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

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

Reply via email to