Make sure static readonly appears before static nonreadonly
MODIFY
WalletWasabi/Logging/Logger.cs
WalletWasabi/Logging/Logger.cs
@@ -14,6 +14,8 @@ namespace WalletWasabi.Logging
{
#region PropertiesAndMembers
+ private static readonly object Lock = new object();
+
private static long On = 1;
public static LogLevel MinimumLevel { get; private set; } = LogLevel.Critical;
@@ -32,8 +34,6 @@ namespace WalletWasabi.Logging
private static int LoggingFailedCount = 0;
- private static readonly object Lock = new object();
-
/// <summary>
/// KB
/// </summary>

Make sure static readonly appears before static nonreadonly