In my case, I was injecting a method in to each type of my assembly and then
in some places in the middle of type methods, inserted the code to call *
injected-methods*.
It seems that when injecting methods in large assemblies, CECIL confuses
labels and some *still-unknown* things.
I solved my problem by emitting method body of those method wherever I
wanted to call the method.
it increases the assembly size but at least solved my problem.
Does anyone know why this happens? is it a known issue?
thank you all

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to