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
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
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