diff options
author | jfrijters <jfrijters> | 2010-04-21 10:13:23 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2010-04-21 10:13:23 +0400 |
commit | 5cf23ddfc56ffbdf61fe57f142271b7e27ba42cd (patch) | |
tree | ced1d4264c34c015833ab6a9c94f3e192642d0b0 /reflect/TypeNameParser.cs | |
parent | 2ce9ef352e3ab17b487e50e822abdac80cc2a9f3 (diff) |
Pass context assembly to Load() as the requestingAssembly, to make type name resolution in custom attributes pass the correct RequestingAssembly to the AssemblyResolve event.
Diffstat (limited to 'reflect/TypeNameParser.cs')
-rw-r--r-- | reflect/TypeNameParser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/TypeNameParser.cs b/reflect/TypeNameParser.cs index 78db642e..21331733 100644 --- a/reflect/TypeNameParser.cs +++ b/reflect/TypeNameParser.cs @@ -371,7 +371,7 @@ namespace IKVM.Reflection Type type; if (assemblyName != null) { - Assembly asm = universe.Load(assemblyName, null, throwOnError); + Assembly asm = universe.Load(assemblyName, context, throwOnError); if (asm == null) { return null; |