From 6e1d9910a9618ae261ad40cb549a84a97ab71d7f Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Thu, 8 Feb 2018 15:34:44 +0100
Subject: [PATCH] Minor style checking cleanups.

---
 ATxTray/AutoTxTray.cs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ATxTray/AutoTxTray.cs b/ATxTray/AutoTxTray.cs
index 2a731b8..091509b 100644
--- a/ATxTray/AutoTxTray.cs
+++ b/ATxTray/AutoTxTray.cs
@@ -12,6 +12,8 @@ using NLog.Config;
 using NLog.Targets;
 using Timer = System.Timers.Timer;
 
+// ReSharper disable RedundantDefaultMemberInitializer
+
 namespace ATxTray
 {
     public class AutoTxTray : ApplicationContext
@@ -296,8 +298,8 @@ namespace ATxTray
             }
             catch (Exception ex) {
                 Log.Error("Showing the TaskDialog failed: {0}", ex.Message);
-                var res = MessageBox.Show($"{instructionText}\n{footerText}\n\n" +
-                                "Press [OK] to confirm selection.", caption,
+                var res = MessageBox.Show($@"{instructionText}\n{footerText}\n\n" +
+                                @"Press [OK] to confirm selection.", caption,
                     MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
                 if (res == DialogResult.OK)
                     SubmitDirForTransfer();
-- 
GitLab