Méthode | Description | |
---|---|---|
GetFieldOffset ( MosaField field ) : int |
Gets the size of the field.
|
|
GetFieldSize ( MosaField field ) : int |
Gets the size of the field.
|
|
GetInterfaceSlotOffset ( MosaType type ) : int |
Gets the interface slot offset.
|
|
GetInterfaceTable ( MosaType type, MosaType interfaceType ) : MosaMethod[] |
Gets the interface table.
|
|
GetMethodParameterStackSize ( MosaMethod method ) : int | ||
GetMethodStackSize ( MosaMethod method ) : int | ||
GetMethodTable ( MosaType type ) : IList |
Gets the type methods.
|
|
GetMethodTableOffset ( MosaMethod method ) : int |
Gets the method table offset.
|
|
GetTypeSize ( MosaType type ) : int |
Gets the size of the type.
|
|
IsCompoundType ( MosaType type ) : bool | ||
MosaTypeLayout ( |
Initializes a new instance of the MosaTypeLayout class.
|
|
SetMethodParameterStackSize ( MosaMethod method, int size ) : void | ||
SetMethodStackSize ( MosaMethod method, int size ) : void |
Méthode | Description | |
---|---|---|
ComputeExplicitLayout ( MosaType type ) : void |
Applies the explicit layout to the given type.
|
|
ComputeSequentialLayout ( MosaType type ) : void | ||
CreateMethodTable ( MosaType type ) : List |
||
FindImplicitInterfaceMethod ( MosaType type, MosaMethod interfaceMethod ) : MosaMethod | ||
FindInterfaceMethod ( MosaType type, MosaMethod interfaceMethod ) : MosaMethod | ||
FindOverrideSlot ( IList |
||
GetCleanMethodName ( string fullName ) : string | ||
GetMemorySize ( MosaType type ) : int |
Gets the type memory requirements.
|
|
GetMethodTableFromBaseType ( MosaType type ) : List |
||
IsExplicitInterfaceMethod ( string fullname ) : bool | ||
ResolveInterfaceType ( MosaType type ) : void |
Builds a list of interfaces and assigns interface a unique index number
|
|
ResolveLayouts ( ) : void | ||
ResolveType ( MosaType type ) : void | ||
ScanExplicitInterfaceImplementations ( MosaType type, MosaType interfaceType, MosaMethod methodTable ) : void |
public GetFieldOffset ( MosaField field ) : int | ||
field | MosaField | The field. |
Résultat | int |
public GetFieldSize ( MosaField field ) : int | ||
field | MosaField | The field. |
Résultat | int |
public GetInterfaceSlotOffset ( MosaType type ) : int | ||
type | MosaType | The type. |
Résultat | int |
public GetInterfaceTable ( MosaType type, MosaType interfaceType ) : MosaMethod[] | ||
type | MosaType | The type. |
interfaceType | MosaType | Type of the interface. |
Résultat | MosaMethod[] |
public GetMethodParameterStackSize ( MosaMethod method ) : int | ||
method | MosaMethod | |
Résultat | int |
public GetMethodStackSize ( MosaMethod method ) : int | ||
method | MosaMethod | |
Résultat | int |
public GetMethodTable ( MosaType type ) : IList |
||
type | MosaType | The type. |
Résultat | IList |
public GetMethodTableOffset ( MosaMethod method ) : int | ||
method | MosaMethod | The method. |
Résultat | int |
public GetTypeSize ( MosaType type ) : int | ||
type | MosaType | The type. |
Résultat | int |
public IsCompoundType ( MosaType type ) : bool | ||
type | MosaType | |
Résultat | bool |
public MosaTypeLayout ( |
||
typeSystem | The type system. | |
nativePointerSize | int | Size of the native pointer. |
nativePointerAlignment | int | The native pointer alignment. |
Résultat | System |
public SetMethodParameterStackSize ( MosaMethod method, int size ) : void | ||
method | MosaMethod | |
size | int | |
Résultat | void |
public SetMethodStackSize ( MosaMethod method, int size ) : void | ||
method | MosaMethod | |
size | int | |
Résultat | void |