Author: jbevain
Date: 2007-06-18 13:03:19 -0400 (Mon, 18 Jun 2007)
New Revision: 80023
Modified:
trunk/cecil/linker/ChangeLog
trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs
Log:
2007-06-18 Jb Evain <[EMAIL PROTECTED]>
* Mono.Linker.Steps/MarkStep.cs:
Mark modifiers of modtype.
Modified: trunk/cecil/linker/ChangeLog
===================================================================
--- trunk/cecil/linker/ChangeLog 2007-06-18 17:00:39 UTC (rev 80022)
+++ trunk/cecil/linker/ChangeLog 2007-06-18 17:03:19 UTC (rev 80023)
@@ -1,3 +1,8 @@
+2007-06-18 Jb Evain <[EMAIL PROTECTED]>
+
+ * Mono.Linker.Steps/MarkStep.cs:
+ Mark modifiers of modtype.
+
2007-06-15 Jb Evain <[EMAIL PROTECTED]>
* Mono.Linker/Driver.cs,
Modified: trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs
===================================================================
--- trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs 2007-06-18 17:00:39 UTC
(rev 80022)
+++ trunk/cecil/linker/Mono.Linker.Steps/MarkStep.cs 2007-06-18 17:03:19 UTC
(rev 80023)
@@ -373,12 +373,21 @@
if (git != null)
MarkGenericArguments (git);
+ ModType mod = type as ModType;
+ if (mod != null)
+ MarkModifierType (mod);
+
type = ((TypeSpecification) type).ElementType;
}
return type;
}
+ void MarkModifierType (ModType mod)
+ {
+ MarkType (mod.ModifierType);
+ }
+
void MarkGenericArguments (IGenericInstance instance)
{
foreach (TypeReference argument in
instance.GenericArguments)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches