1 write to _threadCallbackList
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
6500
_threadCallbackList
??= new Queue<ThreadMethodEntry>();
21 references to _threadCallbackList
System.Windows.Forms (21)
System\Windows\Forms\Control.cs (21)
3572
if (IsDisposed &&
_threadCallbackList
is not null &&
_threadCallbackList
.Count > 0)
3574
lock (
_threadCallbackList
)
3577
while (
_threadCallbackList
.Count > 0)
3579
ThreadMethodEntry entry =
_threadCallbackList
.Dequeue();
4691
if (RecreatingHandle &&
_threadCallbackList
is not null)
4695
lock (
_threadCallbackList
)
4720
if (!RecreatingHandle &&
_threadCallbackList
is not null)
4722
lock (
_threadCallbackList
)
4726
while (
_threadCallbackList
.Count > 0)
4728
ThreadMethodEntry entry =
_threadCallbackList
.Dequeue();
6172
if (
_threadCallbackList
is not null)
6174
lock (
_threadCallbackList
)
6176
if (
_threadCallbackList
.Count > 0)
6178
current =
_threadCallbackList
.Dequeue();
6225
if (
_threadCallbackList
is not null)
6227
lock (
_threadCallbackList
)
6229
current =
_threadCallbackList
.Count > 0 ?
_threadCallbackList
.Dequeue() : null;
6503
lock (
_threadCallbackList
)
6510
_threadCallbackList
.Enqueue(tme);