PostSharp.ILAPI ReferencePost­Sharp.​ExtensibilityMulticast­Targets
Open sandboxFocus

MulticastTargets Class

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

Inheritance
MulticastTargets
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public sealed class MulticastTargets : Enum

Fields

Name Description
All

All element kinds.

AnyMember

Any member (Field, Method, InstanceConstructor, StaticConstructor, Property, Event).

AnyType

Any type (Class, Struct, Enum, Delegate or Interface).

Assembly

Assembly.

Class

Class.

Default

Specifies that the set of target elements is inherited from the parent custom attribute.

Delegate

Delegate.

Enum

Enumeration.

Event

Event (but not methods inside the event).

Field

Field.

InstanceConstructor

Instance constructor.

Interface

Interface.

Method

Method (but not constructor).

Parameter

Method or property parameter.

Property

Property (but not methods inside the property).

ReturnValue

Method or property return value.

StaticConstructor

Static constructor.

Struct

Structure.

value__