Use StringBuilder.Append(char) for single character strings
MODIFY
WalletWasabi.Gui/Converters/PascalToPhraseConverter.cs
WalletWasabi.Gui/Converters/PascalToPhraseConverter.cs
@@ -18,7 +18,7 @@ namespace WalletWasabi.Gui.Converters
{
if (pos > 0)
{
- builder.Append(" ");
+ builder.Append(' ');
}
builder.Append(char.ToLower(c));

MODIFY
WalletWasabi/Backend/Models/FilterModel.cs
WalletWasabi/Backend/Models/FilterModel.cs
@@ -48,13 +48,13 @@ namespace WalletWasabi.Backend.Models
{
var builder = new StringBuilder();
builder.Append(Header.Height);
- builder.Append(":");
+ builder.Append(':');
builder.Append(Header.BlockHash);
- builder.Append(":");
+ builder.Append(':');
builder.Append(Filter);
- builder.Append(":");
+ builder.Append(':');
builder.Append(Header.PrevHash);
- builder.Append(":");
+ builder.Append(':');
builder.Append(Header.BlockTime.ToUnixTimeSeconds());
return builder.ToString();

MODIFY
WalletWasabi/Mono/OptionSet.cs
WalletWasabi/Mono/OptionSet.cs
@@ -919,7 +919,7 @@ namespace Mono.Options
}
++i;
- sb.Append("}");
+ sb.Append('}');
}
else
{

Use StringBuilder.Append(char) for single character strings