Events must be after constructors
MODIFY
WalletWasabi/Services/UpdateChecker.cs
WalletWasabi/Services/UpdateChecker.cs
@@ -15,14 +15,14 @@ namespace WalletWasabi.Services
{
private UpdateStatus _updateStatus;
- public event EventHandler<UpdateStatus> UpdateStatusChanged;
-
public UpdateChecker(TimeSpan period, WasabiClient client) : base(period)
{
WasabiClient = Guard.NotNull(nameof(client), client);
UpdateStatus = new UpdateStatus(true, true);
}
+ public event EventHandler<UpdateStatus> UpdateStatusChanged;
+
public WasabiClient WasabiClient { get; }
public UpdateStatus UpdateStatus

Events must be after constructors