Open sandboxFocus

Class MethodImplementationAspect

In Metalama, use OverrideMethodAspect.

Inheritance
MethodImplementationAspect
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[MulticastAttributeUsage(MulticastTargets.Method, AllowMultiple = false, PersistMetaData = false, Inheritance = MulticastInheritance.None)]
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Event|AttributeTargets.Interface, AllowMultiple = true)]
[Obsolete("In Metalama, use 'OverrideMethodAspect'.", false)]
public abstract class MethodImplementationAspect : MethodLevelAspect, IMethodLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IMethodInterceptionAspect, IMethodLevelAspect, IAspect

Constructors

Name Description
MethodImplementationAspect()

Methods

Name Description
CreateAspectConfiguration()

Not supported in Metalama.

OnInvoke(MethodInterceptionArgs)

In Metalama, override OverrideMethod().