1 write to _threadCallbackList
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
6430_threadCallbackList ??= new Queue<ThreadMethodEntry>();
21 references to _threadCallbackList
System.Windows.Forms (21)
System\Windows\Forms\Control.cs (21)
3502if (IsDisposed && _threadCallbackList is not null && _threadCallbackList.Count > 0) 3504lock (_threadCallbackList) 3507while (_threadCallbackList.Count > 0) 3509ThreadMethodEntry entry = _threadCallbackList.Dequeue(); 4621if (RecreatingHandle && _threadCallbackList is not null) 4625lock (_threadCallbackList) 4650if (!RecreatingHandle && _threadCallbackList is not null) 4652lock (_threadCallbackList) 4656while (_threadCallbackList.Count > 0) 4658ThreadMethodEntry entry = _threadCallbackList.Dequeue(); 6102if (_threadCallbackList is not null) 6104lock (_threadCallbackList) 6106if (_threadCallbackList.Count > 0) 6108current = _threadCallbackList.Dequeue(); 6155if (_threadCallbackList is not null) 6157lock (_threadCallbackList) 6159current = _threadCallbackList.Count > 0 ? _threadCallbackList.Dequeue() : null; 6433lock (_threadCallbackList) 6440_threadCallbackList.Enqueue(tme);