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

A traverser that records all of the parameters and locals that are captured by anoymous delegates and also records the anonymous delegates that do the capturing. Delegates that only capture the "this" argument will have an entry in anonymousDelegatesThatCaptureThis but no entry in anonymousDelegatesThatCaptureLocalsOrParameters.
Наследование: CodeTraverser
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
TraverseChildren ( IAddressableExpression addressableExpression ) : void
TraverseChildren ( IAnonymousDelegate anonymousDelegate ) : void
TraverseChildren ( IBoundExpression boundExpression ) : void
TraverseChildren ( ICatchClause catchClause ) : void
TraverseChildren ( IForEachStatement forEachStatement ) : void
TraverseChildren ( ILocalDeclarationStatement localDeclarationStatement ) : void
TraverseChildren ( ITargetExpression targetExpression ) : void
TraverseChildren ( IThisReference thisReference ) : void

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

Метод Описание
CapturedParameterAndLocalFinder ( ) : Microsoft.Cci.MutableCodeModel

A traverser that records all of the parameters and locals that are captured by anoymous delegates and also records the anonymous delegates that do the capturing. Delegates that only capture the "this" argument will have an entry in anonymousDelegatesThatCaptureThis but no entry in anonymousDelegatesThatCaptureLocalsOrParameters.

LookForCapturedDefinition ( object definition ) : void

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

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

public TraverseChildren ( IAddressableExpression addressableExpression ) : void
addressableExpression IAddressableExpression
Результат void

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

public TraverseChildren ( IAnonymousDelegate anonymousDelegate ) : void
anonymousDelegate IAnonymousDelegate
Результат void

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

public TraverseChildren ( IBoundExpression boundExpression ) : void
boundExpression IBoundExpression
Результат void

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

public TraverseChildren ( ICatchClause catchClause ) : void
catchClause ICatchClause
Результат void

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

public TraverseChildren ( IForEachStatement forEachStatement ) : void
forEachStatement IForEachStatement
Результат void

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

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

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

public TraverseChildren ( ITargetExpression targetExpression ) : void
targetExpression ITargetExpression
Результат void

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

public TraverseChildren ( IThisReference thisReference ) : void
thisReference IThisReference
Результат void