Author: jbevain
Date: 2005-04-30 06:53:28 -0400 (Sat, 30 Apr 2005)
New Revision: 43824
Modified:
trunk/cecil/lib/CodeGen/cecil-gen-sources.rb
trunk/cecil/lib/CodeGen/templates/MetadataTableReader.cs
trunk/cecil/lib/Mono.Cecil.Implem/AssemblyLinkedResource.cs
trunk/cecil/lib/Mono.Cecil.Implem/LinkedResource.cs
trunk/cecil/lib/Mono.Cecil.Implem/StructureReader.cs
trunk/cecil/lib/Mono.Cecil.Metadata/MetadataReader.cs
trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStream.cs
trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStreamCollection.cs
trunk/cecil/lib/Mono.Cecil.Metadata/MetadataTableReader.cs
trunk/cecil/lib/Mono.Cecil.Metadata/RowCollection.cs
trunk/cecil/lib/Mono.Cecil.dll.sources
Log:
some cleanup
Modified: trunk/cecil/lib/CodeGen/cecil-gen-sources.rb
===================================================================
--- trunk/cecil/lib/CodeGen/cecil-gen-sources.rb 2005-04-30 09:32:40 UTC
(rev 43823)
+++ trunk/cecil/lib/CodeGen/cecil-gen-sources.rb 2005-04-30 10:53:28 UTC
(rev 43824)
@@ -1,8 +1,8 @@
# /cecil/lib/ruby CodeGen/cecil-gen-sources.dll > Mono.Cecil.dll.sources
[ "Mono.Cecil", "Mono.Cecil.Binary",
"Mono.Cecil.Metadata", "Mono.Cecil.Cil",
- "Mono.Cecil.Implem", "Mono.Cecil.Signatures" ].each { |dir|
-
+ "Mono.Cecil.Implem", "Mono.Cecil.Signatures", "Mono.Xml" ].each { |dir|
+
Dir.foreach(dir) { |file|
$stdout.print("./#{dir}/#{file}\n") if file[(file.length -
3)..file.length] == ".cs"
}
Modified: trunk/cecil/lib/CodeGen/templates/MetadataTableReader.cs
===================================================================
--- trunk/cecil/lib/CodeGen/templates/MetadataTableReader.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/CodeGen/templates/MetadataTableReader.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -80,7 +80,7 @@
<% $tables.each { |table| %> public void Visit (<%=table.table_name%>
table)
{
int number = GetNumberOfRows (typeof (<%=table.table_name%>));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new <%=table.row_name%> ());
}
Modified: trunk/cecil/lib/Mono.Cecil.Implem/AssemblyLinkedResource.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Implem/AssemblyLinkedResource.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Implem/AssemblyLinkedResource.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -37,4 +37,3 @@
}
}
}
-
Modified: trunk/cecil/lib/Mono.Cecil.Implem/LinkedResource.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Implem/LinkedResource.cs 2005-04-30 09:32:40 UTC
(rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Implem/LinkedResource.cs 2005-04-30 10:53:28 UTC
(rev 43824)
@@ -42,4 +42,3 @@
}
}
}
-
Modified: trunk/cecil/lib/Mono.Cecil.Implem/StructureReader.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Implem/StructureReader.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Implem/StructureReader.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -45,9 +45,8 @@
public void Visit (IAssemblyDefinition asm)
{
m_asmDef = asm as AssemblyDefinition;
- AssemblyTable atable = m_tHeap [typeof(AssemblyTable)] as
AssemblyTable;
- if (atable == null || atable.Rows == null || atable.Rows [0] ==
null)
- throw new ReflectionException ("Can not create an
AssemblyDefinition");
+ if (!m_tHeap.HasTable (typeof (AssemblyTable)))
+ throw new ReflectionException ("No manifest assembly");
}
public void Visit (IAssemblyNameDefinition name)
@@ -67,18 +66,20 @@
public void Visit (IAssemblyNameReferenceCollection names)
{
- AssemblyRefTable aref = m_tHeap [typeof(AssemblyRefTable)] as
AssemblyRefTable;
- if (aref != null && aref.Rows.Count > 0) {
- foreach (AssemblyRefRow arefrow in aref.Rows) {
- AssemblyNameReference aname = new AssemblyNameReference (
- m_img.MetadataRoot.Streams.StringsHeap [arefrow.Name],
- m_img.MetadataRoot.Streams.StringsHeap
[arefrow.Culture],
- new Version (arefrow.MajorVersion,
arefrow.MinorVersion,
- arefrow.BuildNumber,
arefrow.RevisionNumber));
- aname.PublicKeyToken =
m_img.MetadataRoot.Streams.BlobHeap.Read (arefrow.PublicKeyOrToken);
- aname.Hash = m_img.MetadataRoot.Streams.BlobHeap.Read
(arefrow.HashValue);
- (names as AssemblyNameReferenceCollection).Add (aname);
- }
+ if (!m_tHeap.HasTable (typeof (AssemblyRefTable)))
+ return;
+
+ AssemblyRefTable arTable = m_tHeap [typeof(AssemblyRefTable)] as
AssemblyRefTable;
+ for (int i = 0; i < arTable.Rows.Count; i++) {
+ AssemblyRefRow arRow = arTable [i];
+ AssemblyNameReference aname = new AssemblyNameReference (
+ m_img.MetadataRoot.Streams.StringsHeap [arRow.Name],
+ m_img.MetadataRoot.Streams.StringsHeap [arRow.Culture],
+ new Version (arRow.MajorVersion, arRow.MinorVersion,
+ arRow.BuildNumber, arRow.RevisionNumber));
+ aname.PublicKeyToken =
m_img.MetadataRoot.Streams.BlobHeap.Read (arRow.PublicKeyOrToken);
+ aname.Hash = m_img.MetadataRoot.Streams.BlobHeap.Read
(arRow.HashValue);
+ (names as AssemblyNameReferenceCollection).Add (aname);
}
}
@@ -198,11 +199,14 @@
public void Visit (IModuleReferenceCollection modules)
{
- ModuleDefinition mod = modules.Container as ModuleDefinition;
- ModuleRefTable mrt = m_tHeap [typeof(ModuleRefTable)] as
ModuleRefTable;
- if (mrt != null && mrt.Rows.Count > 0)
- foreach (ModuleRefRow mrr in mrt.Rows)
- (modules as ModuleReferenceCollection).Add (new
ModuleReference (m_img.MetadataRoot.Streams.StringsHeap [mrr.Name]));
+ if (!m_tHeap.HasTable (typeof (ModuleRefTable)))
+ return;
+
+ ModuleRefTable mrTable = m_tHeap [typeof(ModuleRefTable)] as
ModuleRefTable;
+ for (int i = 0; i < mrTable.Rows.Count; i++) {
+ ModuleRefRow mrRow = mrTable [i];
+ (modules as ModuleReferenceCollection).Add (new
ModuleReference (m_img.MetadataRoot.Streams.StringsHeap [mrRow.Name]));
+ }
}
}
}
Modified: trunk/cecil/lib/Mono.Cecil.Metadata/MetadataReader.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Metadata/MetadataReader.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Metadata/MetadataReader.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -38,7 +38,7 @@
{
m_root = root;
root.Header = new MetadataRoot.MetadataRootHeader ();
- root.Streams = new MetadataStreamCollection (root);
+ root.Streams = new MetadataStreamCollection ();
}
public void Visit (MetadataRoot.MetadataRootHeader header)
@@ -88,7 +88,7 @@
public void Visit (MetadataStreamCollection coll)
{
for (int i = 0; i < m_root.Header.Streams; i++)
- coll.Add (new MetadataStream (m_root));
+ coll.Add (new MetadataStream ());
}
public void Visit (MetadataStream stream)
Modified: trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStream.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStream.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStream.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -17,8 +17,6 @@
private MetadataStreamHeader m_header;
private MetadataHeap m_heap;
- private MetadataRoot m_root;
-
public MetadataStreamHeader Header {
get { return m_header; }
set { m_header = value; }
@@ -29,9 +27,8 @@
set { m_heap = value; }
}
- internal MetadataStream (MetadataRoot root)
+ internal MetadataStream ()
{
- m_root = root;
}
public void Accept (IMetadataVisitor visitor)
Modified: trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStreamCollection.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStreamCollection.cs
2005-04-30 09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Metadata/MetadataStreamCollection.cs
2005-04-30 10:53:28 UTC (rev 43824)
@@ -19,7 +19,6 @@
private IList m_items;
- private MetadataRoot m_root;
private BlobHeap m_blobHeap;
private GuidHeap m_guidHeap;
private StringsHeap m_stringsHeap;
@@ -83,9 +82,8 @@
}
}
- public MetadataStreamCollection (MetadataRoot root)
+ public MetadataStreamCollection ()
{
- m_root = root;
m_items = new ArrayList (5);
}
Modified: trunk/cecil/lib/Mono.Cecil.Metadata/MetadataTableReader.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Metadata/MetadataTableReader.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Metadata/MetadataTableReader.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -9,7 +9,7 @@
* See LICENSE.MIT file for more details
*
* Generated by /CodeGen/cecil-gen.rb do not edit
- * Thu Apr 28 16:58:06 Paris, Madrid 2005
+ * Sat Apr 30 13:18:49 Paris, Madrid 2005
*
*****************************************************************************/
@@ -224,7 +224,7 @@
public void Visit (AssemblyTable table)
{
int number = GetNumberOfRows (typeof (AssemblyTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new AssemblyRow ());
}
@@ -232,7 +232,7 @@
public void Visit (AssemblyOSTable table)
{
int number = GetNumberOfRows (typeof (AssemblyOSTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new AssemblyOSRow ());
}
@@ -240,7 +240,7 @@
public void Visit (AssemblyProcessorTable table)
{
int number = GetNumberOfRows (typeof (AssemblyProcessorTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new AssemblyProcessorRow ());
}
@@ -248,7 +248,7 @@
public void Visit (AssemblyRefTable table)
{
int number = GetNumberOfRows (typeof (AssemblyRefTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new AssemblyRefRow ());
}
@@ -256,7 +256,7 @@
public void Visit (AssemblyRefOSTable table)
{
int number = GetNumberOfRows (typeof (AssemblyRefOSTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new AssemblyRefOSRow ());
}
@@ -264,7 +264,7 @@
public void Visit (AssemblyRefProcessorTable table)
{
int number = GetNumberOfRows (typeof (AssemblyRefProcessorTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new AssemblyRefProcessorRow ());
}
@@ -272,7 +272,7 @@
public void Visit (ClassLayoutTable table)
{
int number = GetNumberOfRows (typeof (ClassLayoutTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ClassLayoutRow ());
}
@@ -280,7 +280,7 @@
public void Visit (ConstantTable table)
{
int number = GetNumberOfRows (typeof (ConstantTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ConstantRow ());
}
@@ -288,7 +288,7 @@
public void Visit (CustomAttributeTable table)
{
int number = GetNumberOfRows (typeof (CustomAttributeTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new CustomAttributeRow ());
}
@@ -296,7 +296,7 @@
public void Visit (DeclSecurityTable table)
{
int number = GetNumberOfRows (typeof (DeclSecurityTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new DeclSecurityRow ());
}
@@ -304,7 +304,7 @@
public void Visit (EventMapTable table)
{
int number = GetNumberOfRows (typeof (EventMapTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new EventMapRow ());
}
@@ -312,7 +312,7 @@
public void Visit (EventTable table)
{
int number = GetNumberOfRows (typeof (EventTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new EventRow ());
}
@@ -320,7 +320,7 @@
public void Visit (ExportedTypeTable table)
{
int number = GetNumberOfRows (typeof (ExportedTypeTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ExportedTypeRow ());
}
@@ -328,7 +328,7 @@
public void Visit (FieldTable table)
{
int number = GetNumberOfRows (typeof (FieldTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new FieldRow ());
}
@@ -336,7 +336,7 @@
public void Visit (FieldLayoutTable table)
{
int number = GetNumberOfRows (typeof (FieldLayoutTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new FieldLayoutRow ());
}
@@ -344,7 +344,7 @@
public void Visit (FieldMarshalTable table)
{
int number = GetNumberOfRows (typeof (FieldMarshalTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new FieldMarshalRow ());
}
@@ -352,7 +352,7 @@
public void Visit (FieldRVATable table)
{
int number = GetNumberOfRows (typeof (FieldRVATable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new FieldRVARow ());
}
@@ -360,7 +360,7 @@
public void Visit (FileTable table)
{
int number = GetNumberOfRows (typeof (FileTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new FileRow ());
}
@@ -368,7 +368,7 @@
public void Visit (GenericParamTable table)
{
int number = GetNumberOfRows (typeof (GenericParamTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new GenericParamRow ());
}
@@ -376,7 +376,7 @@
public void Visit (GenericParamConstraintTable table)
{
int number = GetNumberOfRows (typeof
(GenericParamConstraintTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new GenericParamConstraintRow ());
}
@@ -384,7 +384,7 @@
public void Visit (ImplMapTable table)
{
int number = GetNumberOfRows (typeof (ImplMapTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ImplMapRow ());
}
@@ -392,7 +392,7 @@
public void Visit (InterfaceImplTable table)
{
int number = GetNumberOfRows (typeof (InterfaceImplTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new InterfaceImplRow ());
}
@@ -400,7 +400,7 @@
public void Visit (ManifestResourceTable table)
{
int number = GetNumberOfRows (typeof (ManifestResourceTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ManifestResourceRow ());
}
@@ -408,7 +408,7 @@
public void Visit (MemberRefTable table)
{
int number = GetNumberOfRows (typeof (MemberRefTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new MemberRefRow ());
}
@@ -416,7 +416,7 @@
public void Visit (MethodTable table)
{
int number = GetNumberOfRows (typeof (MethodTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new MethodRow ());
}
@@ -424,7 +424,7 @@
public void Visit (MethodImplTable table)
{
int number = GetNumberOfRows (typeof (MethodImplTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new MethodImplRow ());
}
@@ -432,7 +432,7 @@
public void Visit (MethodSemanticsTable table)
{
int number = GetNumberOfRows (typeof (MethodSemanticsTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new MethodSemanticsRow ());
}
@@ -440,7 +440,7 @@
public void Visit (MethodSpecTable table)
{
int number = GetNumberOfRows (typeof (MethodSpecTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new MethodSpecRow ());
}
@@ -448,7 +448,7 @@
public void Visit (ModuleTable table)
{
int number = GetNumberOfRows (typeof (ModuleTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ModuleRow ());
}
@@ -456,7 +456,7 @@
public void Visit (ModuleRefTable table)
{
int number = GetNumberOfRows (typeof (ModuleRefTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ModuleRefRow ());
}
@@ -464,7 +464,7 @@
public void Visit (NestedClassTable table)
{
int number = GetNumberOfRows (typeof (NestedClassTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new NestedClassRow ());
}
@@ -472,7 +472,7 @@
public void Visit (ParamTable table)
{
int number = GetNumberOfRows (typeof (ParamTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new ParamRow ());
}
@@ -480,7 +480,7 @@
public void Visit (PropertyTable table)
{
int number = GetNumberOfRows (typeof (PropertyTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new PropertyRow ());
}
@@ -488,7 +488,7 @@
public void Visit (PropertyMapTable table)
{
int number = GetNumberOfRows (typeof (PropertyMapTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new PropertyMapRow ());
}
@@ -496,7 +496,7 @@
public void Visit (StandAloneSigTable table)
{
int number = GetNumberOfRows (typeof (StandAloneSigTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new StandAloneSigRow ());
}
@@ -504,7 +504,7 @@
public void Visit (TypeDefTable table)
{
int number = GetNumberOfRows (typeof (TypeDefTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new TypeDefRow ());
}
@@ -512,7 +512,7 @@
public void Visit (TypeRefTable table)
{
int number = GetNumberOfRows (typeof (TypeRefTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new TypeRefRow ());
}
@@ -520,7 +520,7 @@
public void Visit (TypeSpecTable table)
{
int number = GetNumberOfRows (typeof (TypeSpecTable));
- table.Rows = new RowCollection (table, number);
+ table.Rows = new RowCollection (number);
for (int i = 0; i < number; i++)
table.Rows.Add (new TypeSpecRow ());
}
Modified: trunk/cecil/lib/Mono.Cecil.Metadata/RowCollection.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Metadata/RowCollection.cs 2005-04-30
09:32:40 UTC (rev 43823)
+++ trunk/cecil/lib/Mono.Cecil.Metadata/RowCollection.cs 2005-04-30
10:53:28 UTC (rev 43824)
@@ -19,8 +19,6 @@
private IList m_items;
- private IMetadataTable m_table;
-
public IMetadataRow this [int index] {
get { return m_items [index] as IMetadataRow; }
set { m_items [index] = value; }
@@ -38,15 +36,13 @@
get { return this; }
}
- internal RowCollection (IMetadataTable table, int size)
+ internal RowCollection (int size)
{
- m_table = table;
m_items = new ArrayList (size);
}
- internal RowCollection (IMetadataTable table)
+ internal RowCollection ()
{
- m_table = table;
m_items = new ArrayList ();
}
Modified: trunk/cecil/lib/Mono.Cecil.dll.sources
===================================================================
--- trunk/cecil/lib/Mono.Cecil.dll.sources 2005-04-30 09:32:40 UTC (rev
43823)
+++ trunk/cecil/lib/Mono.Cecil.dll.sources 2005-04-30 10:53:28 UTC (rev
43824)
@@ -272,3 +272,5 @@
./Mono.Cecil.Signatures/SzArray.cs
./Mono.Cecil.Signatures/TypeSpec.cs
./Mono.Cecil.Signatures/ValueType.cs
+./Mono.Xml/MiniParser.cs
+./Mono.Xml/SecurityParser.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches