C# Class Microsoft.Cci.MutableCodeModel.ClosureFinder

Inheritance: CodeTraverser
ファイルを表示 Open project: visualmutator/visualmutator Class Usage Examples

Private Properties

Property Type Description
CaptureDefinition void
ClosureFinder Microsoft.Cci.MutableCodeModel
CreateClosureClass NestedTypeDefinition

Public Methods

Method Description
TraverseChildren ( ILocalDeclarationStatement localDeclarationStatement ) : void
TraverseChildren ( IYieldBreakStatement yieldBreakStatement ) : void
TraverseChildren ( IYieldReturnStatement yieldReturnStatement ) : void

Private Methods

Method Description
CaptureDefinition ( object definition ) : void

If a definition should be captured, capture it. Otherwise noop. The act of capturing means mapping the definition (or its type's interned id if the definition is a reference to THIS) to a new BoundField object that represents a field in the closure class.

ClosureFinder ( IMethodDefinition method, IMetadataHost host ) : Microsoft.Cci.MutableCodeModel

CreateClosureClass ( bool makeGeneric ) : NestedTypeDefinition

Method Details

TraverseChildren() public method

public TraverseChildren ( ILocalDeclarationStatement localDeclarationStatement ) : void
localDeclarationStatement ILocalDeclarationStatement
return void

TraverseChildren() public method

public TraverseChildren ( IYieldBreakStatement yieldBreakStatement ) : void
yieldBreakStatement IYieldBreakStatement
return void

TraverseChildren() public method

public TraverseChildren ( IYieldReturnStatement yieldReturnStatement ) : void
yieldReturnStatement IYieldReturnStatement
return void