Am Montag, 31. März 2014 09:39:00 UTC+2 schrieb wrnsnbrgl: > > Is your problem writing the IL code or getting cecil to write it? >
I think it's more about Cecil. To make the whole thing work, the generic parameters and arguments need to match the original ones exactly and I just don't know how to make Cecil do that. For example, IEnumerable<MyType<YourType>> may have references to types in a different assembly somewhere within. I fear I'll have to parse the whole generic hierarchy somehow and import references for anything. Also I have the feeling that Cecil works one layer below IL so reading IL doesn't help me a lot in such cases because I can't translate it to the Cecil API. Sometimes, IL seems like a high-level language compared to Cecil. -- -- -- 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.
