[Mono-devel-list] [PATCH] Assembly.GetReferencedAssemblies shouldn't return codebase
sebastien at ximian.com
Mon Apr 4 10:27:06 EDT 2005
Simply put, Assembly.GetReferencedAssemblies() should returns an
"limited" AssemblyName array (with null values for CodeBase/
EscapedCodeBase). Which means that the security checks aren't required
(for CAS) as the important informations (the path) isn't available from
This is important because it without this Assembly.GetReferenced
Assemblies couldn't be called from partial trust (like it can be under
Does anyone depend on that behavior ? (i.e. getting the CodeBase from
the AssemblyName returned from Assembly.GetReferencedAssemblies).
If not then I'll commit this immediately (with unit tests), else I'll
wait for the depending code to be fixed before committing.
Sebastien Pouliot <sebastien at ximian.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2027 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050404/583cb636/attachment.bin
More information about the Mono-devel-list