PostSharp6.2/API Reference/Post­Sharp.​Extensibility Namespace/Multicast­Targets Enumeration

MulticastTargets Enumeration

Kinds of targets to which multicast custom attributes (MulticastAttribute) can apply.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
[FlagsAttribute]
public enum MulticastTargets
Members
  Member nameValueDescription
Default0 Specifies that the set of target elements is inherited from the parent custom attribute.
Class1 Class.
Struct2 Structure.
Enum4 Enumeration.
Delegate8 Delegate.
Interface16 Interface.
AnyType31 Any type (Class, Struct, Enum, Delegate or Interface).
Field32 Field.
Method64 Method (but not constructor).
InstanceConstructor128 Instance constructor.
StaticConstructor256 Static constructor.
Property512 Property (but not methods inside the property).
Event1024 Event (but not methods inside the event).
AnyMember2016 Any member (Field, Method, InstanceConstructor, StaticConstructor, Property, Event).
Assembly2048 Assembly.
Parameter4096 Method or property parameter.
ReturnValue8192 Method or property return value.
All16383 All element kinds.
See Also