IMethodCallExpression Interface |
Expression representing a method call.
Namespace: PostSharp.Reflection.SyntaxAssembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)

C#
public interface IMethodCallExpression : IExpression, ISyntaxElement
The IMethodCallExpression type exposes the following members.

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.
|
![]() | ParentElement |
Gets the parent element in the tree.
(Inherited from ISyntaxElement.) |
![]() | ParentMethodBody |
Gets the parent method body.
(Inherited from ISyntaxElement.) |
![]() | ReturnType |
Gets the type of the return value of the current expression,
or Void if the expression does not return anything (i.e. for pure instructions, for instance a goto
or throw instruction).
(Inherited from IExpression.) |
![]() | SyntaxElementKind |
Gets the kind of syntax element.
(Inherited from ISyntaxElement.) |
