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

PropertyDeclaration Properties

The PropertyDeclaration type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets or sets the property attributes.
Public propertyCallingConvention
Gets or sets the calling convention.
Public propertyCanRead
Determines whether the current property can be read (i.e. has a get accessor).
Public propertyCanWrite
Determines whether the current property can be written (i.e. has a set accessor).
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyDeclaringType
Gets the parent TypeDefDeclaration.
(Inherited from MethodGroupDeclaration.)
Public propertyDefaultValue
Gets or sets the default value.
Public propertyGetter
Gets the getter accessor, or null if the current property has no getter.
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 propertyParent
Gets the parent TypeDefDeclaration.
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 propertyPropertyType
Gets or sets the type of the property value.
Public propertySetter
Gets the getter accessor, or null if the current property has no getter.
Public propertyVisibility
Gets the visibility of the current element.
(Inherited from MethodGroupDeclaration.)
See Also