PostSharp 4.3 / / 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: (
public bool AssemblyReferenceOnly { get; set; }

Property Value

Type: Boolean
See Also