1 write to _threadCallbackList
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
6521_threadCallbackList ??= new Queue<ThreadMethodEntry>();
21 references to _threadCallbackList
System.Windows.Forms (21)
System\Windows\Forms\Control.cs (21)
3591if (IsDisposed && _threadCallbackList is not null && _threadCallbackList.Count > 0) 3593lock (_threadCallbackList) 3596while (_threadCallbackList.Count > 0) 3598ThreadMethodEntry entry = _threadCallbackList.Dequeue(); 4710if (RecreatingHandle && _threadCallbackList is not null) 4714lock (_threadCallbackList) 4739if (!RecreatingHandle && _threadCallbackList is not null) 4741lock (_threadCallbackList) 4745while (_threadCallbackList.Count > 0) 4747ThreadMethodEntry entry = _threadCallbackList.Dequeue(); 6193if (_threadCallbackList is not null) 6195lock (_threadCallbackList) 6197if (_threadCallbackList.Count > 0) 6199current = _threadCallbackList.Dequeue(); 6246if (_threadCallbackList is not null) 6248lock (_threadCallbackList) 6250current = _threadCallbackList.Count > 0 ? _threadCallbackList.Dequeue() : null; 6524lock (_threadCallbackList) 6531_threadCallbackList.Enqueue(tme);