9 writes to RefCount
System (9)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (9)
282newInstanceEntryPointer->RefCount = 1; 382newInstanceEntryPointer->RefCount = 1; 994currentInstancePointer->RefCount = 1; 1090(*returnInstancePointerReference)->RefCount = 1; 1206currentInstancePointer->RefCount = 0; 1218currentInstancePointer->RefCount = 0; 1230currentInstancePointer->RefCount = 0; 1244currentInstancePointer->RefCount = 0; 1400instancePointer->RefCount = 0;
6 references to RefCount
System (6)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (6)
942if (verifyLifeTime && (currentInstancePointer->RefCount != 0)) { 960if (!verifiedLifetimeOfThisInstance && currentInstancePointer->RefCount != 0) 963if (currentInstancePointer->RefCount != 0) { 1009if (currentInstancePointer->RefCount == 0) { 1040if (currentInstancePointer->RefCount == 0) { 1191Debug.Assert(currentInstancePointer->RefCount != 0, "RefCount must be 1 for instances passed to VerifyLifetime");