Prefer flags over comments

This commit is contained in:
JustArchi
2016-05-13 19:20:24 +02:00
parent 20038e8c86
commit 622f060575
13 changed files with 33 additions and 37 deletions

View File

@@ -24,15 +24,16 @@
using SteamKit2;
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
namespace ArchiSteamFarm {
internal static class Debugging {
#if DEBUG
// ReSharper disable once ConvertToConstant.Global
[SuppressMessage("ReSharper", "ConvertToConstant.Global")]
internal static readonly bool IsDebugBuild = true;
#else
// ReSharper disable once ConvertToConstant.Global
[SuppressMessage("ReSharper", "ConvertToConstant.Global")]
internal static readonly bool IsDebugBuild = false;
#endif