Author: jbevain
Date: 2007-06-07 11:26:35 -0400 (Thu, 07 Jun 2007)
New Revision: 78851
Modified:
trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs
Log:
use standard way to resolve an assembly here
Modified: trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs
===================================================================
--- trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs 2007-06-07 15:25:01 UTC
(rev 78850)
+++ trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs 2007-06-07 15:26:35 UTC
(rev 78851)
@@ -187,7 +187,7 @@
if (slotType.FullName != Constants.Type)
return;
- AssemblyDefinition assembly =
ca.Constructor.DeclaringType.Module.Assembly;
+ AssemblyDefinition assembly = ResolveAssembly
(ca.Constructor.DeclaringType.Scope);
TypeDefinition type = _context.Resolver.GetType
(assembly, (string) value);
MarkType (type);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches