mono_custom_attrs_from_module (MonoImage *image, MonoError *error)
{
guint32 idx;
+
+ error_init (error);
if (image_is_dynamic (image))
return lookup_custom_attr (image, image);
mono_custom_attrs_from_property_checked (MonoClass *klass, MonoProperty *property, MonoError *error)
{
guint32 idx;
+
+ error_init (error);
if (image_is_dynamic (klass->image)) {
property = mono_metadata_get_corresponding_property_from_generic_type_definition (property);
mono_custom_attrs_from_event_checked (MonoClass *klass, MonoEvent *event, MonoError *error)
{
guint32 idx;
+
+ error_init (error);
if (image_is_dynamic (klass->image)) {
event = mono_metadata_get_corresponding_event_from_generic_type_definition (event);