5 writes to _messageLoopCount
System.Windows.Forms (5)
System\Windows\Forms\Application.ComponentThreadContext.cs (2)
146
_messageLoopCount
++;
472
_messageLoopCount
--;
System\Windows\Forms\Application.ThreadContext.cs (3)
88
_messageLoopCount
= 0;
718
_messageLoopCount
++;
824
_messageLoopCount
--;
7 references to _messageLoopCount
System.Windows.Forms (7)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
470
if (
_messageLoopCount
> 0 && ComponentManager is not Application.ComponentManager)
System\Windows\Forms\Application.ThreadContext.cs (6)
338
if (
_messageLoopCount
> 0 && postQuit)
550
bool? loopExists = GetMessageLoopInternal(mustBeActive,
_messageLoopCount
);
723
if (
_messageLoopCount
!= 1)
796
if (
_messageLoopCount
== 1)
826
if (
_messageLoopCount
== 0)
837
else if (
_messageLoopCount
== 0)