Method | Description | |
---|---|---|
BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject | ||
Meta ( Expression parameter, _CFuncPtr func ) : System.Linq.Expressions |
Method | Description | |
---|---|---|
AddKeepAlives ( ArgumentMarshaller signature, List |
we need to keep alive any methods which have arguments for the duration of the call. Otherwise they could be collected on the finalizer thread before we come back.
|
|
AddReturnChecks ( CodeContext context, DynamicMetaObject args, Expression res ) : Expression | ||
CreateInteropInvoker ( CallingConvention convention, ArgumentMarshaller sig, INativeType nativeRetType, bool retVoid, List |
Creates a method for calling with the specified signature. The returned method has a signature of the form: (IntPtr funcAddress, arg0, arg1, ..., object[] constantPool) where IntPtr is the address of the function to be called. The arguments types are based upon the types that the ArgumentMarshaller requires.
|
|
GetArgumentMarshallers ( DynamicMetaObject args ) : ArgumentMarshaller[] | ||
GetCalliSignature ( CallingConvention convention, ArgumentMarshaller sig, |
||
GetCallingConvention ( ) : CallingConvention | ||
GetMarshaller ( Expression expr, object value, int index, object nativeType ) : ArgumentMarshaller | ||
GetNativeReturnType ( ) : INativeType | ||
IncorrectArgCount ( DynamicMetaObjectBinder binder, BindingRestrictions restrictions, int expected, int got ) : DynamicMetaObject | ||
MakeCall ( ArgumentMarshaller signature, INativeType nativeRetType, bool retVoid ) : Expression |
public BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject | ||
binder | InvokeBinder | |
args | DynamicMetaObject | |
return | DynamicMetaObject |
public Meta ( Expression parameter, _CFuncPtr func ) : System.Linq.Expressions | ||
parameter | Expression | |
func | _CFuncPtr | |
return | System.Linq.Expressions |