mono/mono — pull request #448 by xen2 (2012-08-29 09:21:38+00:00)
Title: Generic inflating: support for pointer types.

Mono was generating runtime exception when JITing any method referencing this IL function:

.method public hidebysig static !!T* Cast(void* ptr) cil managed
{
ldarg.0
ret
}

* Assertion at method-to-ir.c:5873, condition `!sig->has_type_parameters' not met
It was because inflating pointer type (such as !!T*) was not implemented.

Somebody should probably double check if what I did is good (esp. not totally sure if there is something I'm suppose to free, but since I directly use "inflated" I thought that was not necessary).