PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / Method­Body­Visitor Class / Method­Body­Visitor Methods / Method­Body­Visitor.​Visit­Unary­Expression Method

MethodBodyVisitor.VisitUnaryExpression Method

Visits an expression of type IUnaryExpression and, recursively, all children elements.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual Object VisitUnaryExpression(
	IUnaryExpression expression
)

Parameters

expression
Type: PostSharp.Reflection.MethodBody.IUnaryExpression
The element to be visited.

Return Value

Type: Object
See Also