C# Class Monobjc.Generators.WrapperGenerator

Mostra file Open project: Monobjc/monobjc Class Usage Examples

Public Methods

Method Description
DefineWrapperProxy ( Type type ) : Type

TODO: Doc

WrapperGenerator ( DynamicAssembly assembly, bool is64Bits ) : System

Initializes a new instance of the WrapperGenerator class.

Private Methods

Method Description
EmitMethodBody ( MethodBuilder methodBuilder, MethodInfo methodInfo, String message ) : void
EmitParametersAsArrayOnStack ( ILGenerator generator, IList infos ) : void

Create an object array and put the method arguments in it, then load the array on the stack

GetSelector ( MemberInfo info ) : String

Method Details

DefineWrapperProxy() public method

TODO: Doc
public DefineWrapperProxy ( Type type ) : Type
type System.Type
return System.Type

WrapperGenerator() public method

Initializes a new instance of the WrapperGenerator class.
public WrapperGenerator ( DynamicAssembly assembly, bool is64Bits ) : System
assembly DynamicAssembly The assembly.
is64Bits bool
return System