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)
367if (_refCount == 0 && _componentId != (IntPtr)0) { 430if (_refCount == 0) { 474if (_refCount == 1 && SafeNativeMethods.GetCurrentThreadId() == _creationThread) { 483Debug.Assert(_refCount >= 0, "underflow on ref count"); 484if (_refCount <= 0) {