C# 클래스 Mono.CSharp.TypeManager

파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
activator_create_instance MethodSpec
arg_iterator_type System.TypeSpec
array_type BuildinTypeSpec
attribute_type BuildinTypeSpec
bool_movenext_void MethodSpec
bool_type BuildinTypeSpec
byte_type BuildinTypeSpec
char_type BuildinTypeSpec
decimal_type BuildinTypeSpec
delegate_combine_delegate_delegate MethodSpec
delegate_remove_delegate_delegate MethodSpec
delegate_type BuildinTypeSpec
double_type BuildinTypeSpec
enum_type BuildinTypeSpec
exception_type BuildinTypeSpec
fieldinfo_get_field_from_handle MethodSpec
fieldinfo_get_field_from_handle_generic MethodSpec
float_type BuildinTypeSpec
gen_interlocked_compare_exchange MethodSpec
generic_icollection_type System.TypeSpec
generic_ienumerable_type System.TypeSpec
generic_ienumerator_type System.TypeSpec
generic_ilist_type System.TypeSpec
generic_nullable_type System.TypeSpec
idisposable_type BuildinTypeSpec
ienumerable_type BuildinTypeSpec
ienumerator_getcurrent PropertySpec
ienumerator_type BuildinTypeSpec
int32_type BuildinTypeSpec
int64_type BuildinTypeSpec
int_get_offset_to_string_data PropertySpec
int_interlocked_compare_exchange MethodSpec
intptr_type BuildinTypeSpec
mbr_type System.TypeSpec
methodbase_get_type_from_handle MethodSpec
methodbase_get_type_from_handle_generic MethodSpec
multicast_delegate_type BuildinTypeSpec
object_type BuildinTypeSpec
runtime_field_handle_type BuildinTypeSpec
runtime_handle_type BuildinTypeSpec
sbyte_type BuildinTypeSpec
short_type BuildinTypeSpec
string_empty FieldSpec
string_type BuildinTypeSpec
system_type_get_type_from_handle MethodSpec
type_type BuildinTypeSpec
typed_reference_type System.TypeSpec
uint32_type BuildinTypeSpec
uint64_type BuildinTypeSpec
uintptr_type BuildinTypeSpec
ushort_type BuildinTypeSpec
value_type BuildinTypeSpec
void_decimal_ctor_five_args MethodSpec
void_decimal_ctor_int_arg MethodSpec
void_decimal_ctor_long_arg MethodSpec
void_dispose_void MethodSpec
void_initializearray_array_fieldhandle MethodSpec
void_monitor_enter_object MethodSpec
void_monitor_exit_object MethodSpec
void_type BuildinTypeSpec

공개 메소드들

메소드 설명
CSharpName ( IList types ) : string
CSharpName ( System.TypeSpec t ) : string

Returns the C# name of a type if possible, or the full type name otherwise

CSharpSignature ( MemberSpec mb ) : string
ChangeType ( object value, System.TypeSpec targetType, bool &error ) : object
GetElementType ( System.TypeSpec t ) : System.TypeSpec
GetFullNameSignature ( MemberSpec mi ) : string
GetPredefinedConstructor ( System.TypeSpec t, Mono.CSharp.Location loc ) : MethodSpec
GetPredefinedField ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : FieldSpec
GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, Mono.CSharp.Location loc ) : MethodSpec
GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, bool optional, Mono.CSharp.Location loc ) : MethodSpec
GetPredefinedMethod ( System.TypeSpec t, string name, Mono.CSharp.Location loc ) : MethodSpec
GetPredefinedProperty ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : PropertySpec
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 ( CompilerContext ctx, System.TypeSpec t, Mono.CSharp.Location loc ) : bool

Utility function that can be used to probe whether a type is managed or not.

비공개 메소드들

메소드 설명
GetPredefinedMember ( System.TypeSpec t, MemberFilter filter, bool optional, Mono.CSharp.Location loc ) : MemberSpec
TypeManager ( ) : System

메소드 상세

CSharpName() 정적인 공개 메소드

static public CSharpName ( IList types ) : string
types IList
리턴 string

CSharpName() 정적인 공개 메소드

Returns the C# name of a type if possible, or the full type name otherwise
static public CSharpName ( System.TypeSpec t ) : string
t System.TypeSpec
리턴 string

CSharpSignature() 정적인 공개 메소드

static public CSharpSignature ( MemberSpec mb ) : string
mb MemberSpec
리턴 string

ChangeType() 공개 정적인 메소드

public static ChangeType ( object value, System.TypeSpec targetType, bool &error ) : object
value object
targetType System.TypeSpec
error bool
리턴 object

GetElementType() 공개 정적인 메소드

public static GetElementType ( System.TypeSpec t ) : System.TypeSpec
t System.TypeSpec
리턴 System.TypeSpec

GetFullNameSignature() 정적인 공개 메소드

static public GetFullNameSignature ( MemberSpec mi ) : string
mi MemberSpec
리턴 string

GetPredefinedConstructor() 공개 정적인 메소드

public static GetPredefinedConstructor ( System.TypeSpec t, Mono.CSharp.Location loc ) : MethodSpec
t System.TypeSpec
loc Mono.CSharp.Location
리턴 MethodSpec

GetPredefinedField() 공개 정적인 메소드

public static GetPredefinedField ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : FieldSpec
t System.TypeSpec
name string
loc Mono.CSharp.Location
type System.TypeSpec
리턴 FieldSpec

GetPredefinedMethod() 공개 정적인 메소드

public static GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, Mono.CSharp.Location loc ) : MethodSpec
t System.TypeSpec
filter MemberFilter
loc Mono.CSharp.Location
리턴 MethodSpec

GetPredefinedMethod() 공개 정적인 메소드

public static GetPredefinedMethod ( System.TypeSpec t, MemberFilter filter, bool optional, Mono.CSharp.Location loc ) : MethodSpec
t System.TypeSpec
filter MemberFilter
optional bool
loc Mono.CSharp.Location
리턴 MethodSpec

GetPredefinedMethod() 공개 정적인 메소드

public static GetPredefinedMethod ( System.TypeSpec t, string name, Mono.CSharp.Location loc ) : MethodSpec
t System.TypeSpec
name string
loc Mono.CSharp.Location
리턴 MethodSpec

GetPredefinedProperty() 공개 정적인 메소드

public static GetPredefinedProperty ( System.TypeSpec t, string name, Mono.CSharp.Location loc, System.TypeSpec type ) : PropertySpec
t System.TypeSpec
name string
loc Mono.CSharp.Location
type System.TypeSpec
리턴 PropertySpec

GetTypeArguments() 공개 정적인 메소드

public static GetTypeArguments ( System.TypeSpec t ) : System.TypeSpec[]
t System.TypeSpec
리턴 System.TypeSpec[]

HasElementType() 공개 정적인 메소드

This method is not implemented by MS runtime for dynamic types
public static HasElementType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsBuiltinOrEnum() 공개 정적인 메소드

public static IsBuiltinOrEnum ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsBuiltinType() 공개 정적인 메소드

public static IsBuiltinType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsDelegateType() 공개 정적인 메소드

public static IsDelegateType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsEnumType() 공개 정적인 메소드

public static IsEnumType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsFamilyAccessible() 공개 정적인 메소드

public static IsFamilyAccessible ( System.TypeSpec type, System.TypeSpec parent ) : bool
type System.TypeSpec
parent System.TypeSpec
리턴 bool

IsGenericParameter() 공개 정적인 메소드

public static IsGenericParameter ( System.TypeSpec type ) : bool
type System.TypeSpec
리턴 bool

IsGenericType() 공개 정적인 메소드

public static IsGenericType ( System.TypeSpec type ) : bool
type System.TypeSpec
리턴 bool

IsInstantiationOfSameGenericType() 공개 정적인 메소드

Check whether `type' and `parent' are both instantiations of the same generic type. Note that we do not check the type parameters here.
public static IsInstantiationOfSameGenericType ( System.TypeSpec type, System.TypeSpec parent ) : bool
type System.TypeSpec
parent System.TypeSpec
리턴 bool

IsNestedChildOf() 공개 정적인 메소드

public static IsNestedChildOf ( System.TypeSpec type, ITypeDefinition parent ) : bool
type System.TypeSpec
parent ITypeDefinition
리턴 bool

IsNestedFamilyAccessible() 공개 정적인 메소드

public static IsNestedFamilyAccessible ( System.TypeSpec type, System.TypeSpec base_type ) : bool
type System.TypeSpec
base_type System.TypeSpec
리턴 bool

IsNullableType() 공개 정적인 메소드

public static IsNullableType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsPrimitiveType() 공개 정적인 메소드

public static IsPrimitiveType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsReferenceType() 공개 정적인 메소드

public static IsReferenceType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsSpecialType() 공개 정적인 메소드

public static IsSpecialType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsStruct() 공개 정적인 메소드

public static IsStruct ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsUnmanagedType() 공개 정적인 메소드

public static IsUnmanagedType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

IsValueType() 공개 정적인 메소드

public static IsValueType ( System.TypeSpec t ) : bool
t System.TypeSpec
리턴 bool

Reset() 정적인 공개 메소드

static public Reset ( ) : void
리턴 void

VerifyUnmanaged() 공개 정적인 메소드

Utility function that can be used to probe whether a type is managed or not.
public static VerifyUnmanaged ( CompilerContext ctx, System.TypeSpec t, Mono.CSharp.Location loc ) : bool
ctx CompilerContext
t System.TypeSpec
loc Mono.CSharp.Location
리턴 bool

프로퍼티 상세

activator_create_instance 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp activator_create_instance
리턴 MethodSpec

arg_iterator_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System arg_iterator_type
리턴 System.TypeSpec

array_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec array_type
리턴 BuildinTypeSpec

attribute_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec attribute_type
리턴 BuildinTypeSpec

bool_movenext_void 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp bool_movenext_void
리턴 MethodSpec

bool_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec bool_type
리턴 BuildinTypeSpec

byte_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec byte_type
리턴 BuildinTypeSpec

char_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec char_type
리턴 BuildinTypeSpec

decimal_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec decimal_type
리턴 BuildinTypeSpec

delegate_combine_delegate_delegate 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp delegate_combine_delegate_delegate
리턴 MethodSpec

delegate_remove_delegate_delegate 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp delegate_remove_delegate_delegate
리턴 MethodSpec

delegate_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec delegate_type
리턴 BuildinTypeSpec

double_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec double_type
리턴 BuildinTypeSpec

enum_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec enum_type
리턴 BuildinTypeSpec

exception_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec exception_type
리턴 BuildinTypeSpec

fieldinfo_get_field_from_handle 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp fieldinfo_get_field_from_handle
리턴 MethodSpec

fieldinfo_get_field_from_handle_generic 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp fieldinfo_get_field_from_handle_generic
리턴 MethodSpec

float_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec float_type
리턴 BuildinTypeSpec

gen_interlocked_compare_exchange 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp gen_interlocked_compare_exchange
리턴 MethodSpec

generic_icollection_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System generic_icollection_type
리턴 System.TypeSpec

generic_ienumerable_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System generic_ienumerable_type
리턴 System.TypeSpec

generic_ienumerator_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System generic_ienumerator_type
리턴 System.TypeSpec

generic_ilist_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System generic_ilist_type
리턴 System.TypeSpec

generic_nullable_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System generic_nullable_type
리턴 System.TypeSpec

idisposable_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec idisposable_type
리턴 BuildinTypeSpec

ienumerable_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec ienumerable_type
리턴 BuildinTypeSpec

ienumerator_getcurrent 정적으로 공개적으로 프로퍼티

static public PropertySpec,Mono.CSharp ienumerator_getcurrent
리턴 PropertySpec

ienumerator_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec ienumerator_type
리턴 BuildinTypeSpec

int32_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec int32_type
리턴 BuildinTypeSpec

int64_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec int64_type
리턴 BuildinTypeSpec

int_get_offset_to_string_data 정적으로 공개적으로 프로퍼티

static public PropertySpec,Mono.CSharp int_get_offset_to_string_data
리턴 PropertySpec

int_interlocked_compare_exchange 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp int_interlocked_compare_exchange
리턴 MethodSpec

intptr_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec intptr_type
리턴 BuildinTypeSpec

mbr_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System mbr_type
리턴 System.TypeSpec

methodbase_get_type_from_handle 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp methodbase_get_type_from_handle
리턴 MethodSpec

methodbase_get_type_from_handle_generic 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp methodbase_get_type_from_handle_generic
리턴 MethodSpec

multicast_delegate_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec multicast_delegate_type
리턴 BuildinTypeSpec

object_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec object_type
리턴 BuildinTypeSpec

runtime_field_handle_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec runtime_field_handle_type
리턴 BuildinTypeSpec

runtime_handle_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec runtime_handle_type
리턴 BuildinTypeSpec

sbyte_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec sbyte_type
리턴 BuildinTypeSpec

short_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec short_type
리턴 BuildinTypeSpec

string_empty 정적으로 공개적으로 프로퍼티

static public FieldSpec,Mono.CSharp string_empty
리턴 FieldSpec

string_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec string_type
리턴 BuildinTypeSpec

system_type_get_type_from_handle 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp system_type_get_type_from_handle
리턴 MethodSpec

type_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec type_type
리턴 BuildinTypeSpec

typed_reference_type 정적으로 공개적으로 프로퍼티

static public TypeSpec,System typed_reference_type
리턴 System.TypeSpec

uint32_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec uint32_type
리턴 BuildinTypeSpec

uint64_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec uint64_type
리턴 BuildinTypeSpec

uintptr_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec uintptr_type
리턴 BuildinTypeSpec

ushort_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec ushort_type
리턴 BuildinTypeSpec

value_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec value_type
리턴 BuildinTypeSpec

void_decimal_ctor_five_args 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp void_decimal_ctor_five_args
리턴 MethodSpec

void_decimal_ctor_int_arg 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp void_decimal_ctor_int_arg
리턴 MethodSpec

void_decimal_ctor_long_arg 공개적으로 정적으로 프로퍼티

public static MethodSpec,Mono.CSharp void_decimal_ctor_long_arg
리턴 MethodSpec

void_dispose_void 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp void_dispose_void
리턴 MethodSpec

void_initializearray_array_fieldhandle 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp void_initializearray_array_fieldhandle
리턴 MethodSpec

void_monitor_enter_object 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp void_monitor_enter_object
리턴 MethodSpec

void_monitor_exit_object 정적으로 공개적으로 프로퍼티

static public MethodSpec,Mono.CSharp void_monitor_exit_object
리턴 MethodSpec

void_type 정적으로 공개적으로 프로퍼티

static public BuildinTypeSpec void_type
리턴 BuildinTypeSpec