Metalama 1.0 / / Metalama Documentation / Introspection API / Metalama.​Framework.​Introspection / IIntrospection­Aspect­Instance / Secondary­Instances

Property SecondaryInstances

SecondaryInstances

Gets the other instances of the same AspectClass on the same TargetDeclaration. When several instances of the same AspectClass are found on the same TargetDeclaration, they are ordered by priority, and only the first one gets executed. The other instances are exposed on this property.

Declaration
ImmutableArray<IIntrospectionAspectInstance> SecondaryInstances { get; }
Property Value
Type Description
ImmutableArray<IIntrospectionAspectInstance>