C# Class 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.
ファイルを表示 Open project: visualmutator/visualmutator Class Usage Examples

Private Properties

Property Type Description
AddField void
GetReferenceOfFieldUsedByPeers IFieldReference
GetReferenceOfMethodUsedByPeers IMethodReference
InitializeInterfaces void
IteratorClosureInformation System

Private Methods

Method Description
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