C# Класс System.Runtime.CompilerServices.Closure

If the delegate generated by the Lambda compiler needs to either be a closure, or close over constants, the delegate itself will close over the instance of this object. TODO: Prevent this from being exposed as public surface area. See what Linq v1 does with System.Runtime.CompilerServices.ExecutionScope
Показать файл Открыть проект

Открытые методы

Метод Описание
Closure ( object constants, object locals ) : System.ComponentModel

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

Описание методов

Closure() публичный Метод

Creates an object to hold state of a dynamically generated method.
public Closure ( object constants, object locals ) : System.ComponentModel
constants object The constant values used by the method.
locals object The hoisted local variables from the parent context.
Результат System.ComponentModel