1 write to _threadCallbackList
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
6432_threadCallbackList ??= new Queue<ThreadMethodEntry>();
21 references to _threadCallbackList
System.Windows.Forms (21)
System\Windows\Forms\Control.cs (21)
3504if (IsDisposed && _threadCallbackList is not null && _threadCallbackList.Count > 0) 3506lock (_threadCallbackList) 3509while (_threadCallbackList.Count > 0) 3511ThreadMethodEntry entry = _threadCallbackList.Dequeue(); 4623if (RecreatingHandle && _threadCallbackList is not null) 4627lock (_threadCallbackList) 4652if (!RecreatingHandle && _threadCallbackList is not null) 4654lock (_threadCallbackList) 4658while (_threadCallbackList.Count > 0) 4660ThreadMethodEntry entry = _threadCallbackList.Dequeue(); 6104if (_threadCallbackList is not null) 6106lock (_threadCallbackList) 6108if (_threadCallbackList.Count > 0) 6110current = _threadCallbackList.Dequeue(); 6157if (_threadCallbackList is not null) 6159lock (_threadCallbackList) 6161current = _threadCallbackList.Count > 0 ? _threadCallbackList.Dequeue() : null; 6435lock (_threadCallbackList) 6442_threadCallbackList.Enqueue(tme);