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

IField Properties

The IField type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the field attributes.
Public propertyCustomAttributes
Gets the collection of custom attributes.
(Inherited from IMetadataDeclaration.)
Public propertyDeclaringAssembly
Gets the declaring assembly.
(Inherited from IModuleElement.)
Public propertyDeclaringType
Gets the declaring type.
(Inherited from IMember.)
Public propertyDomain
Gets the Domain to which the current element belongs.
(Inherited from IElement.)
Public propertyFieldType
Gets the field type.
Public propertyIsConst
Determines whether the field is constant (i.e. literal).
Public propertyIsReadOnly
Determines whether the field is read-only (i.e. init only).
Public propertyIsStatic
Determines whether the current member is static.
(Inherited from IMember.)
Public propertyMetadataToken
Gets the metadata token of the current declaration.
(Inherited from IMetadataDeclaration.)
Public propertyModule
Gets the declaring module.
(Inherited from IModuleElement.)
Public propertyName (Inherited from INamed.)
Public propertyParent
Gets the direct parent of the current element.
(Inherited from IElement.)
Public propertyParentMember
Gets the parent member of the current declaration.
(Inherited from IMetadataDeclaration.)
Public propertyParentType
Gets the parent type of the current declaration.
(Inherited from IMetadataDeclaration.)
Public propertyVisibility
Gets the Visibility of the current member.
(Inherited from IMember.)
See Also