Author: jbevain
Date: 2006-11-06 03:36:22 -0500 (Mon, 06 Nov 2006)
New Revision: 67399
Modified:
trunk/cecil/merge/Mono.Merge/ReflectionMerger.cs
Log:
Fix the fix
Modified: trunk/cecil/merge/Mono.Merge/ReflectionMerger.cs
===================================================================
--- trunk/cecil/merge/Mono.Merge/ReflectionMerger.cs 2006-11-06 08:16:59 UTC
(rev 67398)
+++ trunk/cecil/merge/Mono.Merge/ReflectionMerger.cs 2006-11-06 08:36:22 UTC
(rev 67399)
@@ -97,7 +97,7 @@
{
if (!MemberReferencesContains
(Target.MainModule.MemberReferences, member)) {
TypeReference tr = GetTypeReference
(member.DeclaringType);
- if (tr.Scope != (IMetadataScope) Target) {
+ if (tr.Scope != Target.MainModule) {
member.DeclaringType = tr;
Target.MainModule.MemberReferences.Add
(member);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches