[Mono-dev] Method attributes in Full-AOT code

Martin Daeumler mdae at cs.tu-chemnitz.de
Wed May 11 05:29:30 EDT 2011


Hello,

I'm diving into the Full-AOT code of Mono 2.6.1 and I want to know
the meaning of several MonoMethod attributes and how these methods
are called, please. The Full-AOT code skips the AOT compilation of
methods with the flags:

METHOD_ATTRIBUTE_ABSTRACT
METHOD_ATTRIBUTE_PINVOKE_IMPL

and methods with the implementation flags

METHOD_IMPL_ATTRIBUTE_RUNTIME
METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL

Skipping abstract methods is clear. PInvoke and internal call
methods are called through wrappers, aren't they? But I don't
know the difference between both types.

Unfortunately I have no idea what is about methods with the
attribute "METHOD_IMPL_ATTRIBUTE_RUNTIME" and what
is the difference to the other methods? How are they used
and how are they called (through wrappers)? I appreciate
for any hint.


With kind regards,
Martin Däumler

--
View this message in context: http://mono.1490590.n4.nabble.com/Method-attributes-in-Full-AOT-code-tp3514236p3514236.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list