Nope, you can't. Import only creates a reference.

On Saturday, January 29, 2011, High6 <[email protected]> wrote:
> Can I use "Import" and copy most of the TypeDefinition/
> MethodDefinitions over with little change? Like do I have to go
> through all the instructions and import the types they use or are they
> already imported when I import a Method?
>
> On Jan 29, 3:54 am, Jb Evain <[email protected]> wrote:
>> The inject methods in Cecil 0.6 were subtily broken. They have not yet
>> been ported to 0.9
>>
>> If you want the same behavior, you can just take the code from 0.6 and
>> make them extension methods.
>>
>> On Saturday, January 29, 2011, High6 <[email protected]> wrote:
>> > A very old build of mono used to have an "Inject" method for easily
>> > injecting a type or method from the host application into the target
>> > one. How can you do that with the latest build of mono?
>>
>> > --
>> > --
>> > mono-cecil
>>
>>
>
> --
> --
> mono-cecil

-- 
--
mono-cecil

Reply via email to