PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Multicast­Attribute Class / Multicast­Attribute Properties / Multicast­Attribute.​Attribute­Target­Assemblies Property

MulticastAttribute.AttributeTargetAssemblies Property

Gets or sets the assemblies to which the current attribute apply.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: (
public string AttributeTargetAssemblies { get; set; }

Property Value

Type: String
Wildcard or regular expression specifying to which assemblies this instance applies, or null if this instance applies only to elements of the current assembly. Wildcard expressions should start with the regex: prefix.
When this property is not specified or is null, the current attribute is multicasted only in the current assembly. Otherwise, it is multicasted also to external assemblies, i.e. to declarations that are referenced by the current assembly.
See Also