C# Class SharpOS.AOT.IR.Class

Afficher le fichier Open project: sharpos/SharpOS Class Usage Examples

Private Properties

Свойство Type Description
AddMethodToIMT void
AddVirtualMethods void
AssignInterfaceMethodNumbers void
GetClass Class
GetField SharpOS.AOT.IR.Operands.Field
GetGenericMethod Mono.Cecil.MethodReference
GetTypeFullName string
MarkInterfaceMethods void
MergeBaseInterfaceMethods void

Méthodes publiques

Méthode Description
Add ( Method method ) : void

Adds the specified method.

AddMethods ( ) : void
AddMethods ( bool isAOTCore ) : void
Class ( Engine engine, TypeReference classDefinition ) : System

Initializes a new instance of the Class class.

Class ( Engine engine, TypeReference classDefinition, Mono.Cecil.GenericInstanceType genericInstanceType ) : System
GetFieldByName ( string value ) : Field

Gets the name of the field by.

GetFieldOffset ( string fieldName ) : int

Gets the field offset.

GetFieldType ( string value ) : InternalType

Gets the type of the field.

GetInterfaceEntries ( int key ) : List
GetMethodByName ( MethodReference methodReference ) : Method

Gets the name of the method by.

Setup ( ) : void

Setups this instance.

Setup ( int step ) : void

Setups this instance.

SetupMethods ( ) : void
ToString ( ) : string

Returns a that represents the current .

Private Methods

Méthode Description
AddMethodToIMT ( Method method ) : void
AddVirtualMethods ( List list ) : void
AssignInterfaceMethodNumbers ( ) : void

Assigns all methods a number for IMT

GetClass ( TypeReference type ) : Class
GetField ( FieldReference fieldReference ) : Field
GetGenericMethod ( Mono.Cecil.GenericInstanceMethod genericInstanceMethod ) : MethodReference
GetTypeFullName ( MemberReference type ) : string
MarkInterfaceMethods ( ) : void

Marks all methods with correct IMT numbers if they are interface implementation

MergeBaseInterfaceMethods ( ) : void

Merges all not implemented interface methods from base classes

Method Details

Add() public méthode

Adds the specified method.
public Add ( Method method ) : void
method Method The method.
Résultat void

AddMethods() public méthode

public AddMethods ( ) : void
Résultat void

AddMethods() public méthode

public AddMethods ( bool isAOTCore ) : void
isAOTCore bool
Résultat void

Class() public méthode

Initializes a new instance of the Class class.
public Class ( Engine engine, TypeReference classDefinition ) : System
engine Engine The engine.
classDefinition Mono.Cecil.TypeReference The class definition.
Résultat System

Class() public méthode

public Class ( Engine engine, TypeReference classDefinition, Mono.Cecil.GenericInstanceType genericInstanceType ) : System
engine Engine
classDefinition Mono.Cecil.TypeReference
genericInstanceType Mono.Cecil.GenericInstanceType
Résultat System

GetFieldByName() public méthode

Gets the name of the field by.
public GetFieldByName ( string value ) : Field
value string The value.
Résultat SharpOS.AOT.IR.Operands.Field

GetFieldOffset() public méthode

Gets the field offset.
public GetFieldOffset ( string fieldName ) : int
fieldName string Name of the field.
Résultat int

GetFieldType() public méthode

Gets the type of the field.
public GetFieldType ( string value ) : InternalType
value string The value.
Résultat InternalType

GetInterfaceEntries() public méthode

public GetInterfaceEntries ( int key ) : List
key int
Résultat List

GetMethodByName() public méthode

Gets the name of the method by.
public GetMethodByName ( MethodReference methodReference ) : Method
methodReference Mono.Cecil.MethodReference The method reference.
Résultat Method

Setup() public méthode

Setups this instance.
public Setup ( ) : void
Résultat void

Setup() public méthode

Setups this instance.
public Setup ( int step ) : void
step int
Résultat void

SetupMethods() public méthode

public SetupMethods ( ) : void
Résultat void

ToString() public méthode

Returns a that represents the current .
public ToString ( ) : string
Résultat string