C# Класс Microsoft.Cci.MutableCodeModel.ClosureFinder

Наследование: CodeTraverser
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CaptureDefinition void
ClosureFinder Microsoft.Cci.MutableCodeModel
CreateClosureClass NestedTypeDefinition

Открытые методы

Метод Описание
TraverseChildren ( ILocalDeclarationStatement localDeclarationStatement ) : void
TraverseChildren ( IYieldBreakStatement yieldBreakStatement ) : void
TraverseChildren ( IYieldReturnStatement yieldReturnStatement ) : void

Приватные методы

Метод Описание
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

Описание методов

TraverseChildren() публичный Метод

public TraverseChildren ( ILocalDeclarationStatement localDeclarationStatement ) : void
localDeclarationStatement ILocalDeclarationStatement
Результат void

TraverseChildren() публичный Метод

public TraverseChildren ( IYieldBreakStatement yieldBreakStatement ) : void
yieldBreakStatement IYieldBreakStatement
Результат void

TraverseChildren() публичный Метод

public TraverseChildren ( IYieldReturnStatement yieldReturnStatement ) : void
yieldReturnStatement IYieldReturnStatement
Результат void