[Mono-list] Mono compiler crashes when calling native code

Maurício Linhares mauricio.linhares at gmail.com
Tue Aug 14 15:02:10 UTC 2012

Hello guys,  

I'm trying to compile the following code using Mono (I'm in a mac, using MonoDevelop):


But the compiler crashes and produces the following output:


I have moved this class out of the project where it used to be and even in a project with this class only the compiler still crashes. Any idea why this would be happening?

This class is just a holder for a shared run loop CFRunLoop, i have code that looks almost like this in another place and it works as expected (the only difference I can spot is that the code in this other class is in an instance method, not in a static constructor.  

Maurício Linhares
http://mauricio.github.com/ - http://twitter.com/#!/mauriciojr

More information about the Mono-list mailing list