PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyIMethod­Call­Expression
Open sandboxFocus

IMethodCallExpression Interface

Expression representing a method call.

Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public interface IMethodCallExpression : IExpression, IMethodBodyElement

Properties

Name Description
Arguments

Gets the method arguments.

ConstrainedType

Gets the type to which the virtual method call is constrained to (see Constrained).

Instance

Gets the instance on which the method is called, or null if the method is static.

IsTail

Determines whether the call is a tail call (see Tailcall).

IsVirtual

Determines whether the call is a virtual call.

Method

Gets the called method.