PostSharp6.6//API Reference/Post­Sharp.​Extensibility Namespace/Require­Post­Sharp­Attribute Class/Require­Post­Sharp­Attribute Properties/Require­Post­Sharp­Attribute.​Any­Type­Reference Property

RequirePostSharpAttribute.AnyTypeReference Property

Determines whether the current attribute applies to any project that has any reference of the target type. If false, the requirement will apply only to assemblies that use the target type as a custom attribute. If true, the requirement will apply to any assembly that references the target type. The default value is false.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.12.0 (6.6.12.0)
Syntax
C#
public bool AnyTypeReference { get; set; }

Property Value

Type: Boolean
See Also