PostSharp6.7//API Reference/Post­Sharp.​Extensibility Namespace/Multicast­Attribute­Usage­Attribute Class/Multicast­Attribute­Usage­Attribute Properties/Multicast­Attribute­Usage­Attribute.​Target­Type­Attributes Property

MulticastAttributeUsageAttribute.TargetTypeAttributes Property

Gets or sets the attributes of the types to which the custom attribute can be applied. Visibility, scope (Instance or Static) and generation are the only categories that are taken into account; attributes of other categories are ignored. If the custom attribute relates to fields or methods, this property specifies which attributes of the declaring type are acceptable.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public MulticastAttributes TargetTypeAttributes { get; set; }

Property Value

Type: MulticastAttributes
See Also