Hey,

On Mon, May 10, 2010 at 4:15 PM, Jan <[email protected]> wrote:
> The problem is that after MethodDefinition.Import() the DateTime&
> parameter is a DateTime* parameter.

This is fixed in github. Thanks!

> When should I call MethodDefinition.Import() and when does it not make
> sense?

It's ModuleDefinition.Import. When inside a module, you want to use a
method, a type, or a field, that is defined outside the module, you
have to create a reference to this type, field or method. That's the
process of importing a reference. Calling import on a type, method or
field defined inside the module just returns the type, method or field
unmodified.

-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to