PostSharp SDK6.6//Post­Sharp.​Sdk.​Code­Model Namespace/Exported­Type­Declaration Class

ExportedTypeDeclaration Class

Represents a type exported by the current assembly but not defined in the current module.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.6.3.0 (6.6.3.0)
Syntax
C#
public sealed class ExportedTypeDeclaration : NamedMetadataDeclaration, 
	IManifestResourceImplementation, IMetadataDeclaration, IDeclaration, IElement, IModuleElement, 
	ITaggable, ITypeDeclaration, INamedMetadataDeclaration, INamed

The ExportedTypeDeclaration type exposes the following members.

Constructors
  NameDescription
Public methodExportedTypeDeclaration
Initializes a new instance of the ExportedTypeDeclaration class
Properties
  NameDescription
Public propertyAttributes
Gets or sets the type attributes.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyDeclaringExportedType
Gets the parent exported type, if the current type is a nested one.
Public propertyImplementation
Gets or sets the external class or the external file implementing this type.
Public propertyIsOriginal
Determines whether the current declaration existed in the source assembly.
(Inherited from MetadataDeclaration.)
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 propertyNestedTypes
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 propertyTypeDefId
Gets or sets the identifier of the type definition.
Methods
  NameDescription
Public methodClearCache
Clear the cache (typically mapping to System.Reflection or, if the current element is a reference, to the related definition) of the current Element and all its children.
(Inherited from Element.)
Public methodDispose Obsolete. (Inherited from MetadataDeclaration.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTag<T>
Gets a tag associated with the current declaration.
(Inherited from MetadataDeclaration.)
Public methodGetTokenType
Gets the TokenType of the derived declaration.
(Overrides MetadataDeclaration.GetTokenType().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeDefinition
Public methodSetTag<T>
Set a tag to the current declaration.
(Inherited from MetadataDeclaration.)
Public methodToString (Inherited from NamedMetadataDeclaration.)
Remarks
Exported types are owned by the assembly manifest (AssemblyManifestDeclaration.
See Also