2 writes to _modalCount
System.Windows.Forms (2)
System\Windows\Forms\Application.ThreadContext.cs (2)
239_modalCount++; 430_modalCount--;
2 references to _modalCount
System.Windows.Forms (2)
System\Windows\Forms\Application.ThreadContext.cs (2)
241if (_enterModalHandler is not null && _modalCount == 1) 432if (_leaveModalHandler is not null && _modalCount == 0)