Assigns a unique identifier to an assembly. This assembly identifier is used to generate unique attribute identifiers.
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class AssemblyIdAttribute : AttributeRemarks
By default, the assembly identifier is computed from the module name. It is the first 4 bytes of the MD5 hash of the module name.
Constructors
| Name | Description |
|---|---|
| AssemblyIdAttribute(int) | Initializes a new instance of the AssemblyIdAttribute class. |
Properties
| Name | Description |
|---|---|
| AssemblyId | Gets the assembly identifier. |