PostSharpAPI ReferencePost­Sharp.​ExtensibilityRequire­Post­Sharp­AttributeAny­Type­Reference
Open sandboxFocus

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.

public bool AnyTypeReference { get; set; }
Property Value
Type Description