Click or drag to resize

AssemblyIdentity Class



Represents an identity of an assembly as defined by CLI metadata specification.
Represents an identity of an assembly as defined by CLI metadata specification.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisAssemblyIdentity

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class AssemblyIdentity : IEquatable

The AssemblyIdentity type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyIdentity
Constructs an AssemblyIdentity from its constituent parts.
Top
Properties
  NameDescription
Public propertyContentType
Specifies assembly binding model for the assembly definition or reference; that is how assembly references are matched to assembly definitions.
Public propertyCultureName
The culture name of the assembly, or empty if the culture is neutral.
Public propertyFlags
The AssemblyNameFlags.
Public propertyHasPublicKey
True if the assembly identity includes full public key.
Public propertyIsRetargetable
Gets the value which specifies if the assembly is retargetable.
Public propertyIsStrongName
True if the assembly identity has a strong name, ie. either a full public key or a token.
Public propertyName
The simple name of the assembly.
Public propertyPublicKey
Full public key or empty.
Public propertyPublicKeyToken
Low 8 bytes of SHA1 hash of the public key, or empty.
Public propertyVersion
The version of the assembly.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified instance is equal to the current instance.
Public methodEquals(AssemblyIdentity)
Determines whether the specified instance is equal to the current instance.
Public methodStatic memberFromAssemblyDefinition
Retrieves assembly definition identity from given runtime assembly.
Public methodGetDisplayName
Returns the display name of the assembly identity.
Public methodGetHashCode
Returns the hash code for the current instance.
Public methodToString
Returns the display name of the current instance.
Public methodStatic memberTryParseDisplayName(String, AssemblyIdentity)
Public methodStatic memberTryParseDisplayName(String, AssemblyIdentity, AssemblyIdentityParts)
Parses display name filling defaults for any basic properties that are missing.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two AssemblyIdentity instances are equal.
Public operatorStatic memberInequality
Determines whether two AssemblyIdentity instances are not equal.
Top
Remarks
May represent assembly definition or assembly reference identity.
Remarks
May represent assembly definition or assembly reference identity.
See Also