Method | Description | |
---|---|---|
LoadFunctionPointer ( MethodBuilder method, Type parameterTypes ) : |
Pushes a pointer to the given function onto the stack, as a native int. To resolve a method at runtime using an object, use LoadVirtualFunctionPointer instead. This method is provided as MethodBuilder cannot be inspected for parameter information at runtime. If the passed parameterTypes do not match the given method, the produced code will be invalid.
|
|
LoadFunctionPointer ( MethodInfo method ) : |
Pushes a pointer to the given function onto the stack, as a native int. To resolve a method at runtime using an object, use LoadVirtualFunctionPointer instead.
|
|
LoadVirtualFunctionPointer ( MethodBuilder method, Type parameterTypes ) : |
Pops an object reference off the stack, and pushes a pointer to the given method's implementation on that object. For static or non-virtual functions, use LoadFunctionPointer. This method is provided as MethodBuilder cannot be inspected for parameter information at runtime. If the passed parameterTypes do not match the given method, the produced code will be invalid.
|
|
LoadVirtualFunctionPointer ( MethodInfo method ) : |
Pops an object reference off the stack, and pushes a pointer to the given method's implementation on that object. For static or non-virtual functions, use LoadFunctionPointer
|
public LoadFunctionPointer ( MethodBuilder method, Type parameterTypes ) : |
||
method | MethodBuilder | |
parameterTypes | Type | |
return |
public LoadFunctionPointer ( MethodInfo method ) : |
||
method | MethodInfo | |
return |
public LoadVirtualFunctionPointer ( MethodBuilder method, Type parameterTypes ) : |
||
method | MethodBuilder | |
parameterTypes | Type | |
return |
public LoadVirtualFunctionPointer ( MethodInfo method ) : |
||
method | MethodInfo | |
return |