System.Runtime.CompilerServices.ExecutionScope.CreateDelegate Method

Creates a delegate that can be used to execute a dynamically generated method.

Syntax

public Delegate CreateDelegate (int indexLambda, object[] locals)

Parameters

indexLambda
The index of the object that stores information about associated lambda expression of the dynamic method.
locals
An array that contains the hoisted local variables from the parent context.

Returns

A Delegate that can execute a dynamically generated method.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0