As the title mentioned, when I modified a method, where there is no 
variable defined original, I cannot insert new 

instructions to use the Call Stack, like stloc, etc. For example:

the original program is like:

void fun()
{
    Console.WriteLine("hello.");
}

I cannot use Mono.Cecil to insert instruction, stloc_0 or ldloc_0, cause 
Call Stack loc_0 seems not able to use.and CLR reports error.

How to deal with it? Thank you for your advice. 

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to