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

AssemblyManifestDeclaration Methods

The AssemblyManifestDeclaration type exposes the following members.

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.)
See Also