X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Freflection-internals.h;h=7de2a9c9b331e99a2b1c4f857c4b2008856e8778;hb=1004d95b6b70e8b67a2b6782e0832faab9fa269a;hp=1b8e894a1a6dd98155ffcbe79f8d6688ff979113;hpb=6a5fd42faf8ec8cb0f622aa21522f82cf1df76f9;p=mono.git diff --git a/mono/metadata/reflection-internals.h b/mono/metadata/reflection-internals.h index 1b8e894a1a6..7de2a9c9b33 100644 --- a/mono/metadata/reflection-internals.h +++ b/mono/metadata/reflection-internals.h @@ -1,4 +1,5 @@ -/* +/** + * \file * Copyright 2014 Xamarin Inc * Copyright 2016 Microsoft * Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -13,11 +14,14 @@ #include gboolean -mono_reflection_is_usertype (MonoReflectionType *ref); +mono_reflection_is_usertype (MonoReflectionTypeHandle ref); MonoReflectionType* mono_reflection_type_resolve_user_types (MonoReflectionType *type, MonoError *error); +MonoType * +mono_reflection_type_handle_mono_type (MonoReflectionTypeHandle ref_type, MonoError *error); + MonoType* mono_reflection_get_type_checked (MonoImage *rootimage, MonoImage* image, MonoTypeNameParse *info, mono_bool ignorecase, mono_bool *type_resolve, MonoError *error); @@ -31,10 +35,13 @@ MonoObject* mono_custom_attrs_get_attr_checked (MonoCustomAttrInfo *ainfo, MonoClass *attr_klass, MonoError *error); MonoCustomAttrInfo* -mono_reflection_get_custom_attrs_info_checked (MonoObject *obj, MonoError *error); +mono_reflection_get_custom_attrs_info_checked (MonoObjectHandle obj, MonoError *error); -MonoArray* -mono_reflection_get_custom_attrs_data_checked (MonoObject *obj, MonoError *error); +MonoArrayHandle +mono_reflection_get_custom_attrs_data_checked (MonoObjectHandle obj, MonoError *error); + +MonoArrayHandle +mono_reflection_get_custom_attrs_by_type_handle (MonoObjectHandle obj, MonoClass *attr_klass, MonoError *error); MonoArray* mono_reflection_get_custom_attrs_blob_checked (MonoReflectionAssembly *assembly, MonoObject *ctor, MonoArray *ctorArgs, MonoArray *properties, MonoArray *propValues, MonoArray *fields, MonoArray* fieldValues, MonoError *error);