[Mono-bugs] [Bug 518909] InternalsVisibleTo ignored for dynamic "To"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 9 19:11:21 EDT 2009


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

User Dax at daxxfiles.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=518909#c2





--- Comment #2 from - - <Dax at daxxfiles.net>  2009-07-09 17:11:20 MDT ---
After some investigation, I found that can_access_internals fails on dynamic
assemblies, because the associated strong name never gets written only when the
dynamic assembly is saved. As mono compares public key tokens in
can_access_internals, it seemed straight forward to simply provide the public
key token of the dynamic assembly to the runtime the moment the assembly is
created. The attached patch does just that, using a new field in the
MonoReflectionAssemblyBuilder structure.

-- 
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