Open sandboxFocus

Class MethodBodyVisitor

The source code of method bodies and expression bodies is not represented in the high-level API of Metalama. If you need to access source code from an aspect, you must implement a service using Metalama SDK.

Inheritance
MethodBodyVisitor
Namespace: PostSharp.Reflection.MethodBody
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("The source code of method bodies and expression bodies is not represented in the high-level API of Metalama. If you need to access source code from an aspect, you must implement a service using Metalama SDK.", true)]
public abstract class MethodBodyVisitor

Constructors

Name Description
MethodBodyVisitor()

Methods

Name Description
VisitAddressOfExpression(IAddressOfExpression)
VisitBinaryExpression(IBinaryExpression)
VisitBlockExpression(IBlockExpression)
VisitConditionalExpression(IConditionalExpression)
VisitConstantExpression(IConstantExpression)
VisitCopyBufferExpression(ICopyBufferExpression)
VisitFieldExpression(IFieldExpression)
VisitGotoExpression(IGotoExpression)
VisitInitBufferExpression(IInitBufferExpression)
VisitLocalVariable(ILocalVariable)
VisitMetadataExpression(IMetadataExpression)
VisitMethodBody(IMethodBody)
VisitMethodCallExpression(IMethodCallExpression)
VisitMethodPointerExpression(IMethodPointerExpression)
VisitNewArrayExpression(INewArrayExpression)
VisitNewObjectExpression(INewObjectExpression)
VisitParameterExpression(IParameterExpression)
VisitStatementExpression(IStatementExpression)
VisitSwitchExpression(ISwitchExpression)
VisitSyntaxElement(IMethodBodyElement)
VisitUnaryExpression(IUnaryExpression)
VisitValueOfExpression(IValueOfExpression)
VisitVariableExpression(ILocalVariableExpression)
VisitZeroaryExpression(IZeroaryExpression)

See Also