4 writes to _restoreAttempts
aspire-tray (4)
TrayApplication.cs (3)
266_restoreAttempts = 0; 319_restoreAttempts = 0; 397if (!_iconAdded && ++_restoreAttempts >= 50)
TrayApplication.Icons.cs (1)
26_restoreAttempts = 0;
2 references to _restoreAttempts
aspire-tray (2)
TrayApplication.cs (2)
232if (smokeSeconds is not null && _restoreAttempts is 0 or 49) 234Program.Log($"Shell_NotifyIconW(NIM_ADD) rejected the smoke icon: architecture={RuntimeInformation.ProcessArchitecture}, size={_iconData.Size}, attempt={_restoreAttempts + 1}.");