#include "metadata/appdomain.h"
#include "metadata/reflection-internals.h"
#include "mono/metadata/debug-helpers.h"
-#include "mono/metadata/threadpool.h"
#include "mono/metadata/threads.h"
#include "mono/metadata/monitor.h"
#include "mono/metadata/metadata-internals.h"
g_assert (method);
- cache = mono_marshal_get_cache (&method->klass->image->cominterop_wrapper_cache, mono_aligned_addr_hash, NULL);
+ cache = mono_marshal_get_cache (&mono_method_get_wrapper_cache (method)->cominterop_wrapper_cache, mono_aligned_addr_hash, NULL);
+
if ((res = mono_marshal_find_in_cache (cache, method)))
return res;
MonoMethodBuilder *mb;
MonoMethod *res;
int i;
- GHashTable* cache = mono_marshal_get_cache (&method->klass->image->cominterop_invoke_cache, mono_aligned_addr_hash, NULL);
+ GHashTable* cache;
+
+ cache = mono_marshal_get_cache (&mono_method_get_wrapper_cache (method)->cominterop_invoke_cache, mono_aligned_addr_hash, NULL);
g_assert (method);
{
}
-gboolean
-mono_marshal_free_ccw (MonoObject* object)
-{
- return FALSE;
-}
-
gpointer
mono_string_to_bstr (MonoString *string_obj)
{
#endif
}
+gboolean
+mono_marshal_free_ccw (MonoObject* object)
+{
+ return FALSE;
+}
+
int
ves_icall_System_Runtime_InteropServices_Marshal_AddRefInternal (gpointer pUnk)
{