1 write to s_threadCallbackList
Microsoft.Win32.SystemEvents (1)
Microsoft\Win32\SystemEvents.cs (1)
770
s_threadCallbackList
= new Queue<Delegate>();
11 references to s_threadCallbackList
Microsoft.Win32.SystemEvents (11)
Microsoft\Win32\SystemEvents.cs (11)
705
Debug.Assert(
s_threadCallbackList
!= null, "Invoking marshaled callbacks before there are any");
708
lock (
s_threadCallbackList
!)
710
if (
s_threadCallbackList
.Count > 0)
712
current =
s_threadCallbackList
.Dequeue();
737
lock (
s_threadCallbackList
)
739
current =
s_threadCallbackList
.Count > 0 ?
740
s_threadCallbackList
.Dequeue() :
763
if (
s_threadCallbackList
is null)
767
if (
s_threadCallbackList
is null)
777
lock (
s_threadCallbackList
)
779
s_threadCallbackList
.Enqueue(method);