PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyMethod­Body­VisitorVisit­Statement­Expression
Open sandboxFocus

MethodBodyVisitor.VisitStatementExpression Method

VisitStatementExpression(IStatementExpression)

Visits an instruction block and, recursively, all syntax nodes.

Declaration
public virtual object VisitStatementExpression(IStatementExpression statementExpression)
Parameters
Type Name Description
IStatementExpression statementExpression

The statement to be visited.

Returns
Type Description
Object

statementExpression, unless the override returns something else.