From d7a0a3e42ff8fd7dc1a5c9039f6947699b0d27cf Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 4 Oct 2023 08:16:19 +0100 Subject: [PATCH] Pass string interpolation. --- SpamSumContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpamSumContext.cs b/SpamSumContext.cs index 1be2be003..c60879a3a 100644 --- a/SpamSumContext.cs +++ b/SpamSumContext.cs @@ -302,7 +302,7 @@ public sealed class SpamSumContext : IChecksum _self.Bh[bi].Dlen < SPAMSUM_LENGTH / 2) throw new Exception(Localization.Assertion_failed); - sb.AppendFormat("{0}:", SSDEEP_BS(bi)); + sb.Append($"{SSDEEP_BS(bi)}:"); int i = Encoding.ASCII.GetBytes(sb.ToString()).Length; if(i <= 0)