Method | Description | |
---|---|---|
CSharpName ( IList |
||
CSharpName ( System.TypeSpec t ) : string |
Returns the C# name of a type if possible, or the full type name otherwise
|
|
CSharpSignature ( |
||
ChangeType ( object value, System.TypeSpec targetType, bool &error ) : object | ||
GetElementType ( System.TypeSpec t ) : System.TypeSpec | ||
GetFullNameSignature ( |
||
GetPredefinedConstructor ( System.TypeSpec t, Mono.CSharp.Location loc ) : |
||
GetPredefinedField ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : |
||
GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, Mono.CSharp.Location loc ) : |
||
GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, bool optional, Mono.CSharp.Location loc ) : |
||
GetPredefinedMethod ( System.TypeSpec t, string name, Mono.CSharp.Location loc ) : |
||
GetPredefinedProperty ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : |
||
GetTypeArguments ( System.TypeSpec t ) : System.TypeSpec[] | ||
HasElementType ( System.TypeSpec t ) : bool |
This method is not implemented by MS runtime for dynamic types
|
|
IsBuiltinOrEnum ( System.TypeSpec t ) : bool | ||
IsBuiltinType ( System.TypeSpec t ) : bool | ||
IsDelegateType ( System.TypeSpec t ) : bool | ||
IsEnumType ( System.TypeSpec t ) : bool | ||
IsFamilyAccessible ( System.TypeSpec type, System.TypeSpec parent ) : bool | ||
IsGenericParameter ( System.TypeSpec type ) : bool | ||
IsGenericType ( System.TypeSpec type ) : bool | ||
IsInstantiationOfSameGenericType ( System.TypeSpec type, System.TypeSpec parent ) : bool |
Check whether `type' and `parent' are both instantiations of the same generic type. Note that we do not check the type parameters here.
|
|
IsNestedChildOf ( System.TypeSpec type, ITypeDefinition parent ) : bool | ||
IsNestedFamilyAccessible ( System.TypeSpec type, System.TypeSpec base_type ) : bool | ||
IsNullableType ( System.TypeSpec t ) : bool | ||
IsPrimitiveType ( System.TypeSpec t ) : bool | ||
IsReferenceType ( System.TypeSpec t ) : bool | ||
IsSpecialType ( System.TypeSpec t ) : bool | ||
IsStruct ( System.TypeSpec t ) : bool | ||
IsUnmanagedType ( System.TypeSpec t ) : bool | ||
IsValueType ( System.TypeSpec t ) : bool | ||
Reset ( ) : void | ||
VerifyUnmanaged ( |
Utility function that can be used to probe whether a type is managed or not.
|
Method | Description | |
---|---|---|
GetPredefinedMember ( System.TypeSpec t, MemberFilter filter, bool optional, Mono.CSharp.Location loc ) : |
||
TypeManager ( ) : System |
static public CSharpName ( IList |
||
types | IList |
|
return | string |
static public CSharpName ( System.TypeSpec t ) : string | ||
t | System.TypeSpec | |
return | string |
static public CSharpSignature ( |
||
mb | ||
return | string |
public static ChangeType ( object value, System.TypeSpec targetType, bool &error ) : object | ||
value | object | |
targetType | System.TypeSpec | |
error | bool | |
return | object |
public static GetElementType ( System.TypeSpec t ) : System.TypeSpec | ||
t | System.TypeSpec | |
return | System.TypeSpec |
static public GetFullNameSignature ( |
||
mi | ||
return | string |
public static GetPredefinedConstructor ( System.TypeSpec t, Mono.CSharp.Location loc ) : |
||
t | System.TypeSpec | |
loc | Mono.CSharp.Location | |
return |
public static GetPredefinedField ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : |
||
t | System.TypeSpec | |
name | string | |
loc | Mono.CSharp.Location | |
type | System.TypeSpec | |
return |
public static GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, Mono.CSharp.Location loc ) : |
||
t | System.TypeSpec | |
filter | MemberFilter | |
loc | Mono.CSharp.Location | |
return |
public static GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, bool optional, Mono.CSharp.Location loc ) : |
||
t | System.TypeSpec | |
filter | MemberFilter | |
optional | bool | |
loc | Mono.CSharp.Location | |
return |
public static GetPredefinedMethod ( System.TypeSpec t, string name, Mono.CSharp.Location loc ) : |
||
t | System.TypeSpec | |
name | string | |
loc | Mono.CSharp.Location | |
return |
public static GetPredefinedProperty ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : |
||
t | System.TypeSpec | |
name | string | |
loc | Mono.CSharp.Location | |
type | System.TypeSpec | |
return |
public static GetTypeArguments ( System.TypeSpec t ) : System.TypeSpec[] | ||
t | System.TypeSpec | |
return | System.TypeSpec[] |
public static HasElementType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsBuiltinOrEnum ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsBuiltinType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsDelegateType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsEnumType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsFamilyAccessible ( System.TypeSpec type, System.TypeSpec parent ) : bool | ||
type | System.TypeSpec | |
parent | System.TypeSpec | |
return | bool |
public static IsGenericParameter ( System.TypeSpec type ) : bool | ||
type | System.TypeSpec | |
return | bool |
public static IsGenericType ( System.TypeSpec type ) : bool | ||
type | System.TypeSpec | |
return | bool |
public static IsInstantiationOfSameGenericType ( System.TypeSpec type, System.TypeSpec parent ) : bool | ||
type | System.TypeSpec | |
parent | System.TypeSpec | |
return | bool |
public static IsNestedChildOf ( System.TypeSpec type, ITypeDefinition parent ) : bool | ||
type | System.TypeSpec | |
parent | ITypeDefinition | |
return | bool |
public static IsNestedFamilyAccessible ( System.TypeSpec type, System.TypeSpec base_type ) : bool | ||
type | System.TypeSpec | |
base_type | System.TypeSpec | |
return | bool |
public static IsNullableType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsPrimitiveType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsReferenceType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsSpecialType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsStruct ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsUnmanagedType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static IsValueType ( System.TypeSpec t ) : bool | ||
t | System.TypeSpec | |
return | bool |
public static VerifyUnmanaged ( |
||
ctx | ||
t | System.TypeSpec | |
loc | Mono.CSharp.Location | |
return | bool |
public static MethodSpec,Mono.CSharp activator_create_instance | ||
return |
static public TypeSpec,System arg_iterator_type | ||
return | System.TypeSpec |
static public BuildinTypeSpec attribute_type | ||
return | BuildinTypeSpec |
static public MethodSpec,Mono.CSharp bool_movenext_void | ||
return |
static public BuildinTypeSpec decimal_type | ||
return | BuildinTypeSpec |
static public MethodSpec,Mono.CSharp delegate_combine_delegate_delegate | ||
return |
static public MethodSpec,Mono.CSharp delegate_remove_delegate_delegate | ||
return |
static public BuildinTypeSpec delegate_type | ||
return | BuildinTypeSpec |
static public BuildinTypeSpec exception_type | ||
return | BuildinTypeSpec |
public static MethodSpec,Mono.CSharp fieldinfo_get_field_from_handle | ||
return |
public static MethodSpec,Mono.CSharp fieldinfo_get_field_from_handle_generic | ||
return |
public static MethodSpec,Mono.CSharp gen_interlocked_compare_exchange | ||
return |
static public TypeSpec,System generic_icollection_type | ||
return | System.TypeSpec |
static public TypeSpec,System generic_ienumerable_type | ||
return | System.TypeSpec |
static public TypeSpec,System generic_ienumerator_type | ||
return | System.TypeSpec |
static public TypeSpec,System generic_ilist_type | ||
return | System.TypeSpec |
static public TypeSpec,System generic_nullable_type | ||
return | System.TypeSpec |
static public BuildinTypeSpec idisposable_type | ||
return | BuildinTypeSpec |
static public BuildinTypeSpec ienumerable_type | ||
return | BuildinTypeSpec |
static public PropertySpec,Mono.CSharp ienumerator_getcurrent | ||
return |
static public BuildinTypeSpec ienumerator_type | ||
return | BuildinTypeSpec |
static public PropertySpec,Mono.CSharp int_get_offset_to_string_data | ||
return |
static public MethodSpec,Mono.CSharp int_interlocked_compare_exchange | ||
return |
public static MethodSpec,Mono.CSharp methodbase_get_type_from_handle | ||
return |
public static MethodSpec,Mono.CSharp methodbase_get_type_from_handle_generic | ||
return |
static public BuildinTypeSpec multicast_delegate_type | ||
return | BuildinTypeSpec |
static public BuildinTypeSpec runtime_field_handle_type | ||
return | BuildinTypeSpec |
static public BuildinTypeSpec runtime_handle_type | ||
return | BuildinTypeSpec |
static public FieldSpec,Mono.CSharp string_empty | ||
return |
static public MethodSpec,Mono.CSharp system_type_get_type_from_handle | ||
return |
static public TypeSpec,System typed_reference_type | ||
return | System.TypeSpec |
static public BuildinTypeSpec uintptr_type | ||
return | BuildinTypeSpec |
static public MethodSpec,Mono.CSharp void_decimal_ctor_five_args | ||
return |
static public MethodSpec,Mono.CSharp void_decimal_ctor_int_arg | ||
return |
public static MethodSpec,Mono.CSharp void_decimal_ctor_long_arg | ||
return |
static public MethodSpec,Mono.CSharp void_dispose_void | ||
return |
static public MethodSpec,Mono.CSharp void_initializearray_array_fieldhandle | ||
return |
static public MethodSpec,Mono.CSharp void_monitor_enter_object | ||
return |
static public MethodSpec,Mono.CSharp void_monitor_exit_object | ||
return |