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