Open sandboxFocus

Class LocationInterceptionAspect

Inheritance
LocationInterceptionAspect
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[MulticastAttributeUsage(MulticastTargets.Field|MulticastTargets.Property, TargetMemberAttributes = MulticastAttributes.NonAbstract|MulticastAttributes.NonLiteral, AllowMultiple = true)]
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Interface, AllowMultiple = true)]
[Obsolete("In Metalama, use 'OverrideFieldOrPropertyAspect'.", false)]
public abstract class LocationInterceptionAspect : LocationLevelAspect, ILocationLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ILocationInterceptionAspect, IOnInstanceLocationInitializedAspect, ILocationLevelAspect, IAspect

Constructors

Name Description
LocationInterceptionAspect()

Methods

Name Description
CreateAspectConfiguration()

Not supported in Metalama.

OnGetValue(LocationInterceptionArgs)

In Metalama, implement OverrideProperty.

OnInstanceLocationInitialized(LocationInitializationArgs)

There is no equivalent in Metalama because field and property initializers go through the overridden setter.

OnSetValue(LocationInterceptionArgs)

In Metalama, implement OverrideProperty.