Table of contents
TOC
Collapse the table of content
Expand the table of content

ITypeProvider.GetInvokerExpression Method (F#)

Den Delimarsky|Last Updated: 7/5/2016
|
1 Contributor

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)

Syntax

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

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

Parameters

syntheticMethodBase Type: System.Reflection.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.

Return Value

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

Platforms

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

Version Information

F# Core Library Versions

Supported in: 4.0Supported in: 4.0, Portable

See Also

CompilerServices.ITypeProvider Interface (F#)

Microsoft.FSharp.Core.CompilerServices Namespace (F#)

© 2016 Microsoft