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