4 writes to _refCount
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (4)
268
_refCount
= 0;
277
_refCount
= 0;
437
_refCount
++;
480
_refCount
--;
5 references to _refCount
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (5)
367
if (
_refCount
== 0 && _componentId != (IntPtr)0) {
430
if (
_refCount
== 0) {
474
if (
_refCount
== 1 && SafeNativeMethods.GetCurrentThreadId() == _creationThread) {
483
Debug.Assert(
_refCount
>= 0, "underflow on ref count");
484
if (
_refCount
<= 0) {