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)
3591
if (IsDisposed &&
_threadCallbackList
is not null &&
_threadCallbackList
.Count > 0)
3593
lock (
_threadCallbackList
)
3596
while (
_threadCallbackList
.Count > 0)
3598
ThreadMethodEntry entry =
_threadCallbackList
.Dequeue();
4710
if (RecreatingHandle &&
_threadCallbackList
is not null)
4714
lock (
_threadCallbackList
)
4739
if (!RecreatingHandle &&
_threadCallbackList
is not null)
4741
lock (
_threadCallbackList
)
4745
while (
_threadCallbackList
.Count > 0)
4747
ThreadMethodEntry entry =
_threadCallbackList
.Dequeue();
6193
if (
_threadCallbackList
is not null)
6195
lock (
_threadCallbackList
)
6197
if (
_threadCallbackList
.Count > 0)
6199
current =
_threadCallbackList
.Dequeue();
6246
if (
_threadCallbackList
is not null)
6248
lock (
_threadCallbackList
)
6250
current =
_threadCallbackList
.Count > 0 ?
_threadCallbackList
.Dequeue() : null;
6524
lock (
_threadCallbackList
)
6531
_threadCallbackList
.Enqueue(tme);