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

AssemblyManifestDeclaration Class

Represents an assembly manifest (Assembly).
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class AssemblyManifestDeclaration : NamedMetadataDeclaration, 
	ISecurable, IMetadataDeclaration, IDeclaration, IElement, IModuleElement, 
	ITaggable, IAssemblyDeclaration, IAssemblyName, IWriteReflectionName, IAssembly

The AssemblyManifestDeclaration type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyManifestDeclaration
Initializes a new AssemblyManifestDeclaration.
Properties
  NameDescription
Public propertyAttributes
Gets or set the assembly attributes.
Public propertyCulture
Gets the name of the assembly culture.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyHashAlgorithm
Gets or set the hash algorithm identifier.
Public propertyIsOriginal
Determines whether the current declaration existed in the source assembly.
(Inherited from MetadataDeclaration.)
Public propertyIsRetargetable
Public propertyIsStronglyNamed
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 propertyOverwrittenFullName
Gets the full name based on the OverwrittenName instead of the normal Name.
Public propertyOverwrittenName
Name of the assembly as it will be emitted during compilation.
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 propertyProcessorArchitecture
Public propertyVersion
Gets or set the assembly version.
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 methodGetPublicKey
Public methodGetPublicKeyToken
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 methodSetPublicKey
Sets the public key.
Public methodSetTag<T>
Set a tag to the current declaration.
(Inherited from MetadataDeclaration.)
Public methodToString (Overrides NamedMetadataDeclaration.ToString().)
Public methodTranslate
Public methodWriteReflectionName(StringBuilder, ReflectionNameOptions)
Writes the name of the current declaration to a StringBuilder.
Public methodWriteReflectionName(StringBuilder, ReflectionNameOptions, NameMapper)
Writes the name of the current declaration to a StringBuilder and specifies a NameMapper.
Extension Methods
  NameDescription
Public Extension MethodDefinitionMatchesReference (Defined by CompareExtensions.)
Public Extension MethodDefinitionMatchesReferenceResolved (Defined by CompareExtensions.)
Public Extension MethodEquals (Defined by AssemblyNameExtensions.)
Public Extension MethodEvaluateAssemblyMatchResolved (Defined by CompareExtensions.)
Public Extension MethodGetBindingIdentity
Gets the binding identity of an assembly represented by an IAssemblyName.
(Defined by AssemblyNameExtensions.)
Public Extension MethodGetDisplayName
Gets the name of a given declaration as it should be displayed to the user.
(Defined by WriteReflectionNameExtensions.)
Public Extension MethodGetFullName
Gets the full name of an assembly.
(Defined by AssemblyNameExtensions.)
Public Extension MethodGetReferenceName
Returns a string that can be passed to Load(AssemblyName)
(Defined by AssemblyNameExtensions.)
Public Extension MethodGetReflectionName()Overloaded.
Gets the name of a given declaration and returns a string that is compatible with the result of the ToString method of system reflection objects.
(Defined by WriteReflectionNameExtensions.)
Public Extension MethodGetReflectionName(ReflectionNameOptions)Overloaded.
Gets the name of a given declaration and returns a string that is compatible with the result of the ToString method of system reflection objects.
(Defined by WriteReflectionNameExtensions.)
Public Extension MethodGetReflectionName(ReflectionNameOptions, NameMapper)Overloaded.
Gets the name of a given declaration, constructed using given options.
(Defined by WriteReflectionNameExtensions.)
Public Extension MethodSetBindingContext (Defined by AssemblyNameExtensions.)
Public Extension MethodSetRetargetable (Defined by AssemblyNameExtensions.)
Public Extension MethodToAssemblyIdentity(String, Guid, FrameworkName)Overloaded. (Defined by AssemblyNameExtensions.)
Public Extension MethodToAssemblyIdentity(String, Guid, FrameworkName, Boolean)Overloaded. (Defined by AssemblyNameExtensions.)
Public Extension MethodToAssemblyName
Converts an IAssemblyName into an AssemblyName.
(Defined by AssemblyNameExtensions.)
Remarks
The assembly manifest is owned by the module (ModuleDeclaration) and is exposed by the AssemblyManifest property.
See Also