Remove grave accent
MODIFY
WalletWasabi/Helpers/Guard.cs
WalletWasabi/Helpers/Guard.cs
@@ -43,7 +43,7 @@ namespace WalletWasabi.Helpers
if (!expected.Equals(actual))
{
- throw new ArgumentException($"`Parameter must be {expected}. Actual: {actual}.", parameterName);
+ throw new ArgumentException($"Parameter must be {expected}. Actual: {actual}.", parameterName);
}
return actual;

MODIFY
WalletWasabi/TorSocks5/Models/Fields/ByteArrayFields/AddrField.cs
WalletWasabi/TorSocks5/Models/Fields/ByteArrayFields/AddrField.cs
@@ -88,7 +88,7 @@ namespace WalletWasabi.TorSocks5.Models.TorSocks5.Fields.ByteArrayFields
{
if (partInt < 0 || partInt > 255)
{
- throw new FormatException($"`Every part of {nameof(dstAddr)} must be between 0 and 255. The {i}. part is invalid: {partInt}. Value of {nameof(dstAddr)}: {dstAddr}");
+ throw new FormatException($"Every part of {nameof(dstAddr)} must be between 0 and 255. The {i}. part is invalid: {partInt}. Value of {nameof(dstAddr)}: {dstAddr}");
}
bytes[i] = (byte)partInt;
}

MODIFY
WalletWasabi/TorSocks5/Models/Messages/VersionMethodRequest.cs
WalletWasabi/TorSocks5/Models/Messages/VersionMethodRequest.cs
@@ -54,7 +54,7 @@ namespace WalletWasabi.TorSocks5.Models.Messages
if (NMethods.Value != bytes.Length - 2)
{
- throw new FormatException($"{nameof(NMethods)}.{nameof(NMethods.Value)} must be {nameof(bytes)}.{nameof(bytes.Length)} - 2` = {bytes.Length - 2}. Actual: {NMethods.Value}.");
+ throw new FormatException($"{nameof(NMethods)}.{nameof(NMethods.Value)} must be {nameof(bytes)}.{nameof(bytes.Length)} - 2 = {bytes.Length - 2}. Actual: {NMethods.Value}.");
}
Methods = new MethodsField();

MODIFY
WalletWasabi/TorSocks5/TorSocks5Client.cs
WalletWasabi/TorSocks5/TorSocks5Client.cs
@@ -149,7 +149,7 @@ namespace WalletWasabi.TorSocks5
methodSelection.FromBytes(receiveBuffer);
if (methodSelection.Ver != VerField.Socks5)
{
- throw new NotSupportedException($"`SOCKS{methodSelection.Ver.Value} is not supported. Only SOCKS5 is supported.");
+ throw new NotSupportedException($"SOCKS{methodSelection.Ver.Value} is not supported. Only SOCKS5 is supported.");
}
if (methodSelection.Method == MethodField.NoAcceptableMethods)
{

Remove grave accent