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

@@ -22,13 +22,15 @@
*/
using System.Diagnostics.CodeAnalysis;
namespace ConfigGenerator {
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
}