PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public bool AnyTypeReference { get; set; }

Property Value

Type: Boolean
See Also