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)
470if (_messageLoopCount > 0 && ComponentManager is not Application.ComponentManager)
System\Windows\Forms\Application.ThreadContext.cs (6)
338if (_messageLoopCount > 0 && postQuit) 550bool? loopExists = GetMessageLoopInternal(mustBeActive, _messageLoopCount); 723if (_messageLoopCount != 1) 796if (_messageLoopCount == 1) 826if (_messageLoopCount == 0) 837else if (_messageLoopCount == 0)