On 04.03.2015 20:04, mimi wrote:
For Mono, if I insert 'mono_runtime_object_init(instanceStandardKernel)', we
are trying to execute  default argument-less ctor of StandardKernel that
doesn't exist and I got the error which is normal.

Here, how Mono will parse 'new StandardKernel()'? Default ctor or first ctor
without passing anything? Are error messages I got related to this?

The exception is unrelated to how mono is invoking ctors :)

Some parts of the runtime require that mono_jit_exec() was executed.

Implement an empty "static void Main()" in your entry assembly and
execute it with mono_jit_exec() before doing other work.

Robert


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to