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