2 writes to _debugModalCounter
System.Windows.Forms (2)
System\Windows\Forms\Application.ThreadContext.cs (2)
232
_debugModalCounter
++;
423
_debugModalCounter
--;
1 reference to _debugModalCounter
System.Windows.Forms (1)
System\Windows\Forms\Application.ThreadContext.cs (1)
424
Debug.Assert(
_debugModalCounter
>= 0, "Mis-matched calls to Application.BeginModalMessageLoop() and Application.EndModalMessageLoop()");