PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Event­Declaration Class / Event­Declaration Properties

EventDeclaration Properties

The EventDeclaration type exposes the following members.

Public propertyAttributes
Gets or sets the event attributes.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyDeclaringType
Gets the parent TypeDefDeclaration.
(Inherited from MethodGroupDeclaration.)
Public propertyEventType
Gets or sets the type of the event handler.
Public propertyIsOriginal
Determines whether the current declaration existed in the source assembly.
(Inherited from MetadataDeclaration.)
Public propertyIsStatic
Determines whether the current member is static.
(Inherited from MethodGroupDeclaration.)
Public propertyMetadataToken
Gets or sets the token of the current declaration.
(Inherited from MetadataDeclaration.)
Public propertyName
Gets or sets the name of the current declaration.
(Inherited from NamedMetadataDeclaration.)
Public propertyOrdinal (Inherited from NamedPositionedMetadataDeclaration.)
Public propertyOriginalDeclaration
When the declaration represents another declaration in the source assembly, this property refers to this declaration. When using GetReflectionObject(Type[], Type[], BindingOptions), the original declaration should actually be retrieved.
(Inherited from MetadataDeclaration.)
Public propertyOriginalName (Inherited from NamedMetadataDeclaration.)
Public propertyParentMember
Gets the parent member of the current declaration.
(Inherited from MethodGroupDeclaration.)
Public propertyParentType
Gets the parent type of the current declaration.
(Inherited from MethodGroupDeclaration.)
Public propertyVisibility
Gets the visibility of the current element.
(Inherited from MethodGroupDeclaration.)
See Also