Compiles dynamic method calls in code into actual calls.
Static Public Member Functions | |
static Type | TypeFor (Type methodReturnType) |
DynamicMethods are generic objects which know their return type. This method creates a new DynamicMethod type with the given return type. More... | |
static CompiledFragment | Compile (CompiledMethod function, string methodName, Type methodReturnType, CompiledFragment target) |
Compiles a dynamic method call in code into an actual dynamic method call. More... | |
|
inlinestatic |
Compiles a dynamic method call in code into an actual dynamic method call.
function | The function this call is being compiled within. |
methodName | The name of the method to call. |
methodReturnType | The return type of the method that will be called. |
target | The object that the method will be run on. |
DynamicMethods are generic objects which know their return type. This method creates a new DynamicMethod type with the given return type.
methodReturnType | The return type of the dynamic method. |