C# 클래스 Microsoft.Cci.MutableCodeModel.IteratorClosureInformation

Information needed for and during the creation of the closure class for an iterator method. Such information includes: 1) the closure class, 2) its members, and 3) references to the generic instances of the class and its members, as used by methods in the closure class.
파일 보기 프로젝트 열기: visualmutator/visualmutator 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddField void
GetReferenceOfFieldUsedByPeers IFieldReference
GetReferenceOfMethodUsedByPeers IMethodReference
InitializeInterfaces void
IteratorClosureInformation System

비공개 메소드들

메소드 설명
AddField ( IFieldDefinition field ) : void

Add field definition to the clousre class.

GetReferenceOfFieldUsedByPeers ( IFieldDefinition fieldDef ) : IFieldReference

Given a field definition in the closure class, get its reference as will be used by the methods in the closure class.

GetReferenceOfMethodUsedByPeers ( IMethodDefinition method ) : IMethodReference

Get the reference of a method in the closure class as used by other methods in the same class.

InitializeInterfaces ( ITypeReference elementType, bool isEnumerable ) : void
IteratorClosureInformation ( IMetadataHost host ) : System

Information needed for and during the creation of the closure class for an iterator method. Such information includes: 1) the closure class, 2) its members, and 3) references to the generic instances of the class and its members