"The mutator classes have turned out to be very hard to use in practise. We are busy deprecating them"
This is the second time you mention CodeCopier exists.
How should people even know you added them?
Anyway, now that I know it exists, I'm trying to use it to complete the pseudo source generator and to merge two method bodies and I don't even understand how I should start using it.
I mean it: I don't even understand what method should I call to copy something.
I found no examples.
Not to mention the fact that when I read about "cones" I can only imagine what you are talking about but I have no precise idea.
This is the only usage I found (from it's test case):
copier.AddDefinition(codeAssembly, out ignore);
codeAssembly.AllTypes = ignore;
codeAssembly = (Assembly)copier.Substitute(codeAssembly);
this piece of code is obscure at best at my eyes.
Apparently mterwoord understood how it works right away, so I must be stupid. Could you or somebody help me?