Thanks. So just to make sure (That I'm not missing out on something)...
I find to find the TypeReference on every Type and Nested Type by looking into their: * Generic Arguments * Fields * Properties * Method Declarations (Return Values, Generic Arguments, Parameters) * Method Bodies (using ILVisitor or something like that) If/when I do this, I can replace all of them to the newly created AssemblyReference and remove the previous ones.... Would that be the be the approach you would employ for this task? (Or maybe I should just ildasm / sed / ilasm ;) On Jun 1, 11:19 pm, Jb Evain <[email protected]> wrote: > Hey, > > On Tue, Jun 1, 2010 at 9:55 PM, damageboy <[email protected]> wrote: > > Do I need to actually go over every TypeReference in every param, > > member, IL, etc. and replace the existing reference to a newely > > created one? > > Yep, there's no builtin to return all the type references for a specific > scope. > > -- > Jb Evain <[email protected]> -- -- mono-cecil
