In Metalama, use OverrideMethodAspect.
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use 'OverrideMethodAspect'.", false)]
public interface IMethodInterceptionAspect : IMethodLevelAspect, IAspectMethods
| Name | Description |
|---|---|
| OnInvoke(MethodInterceptionArgs) | In Metalama, implement OverrideMethod(). |