PostSharp.ILAPI ReferencePost­Sharp.​Aspects.​AdvicesOn­Method­Invoke­Base­Advice
Open sandboxFocus

OnMethodInvokeBaseAdvice Class

The base class for method interception advices.

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

Constructors

Name Description
OnMethodInvokeBaseAdvice() PostSharp.Aspects.Advices.OnMethodInvokeBaseAdvice

Properties

Name Description
SemanticallyAdvisedMethodKinds

Determines which target methods will be advised semantically. This affects the behavior of the advice when it's applied to iterator or async methods, which are compiled into state machines.

UnsupportedTargetAction

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