mono_type_get_object
domain | an app domain |
type | a type |
System.MonoType
object representing the type type.
mono_type_create_from_typespec
mono_type_create_from_typespec_checked
that has proper error handlingimage | context where the image is created |
type_spec | typespec token |
MonoType
representing the TypeSpec
indexed by the type_spec
token.mono_type_full_name
mono_type_get_array_type
type | the MonoType operated on |
MonoArrayType
struct describing the array type that type
represents. The info includes details such as rank, array element type
and the sizes and bounds of multidimensional arrays.MONO_TYPE_ARRAY
.mono_type_get_class
type | the MonoType operated on |
MonoClass
pointer that describes the class that type represents.
MONO_TYPE_CLASS
or a
MONO_TYPE_VALUETYPE
. For more general functionality, use mono_class_from_mono_type_internal
,
instead.mono_type_get_modifiers
mono_type_get_name
type | a type |
mono_type_get_ptr_type
MonoType
pointer that describes the type that type
represents a pointer to.MonoType
operated on
It is only valid to call this function if type is a MONO_TYPE_PTR
.mono_type_get_signature
type | the MonoType operated on |
MonoMethodSignature
pointer that describes the signature
of the function pointer type represents.MONO_TYPE_FNPTR
.mono_type_get_type
type | the MonoType operated on |
MonoTypeEnum
enum members like MONO_TYPE_I4
or MONO_TYPE_STRING
.mono_type_get_underlying_type
type | a type |
MonoType
for the underlying integer type if type
is an enum and byref is false, otherwise the type itself.mono_type_is_byref
type | the MonoType operated on |
TRUE
if type represents a type passed by reference,
FALSE
otherwise.mono_type_is_pointer
type | the MonoType operated on |
TRUE
if type is a managed or unmanaged pointer type. FALSE
otherwise.
mono_type_is_reference
type | the MonoType operated on |
TRUE
if type represents an object reference. FALSE
otherwise.
mono_type_is_struct
type | the MonoType operated on |
TRUE
if type is a struct, that is a ValueType
but not an enum
or a basic type like System.Int32
. FALSE
otherwise.mono_type_is_void
type | the MonoType operated on |
TRUE
if type is System.Void
. FALSE
otherwise.
mono_type_size
t | the type to return the size of |
mono_type_stack_size
t | the type to return the size it uses on the stack |
mono_type_to_unmanaged
MonoMarshalNative
enumeration value (MONO_NATIVE_
) value
describing the underlying native reprensetation of the type.MONO_MARSHAL_CONV_
enumeration values.