Open sandboxFocus

Class OverrideFieldOrPropertyMulticastAspect

An aspect equivalent to OverrideFieldOrPropertyAspect that also implements multicasting for backward compatibility with PostSharp.

Inheritance
OverrideFieldOrPropertyMulticastAspect
Namespace: Metalama.Extensions.Multicast
Assembly: Metalama.Extensions.Multicast.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true)]
public abstract class OverrideFieldOrPropertyMulticastAspect : MulticastAspect, IMulticastAttribute, IAspect<ICompilation>, IEligible<ICompilation>, IAspect<INamedType>, IEligible<INamedType>, IAspect<IFieldOrProperty>, IAspect, ICompileTimeSerializable, ITemplateProvider, IEligible<IFieldOrProperty>

Constructors

Name Description
OverrideFieldOrPropertyMulticastAspect()

Initializes a new instance of the OverrideFieldOrPropertyMulticastAspect class.

Properties

Name Description
OverrideEnumerableProperty
OverrideEnumeratorProperty
OverrideProperty

Methods

Name Description
BuildAspect(IAspectBuilder<IFieldOrProperty>)

Initializes the aspect. The implementation must add advice, child aspects and validators using the builder parameter.

BuildEligibility(IEligibilityBuilder<IFieldOrProperty>)

Configures the eligibility of the aspect or attribute. Implementations are not allowed to reference non-static members. Implementations must call the implementation of the base class if it exists.

Extension Methods