Browse Source

Fix #1415: Public key output should print leading zeros.

pull/1417/head
Siegfried Pammer 6 years ago
parent
commit
06e287265a
  1. 2
      ILSpy/Languages/CSharpLanguage.cs

2
ILSpy/Languages/CSharpLanguage.cs

@ -393,7 +393,7 @@ namespace ICSharpCode.ILSpy @@ -393,7 +393,7 @@ namespace ICSharpCode.ILSpy
output.Write("// Public key: ");
var reader = metadata.GetBlobReader(asm.PublicKey);
while (reader.RemainingBytes > 0)
output.Write(reader.ReadByte().ToString("x"));
output.Write(reader.ReadByte().ToString("x2"));
output.WriteLine();
}
}

Loading…
Cancel
Save