Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove grave accent #1966

Merged
merged 1 commit into from
Jul 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WalletWasabi/Helpers/Guard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static T Same<T>(string parameterName, T expected, T actual)

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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public AddrField(string dstAddr)
{
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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public override void FromBytes(byte[] bytes)

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();
Expand Down
2 changes: 1 addition & 1 deletion WalletWasabi/TorSocks5/TorSocks5Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ internal async Task HandshakeAsync(string identity)
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)
{
Expand Down