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