C# Class 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
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
Closure ( object constants, object locals ) : System.ComponentModel

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

Method Details

Closure() public méthode

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.
Résultat System.ComponentModel