I want to create an AssemblyDefinition with two modules : the manifest
m0 plus an external module m1.

If I define the body of the entry point of my assembly in order to
call a method in a class defined in my external module, do I have to
call

_il.Emit(OpCodes.Call, m0.Import(myExternalMethod))

or

_il.Emit(OpCodes.Call, myExternalMethod) ?

In fact, as it is the same assembly but another module, I am not sure
what to do.

Thanks in advance for your help !

Regis

-- 
--
mono-cecil

Reply via email to