Author: jbevain
Date: 2006-09-18 19:41:31 -0400 (Mon, 18 Sep 2006)
New Revision: 65612
Modified:
trunk/cecil/lib/ChangeLog
trunk/cecil/lib/CodeGen/templates/IndexedCollection.cs
trunk/cecil/lib/Mono.Cecil.Cil/InstructionCollection.cs
Log:
2006-09-19 Jb Evain <[EMAIL PROTECTED]>
* Mono.Cecil.Cil/InstructionCollection.cs
CodeGen/templates/IndexedCollection.cs:
The outside instruction has an offset of -1.
Modified: trunk/cecil/lib/ChangeLog
===================================================================
--- trunk/cecil/lib/ChangeLog 2006-09-18 23:13:30 UTC (rev 65611)
+++ trunk/cecil/lib/ChangeLog 2006-09-18 23:41:31 UTC (rev 65612)
@@ -1,5 +1,9 @@
2006-09-19 Jb Evain <[EMAIL PROTECTED]>
+ * Mono.Cecil.Cil/InstructionCollection.cs
+ CodeGen/templates/IndexedCollection.cs:
+ The outside instruction has an offset of -1.
+
* Mono.Cecil.Cil/OpCodes.cs
Mono.Cecil.Cil/CodeReader.cs
Mono.Cecil.Cil/OpCode.cs
Modified: trunk/cecil/lib/CodeGen/templates/IndexedCollection.cs
===================================================================
--- trunk/cecil/lib/CodeGen/templates/IndexedCollection.cs 2006-09-18
23:13:30 UTC (rev 65611)
+++ trunk/cecil/lib/CodeGen/templates/IndexedCollection.cs 2006-09-18
23:41:31 UTC (rev 65612)
@@ -55,7 +55,7 @@
IList m_items;
<%=$cur_coll.container_impl%> m_container;<%
if $cur_coll.type == "Instruction" %>
- public readonly Instruction Outside = new Instruction
(OpCodes.Nop);<% end %>
+ public readonly Instruction Outside = new Instruction (-1,
OpCodes.Nop);<% end %>
public <%=$cur_coll.type%> this [int index] {
get { return m_items [index] as <%=$cur_coll.type%>; }
Modified: trunk/cecil/lib/Mono.Cecil.Cil/InstructionCollection.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Cil/InstructionCollection.cs 2006-09-18
23:13:30 UTC (rev 65611)
+++ trunk/cecil/lib/Mono.Cecil.Cil/InstructionCollection.cs 2006-09-18
23:41:31 UTC (rev 65612)
@@ -5,7 +5,7 @@
// Jb Evain ([EMAIL PROTECTED])
//
// Generated by /CodeGen/cecil-gen.rb do not edit
-// Thu Sep 07 13:28:11 CEST 2006
+// Tue Sep 19 01:40:24 CEST 2006
//
// (C) 2005 Jb Evain
//
@@ -40,7 +40,7 @@
IList m_items;
MethodBody m_container;
- public readonly Instruction Outside = new Instruction
(OpCodes.Nop);
+ public readonly Instruction Outside = new Instruction (-1,
OpCodes.Nop);
public Instruction this [int index] {
get { return m_items [index] as Instruction; }
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches