Edit

Share via


Closure(Object[], Object[]) Constructor

Definition

Creates an object to hold state of a dynamically generated method.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 Closure(cli::array <System::Object ^> ^ constants, cli::array <System::Object ^> ^ locals);
public Closure (object[] constants, object[] locals);
new System.Runtime.CompilerServices.Closure : obj[] * obj[] -> System.Runtime.CompilerServices.Closure
Public Sub New (constants As Object(), locals As Object())

Parameters

constants
Object[]

The constant values that are used by the method.

locals
Object[]

The hoisted local variables from the parent context.

Applies to