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.​Assembly­Reference­Only Property

RequirePostSharpAttribute.AssemblyReferenceOnly Property

Determines whether the requirement should apply only to assemblies referencing the declaration to which the custom attribute is applied. If true, the requirement will not apply to the assembly where the custom attribute is used.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool AssemblyReferenceOnly { get; set; }

Property Value

Type: Boolean
See Also