ndle static methods with bound first arg.
commit0c46b444fd94d3ccd8e3032abeea59d8c235b57d
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 29 Sep 2010 15:20:31 +0000 (29 12:20 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 29 Sep 2010 15:22:55 +0000 (29 12:22 -0300)
treea6434f6f8dd2e3dce977976515995adc58ab2444
parent2ba98279759d29c84dae7f3e8f878202958062ba
ndle static methods with bound first arg.

* marshal.c (mono_marshal_get_delegate_invoke): Properly
handle a static method that has it's first argument bound.

* marshal.c (mono_marshal_free_inflated_wrappers): Free
from the new hashtable too.

* image.c (mono_image_close_except_pools): Free the new
hash table.

* metadata-internals.h (MonoImage): Add new hashtable
to store the new kind of invoke wrappers.
mono/metadata/image.c
mono/metadata/marshal.c
mono/metadata/metadata-internals.h