ITypeProvider.GetInvokerExpression Method (F#)

Called by the compiler to ask for an Expression tree to replace the given MethodBase with.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
abstract this.GetInvokerExpression : MethodBase * Quotations.Expr [] -> Quotations.Expr

// Usage:
iTypeProvider.GetInvokerExpression (syntheticMethodBase, parameters)

syntheticMethodBase

Type: MethodBase

MethodBase that was given to the compiler by a type returned by a GetType(s) call.

parameters

Type: Quotations.Expr []

Expressions that represent the parameters to this call.

An Expression tree that the compiler will use in place of the given method base.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 4.0Supported in: 4.0, Portable

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft