Open sandboxFocus

Class MethodBodyFormatter

Formats an IMethodBodyElement to a textual representation, for debugging purposes.

Inheritance
MethodBodyFormatter
Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public class MethodBodyFormatter : MethodBodyVisitor

Constructors

Name Description
MethodBodyFormatter(TextWriter)

Initializes a new MethodBodyFormatter.

Methods

Name Description
VisitBinaryExpression(IBinaryExpression)

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

VisitBlockExpression(IBlockExpression)

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

VisitConditionalExpression(IConditionalExpression)

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

VisitConstantExpression(IConstantExpression)

Visits an expression of type IGotoExpression.

VisitCopyBufferExpression(ICopyBufferExpression)

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

VisitFieldExpression(IFieldExpression)

Visits an expression of type IFieldExpression.

VisitGotoExpression(IGotoExpression)

Visits an expression of type IGotoExpression.

VisitInitBufferExpression(IInitBufferExpression)

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

VisitMetadataExpression(IMetadataExpression)

Visits an expression of type IMetadataExpression.

VisitMethodCallExpression(IMethodCallExpression)

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

VisitNewArrayExpression(INewArrayExpression)

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

VisitParameterExpression(IParameterExpression)

Visits an expression of type IParameterExpression.

VisitSwitchExpression(ISwitchExpression)

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

VisitUnaryExpression(IUnaryExpression)

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

VisitVariableExpression(ILocalVariableExpression)

Visits an expression of type ILocalVariableExpression.

VisitZeroaryExpression(IZeroaryExpression)

Visits an expression of type IZeroaryExpression.