private static byte[] ConvertByteCollectionOfPublicKeyToByteArrayOfPublicKeyToken(ByteCollection publicKeyCollection)
 {
     byte[] publicKey = Internal.TypeSystem.NativeFormat.MetadataExtensions.ConvertByteCollectionToArray(publicKeyCollection);
     return(AssemblyNameHelpers.ComputePublicKeyToken(publicKey));
 }
 public sealed override byte[] ComputePublicKeyToken(byte[] publicKey)
 {
     return(AssemblyNameHelpers.ComputePublicKeyToken(publicKey));
 }
Пример #3
0
 private static byte[] ConvertByteCollectionOfPublicKeyToByteArrayOfPublicKeyToken(ByteCollection publicKeyCollection)
 {
     byte[] publicKey = ConvertByteCollectionToArray(publicKeyCollection);
     return(AssemblyNameHelpers.ComputePublicKeyToken(publicKey));
 }