MulticastTargets Enumeration |
Kinds of targets to which multicast custom attributes (MulticastAttribute)
can apply.
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.8.6.0 (6.8.6.0)

C#
[FlagsAttribute] public enum MulticastTargets

Member name | Value | Description | |
---|---|---|---|
Default | 0 | Specifies that the set of target elements is inherited from the parent custom attribute. | |
Class | 1 | Class. | |
Struct | 2 | Structure. | |
Enum | 4 | Enumeration. | |
Delegate | 8 | Delegate. | |
Interface | 16 | Interface. | |
AnyType | 31 | Any type (Class, Struct, Enum, Delegate or Interface). | |
Field | 32 | Field. | |
Method | 64 | Method (but not constructor). | |
InstanceConstructor | 128 | Instance constructor. | |
StaticConstructor | 256 | Static constructor. | |
Property | 512 | Property (but not methods inside the property). | |
Event | 1024 | Event (but not methods inside the event). | |
AnyMember | 2016 | Any member (Field, Method, InstanceConstructor, StaticConstructor, Property, Event). | |
Assembly | 2048 | Assembly. | |
Parameter | 4096 | Method or property parameter. | |
ReturnValue | 8192 | Method or property return value. | |
All | 16383 | All element kinds. |
