C# Class Mosa.Compiler.MosaTypeSystem.MosaTypeExtension

ファイルを表示 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
GetEnumUnderlyingType ( this type ) : MosaType
GetPrimitiveSize ( this type, int nativeSize ) : int?
RemoveModifiers ( this type ) : MosaType
ToArray ( this type, MosaArrayInfo info ) : MosaType
ToFnPtr ( this typeSystem, MosaMethodSignature signature ) : MosaType
ToManagedPointer ( this type ) : MosaType
ToSZArray ( this type ) : MosaType
ToUnmanagedPointer ( this type ) : MosaType

Private Methods

Method Description
AddArrayMethods ( TypeSystem typeSystem, MosaType arrayType, MosaType type, MosaArrayInfo info ) : void

Method Details

GetEnumUnderlyingType() public static method

public static GetEnumUnderlyingType ( this type ) : MosaType
type this
return MosaType

GetPrimitiveSize() public static method

public static GetPrimitiveSize ( this type, int nativeSize ) : int?
type this
nativeSize int
return int?

RemoveModifiers() public static method

public static RemoveModifiers ( this type ) : MosaType
type this
return MosaType

ToArray() public static method

public static ToArray ( this type, MosaArrayInfo info ) : MosaType
type this
info MosaArrayInfo
return MosaType

ToFnPtr() public static method

public static ToFnPtr ( this typeSystem, MosaMethodSignature signature ) : MosaType
typeSystem this
signature MosaMethodSignature
return MosaType

ToManagedPointer() public static method

public static ToManagedPointer ( this type ) : MosaType
type this
return MosaType

ToSZArray() public static method

public static ToSZArray ( this type ) : MosaType
type this
return MosaType

ToUnmanagedPointer() public static method

public static ToUnmanagedPointer ( this type ) : MosaType
type this
return MosaType