Author: jbevain
Date: 2005-04-28 12:19:12 -0400 (Thu, 28 Apr 2005)
New Revision: 43730
Added:
trunk/cecil/lib/Mono.Cecil.Metadata/MethodSpec.cs
Log:
MethodSpec table
Added: trunk/cecil/lib/Mono.Cecil.Metadata/MethodSpec.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Metadata/MethodSpec.cs 2005-04-28 15:59:23 UTC
(rev 43729)
+++ trunk/cecil/lib/Mono.Cecil.Metadata/MethodSpec.cs 2005-04-28 16:19:12 UTC
(rev 43730)
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) 2004 DotNetGuru and the individuals listed
+ * on the ChangeLog entries.
+ *
+ * Authors :
+ * Jb Evain ([EMAIL PROTECTED])
+ *
+ * This is a free software distributed under a MIT/X11 license
+ * 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
+ *
+ *****************************************************************************/
+
+namespace Mono.Cecil.Metadata {
+
+ [RId (0x2b)]
+ public sealed class MethodSpecTable : IMetadataTable {
+
+ private RowCollection m_rows;
+
+ public MethodSpecRow this [int index] {
+ get { return m_rows [index] as MethodSpecRow; }
+ set { m_rows [index] = value; }
+ }
+
+ public RowCollection Rows {
+ get { return m_rows; }
+ set { m_rows = value; }
+ }
+
+ internal MethodSpecTable ()
+ {
+ }
+
+ public void Accept (IMetadataTableVisitor visitor)
+ {
+ visitor.Visit (this);
+ this.Rows.Accept (visitor.GetRowVisitor ());
+ }
+ }
+
+ public sealed class MethodSpecRow : IMetadataRow {
+
+ public static readonly int RowSize = 8;
+ public static readonly int RowColumns = 2;
+
+ public MetadataToken Method;
+ public uint Instantiation;
+
+ internal MethodSpecRow ()
+ {
+ }
+
+ public void Accept (IMetadataRowVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
+ }
+}
Property changes on: trunk/cecil/lib/Mono.Cecil.Metadata/MethodSpec.cs
___________________________________________________________________
Name: svn:executable
+ *
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches