PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IMetadata­Declaration Interface / IMetadata­Declaration Methods

IMetadataDeclaration Methods

The IMetadataDeclaration type exposes the following members.

Public methodGetReflectionObject
Gets the system, runtime object (Type, FieldInfo, MethodInfo, ParameterInfo, ...) corresponding to the current declaration.
Public methodGetTag<T>
Gets a tag associated with the current declaration.
(Inherited from ITaggable.)
Public methodGetTokenType
Gets the metadata token type of the current declaration.
Public methodSetTag<T>
Set a tag to the current declaration.
(Inherited from ITaggable.)
Public methodTranslate
Translates the current element so that it can be used in a given module.
(Inherited from IModuleElement.)
See Also