[Mono-dev] Exception in runtime-invoke Wrapper

Robert Jordan robertj at gmx.net
Mon Jan 24 12:08:46 EST 2011


On 24.01.2011 16:57, Martin Däumler wrote:
> But now I am not sure if these methods ever need a runtime-invoke
> wrapper. So my question is: Which methods might ever need a
> runtime-invoke wrapper? Or, what does a runtime-invoke
> wrapper exactly do?

Runtime-invoke wrappers are used for late-bound reflection
calls via mono_runtime_invoke() (or System.Reflection).
This means that whenever a method is called by its name or
handle, a wrapper will be generated and compiled for it.

You may want to look at how Mono is handling those
wrappers with its full-AOT subsystem.

Robert



More information about the Mono-devel-list mailing list