2 writes to _modalDepth
aspire-tray (2)
TrayApplication.Actions.cs (2)
149_modalDepth++; 163_modalDepth--;
5 references to _modalDepth
aspire-tray (5)
TrayApplication.cs (4)
360case NativeMethods.TrayCallback when !_quitRequested && _modalDepth == 0: 407if (smokeSeconds is not null && _modalDepth != 0) 411if (_ready.Task.IsCompletedSuccessfully && _modalDepth == 0) 434if (_modalDepth != 0)
TrayApplication.Panel.cs (1)
64if (_modalDepth != 0 || _quitRequested)