// dnlib: See LICENSE.txt for more info namespace dnlib.DotNet { /// /// Represents a public key token /// public sealed class PublicKeyToken : PublicKeyBase { /// /// Gets the /// public override PublicKeyToken Token => this; /// /// Constructor /// public PublicKeyToken() : base((byte[])null) { } /// public PublicKeyToken(byte[] data) : base(data) { } /// public PublicKeyToken(string hexString) : base(hexString) { } /// public override bool Equals(object obj) { if ((object)this == obj) return true; var other = obj as PublicKeyToken; if (other is null) return false; return Utils.Equals(Data, other.Data); } /// public override int GetHashCode() => Utils.GetHashCode(Data); } }