* To avoid these problems, we put the wrappers into the <Module> class of
* the image.
*/
- if (image->dynamic)
+ if (image_is_dynamic (image))
klass = ((MonoDynamicImage*)image)->wrappers_type;
else
klass = mono_class_get (image, mono_metadata_make_token (MONO_TABLE_TYPEDEF, 1));
/* Can't share this as we push a string as this */
need_direct_wrapper = TRUE;
} else {
- if (method->dynamic)
+ if (method_is_dynamic (method))
callsig = signature_dup (method->klass->image, mono_method_signature (method));
else
callsig = mono_method_signature (method);
{
MonoImage *image = method->klass->image;
- g_assert (method->dynamic);
+ g_assert (method_is_dynamic (method));
/* This could be called during shutdown */
if (marshal_mutex_initialized)