3 writes to cachedCount
System.Management (3)
System\Management\ManagementObjectCollection.cs (3)
419cachedCount = 0; 540int status = collectionObject.scope.GetSecuredIEnumWbemClassObjectHandler(enumWbem).Next_(timeout, (uint)collectionObject.options.BlockSize, tempArray, ref cachedCount); 638cachedCount = 0;
5 references to cachedCount
System.Management (5)
System\Management\ManagementObjectCollection.cs (5)
525if ((cachedCount - cacheIndex) == 0) //cache is empty - need to get more objects 548for (int i = 0; i < cachedCount; i++) 567if ((status == (int)tag_WBEMSTATUS.WBEM_S_TIMEDOUT) && (cachedCount == 0)) 571if ((status == (int)tag_WBEMSTATUS.WBEM_S_FALSE) && (cachedCount == 0)) 635for (int i = (cacheIndex >= 0 ? cacheIndex : 0); i < cachedCount; i++)