I am trying to (on purpose) trash the GC heap in Mono, hoping to cause an ExecutionEngineException
or a core dump. How can I do this in C#? I don't want to call Marshel or the like.
EDIT: I am perfectly willing to use unsafe code. I have caused a crash but it has always been a NullReferenceException or a StackOverflowException. I want something that safe code could not do.