Author: jbevain
Date: 2005-02-28 10:16:18 -0500 (Mon, 28 Feb 2005)
New Revision: 41286
Modified:
trunk/cecil/lib/Mono.Cecil.Implem/AggressiveReflectionReader.cs
Log:
correct bug where types own properties of another types in aggressive loading
Modified: trunk/cecil/lib/Mono.Cecil.Implem/AggressiveReflectionReader.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Implem/AggressiveReflectionReader.cs
2005-02-28 14:20:30 UTC (rev 41285)
+++ trunk/cecil/lib/Mono.Cecil.Implem/AggressiveReflectionReader.cs
2005-02-28 15:16:18 UTC (rev 41286)
@@ -106,9 +106,9 @@
if (i < pmapTable.Rows.Count - 1)
end = (int) pmapTable [i + 1].PropertyList;
else
- end = propsTable.Rows.Count;
+ end = propsTable.Rows.Count + 1;
- for (int j = start; j <= end; j++) {
+ for (int j = start; j < end; j++) {
PropertyRow prow = propsTable [j - 1];
PropertySig psig = m_sigReader.GetPropSig (prow.Type);
PropertyDefinition pdef = new PropertyDefinition
(MetadataRoot.Streams.StringsHeap [prow.Name],
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches