Open sandboxFocus

Class OnMethodInvokeBaseAdvice

The base class for method interception advices.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public abstract class OnMethodInvokeBaseAdvice : GroupingAdvice

Constructors

Name Description
OnMethodInvokeBaseAdvice()

Properties

Name Description
SemanticallyAdvisedMethodKinds

Gets or sets which target methods are advised semantically. This affects the behavior of the advice when it is applied to iterator or async methods, which are compiled into state machines.

UnsupportedTargetAction

Gets or sets the action to take when the advice is applied to an async method with unsupported return value type.