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)
241
if (_enterModalHandler is not null &&
_modalCount
== 1)
431
if (_leaveModalHandler is not null &&
_modalCount
== 0)