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