https://bugzilla.novell.com/show_bug.cgi?id=419966


           Summary: Cannot copy instructions from one assembly to another
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Cecil
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


Description of Problem:
When I copy instructions from one assembly to another and insert them with cil
worker it breaks everything after where I inserted them.

Steps to reproduce the problem:
Load 2 assemblies and copy insert instructions from one assembly into another's
method.


Actual Results:
    L_0000: ldarg.0 
    L_0001: ldstr "System.Security.Cryptography.MD5"
    L_0006: call 
//Just cuts off their
Expected Results:
    L_0000: ldarg.0 
    L_0001: ldstr "System.Security.Cryptography.MD5"
    //Some opcodes here (not call)

How often does this happen? 
Every time.

Additional Information:

I am not sure if this is a bug or if cecil just doesn't support it.

If cecil doesn't support it, would you guys add it or should I start looking at
a work around?

Also the method's body looks fine in cecil before saving.(What it should be)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to