From c644bac4e4f221e1bf79f1f1ff7ee5f82d890a5d Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Mon, 24 Oct 2016 14:57:04 +0800 Subject: [PATCH] Fix typo in string of exception message This was meant to start with $, not including the $ char inside the string, otherwise the compiler string interpolation doesn't work. --- TLSharp.Core/Network/MtProtoSender.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TLSharp.Core/Network/MtProtoSender.cs b/TLSharp.Core/Network/MtProtoSender.cs index 4cf59a8..a8fd1ed 100644 --- a/TLSharp.Core/Network/MtProtoSender.cs +++ b/TLSharp.Core/Network/MtProtoSender.cs @@ -488,7 +488,7 @@ namespace TLSharp.Core.Network internal int DC { get; private set; } internal MigrationNeededException(int dc) - : base ("$Your phone number is registered to a different dc: {dc}. Please migrate.") + : base ($"Your phone number is registered to a different DC: {dc}. Please migrate.") { DC = dc; }