PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Field­Ref­Declaration Class / Field­Ref­Declaration Properties

FieldRefDeclaration Properties

The FieldRefDeclaration type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the field attributes.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyDeclaringType
Gets the declaring IType.
(Inherited from MemberRefDeclaration.)
Public propertyFieldType
Gets or sets the type of the referenced field.
Public propertyIsConst
Determines whether the field is constant (i.e. literal).
Public propertyIsOriginal
Determines whether the current declaration existed in the source assembly.
(Inherited from MetadataDeclaration.)
Public propertyIsReadOnly
Determines whether the field is read-only (i.e. init only).
Public propertyIsStatic
Determines whether the current member is static.
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 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.
(Overrides MetadataDeclaration.ParentMember.)
Public propertyParentType
Gets the parent type of the current declaration.
(Overrides MetadataDeclaration.ParentType.)
Public propertyVisibility
Gets the Visibility of the current member.
See Also