19 references to CollectionCount
mscorlib (4)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (4)
167
if ((m_gen1CountAtLastRestock + 3) > GC.
CollectionCount
(GC.MaxGeneration - 1))
177
m_gen1CountAtLastRestock = GC.
CollectionCount
(GC.MaxGeneration - 1);
249
if (m_gen1CountAtLastRestock < GC.
CollectionCount
(GC.MaxGeneration - 1))
312
m_gen1CountAtLastRestock = GC.
CollectionCount
(GC.MaxGeneration - 1);
System (11)
compmod\system\diagnostics\Switch.cs (2)
69
if (s_LastCollectionCount != GC.
CollectionCount
(2)) {
82
s_LastCollectionCount = GC.
CollectionCount
(2);
compmod\system\diagnostics\TraceSource.cs (2)
53
if (s_LastCollectionCount != GC.
CollectionCount
(2)) {
66
s_LastCollectionCount = GC.
CollectionCount
(2);
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (4)
167
if ((m_gen1CountAtLastRestock + 3) > GC.
CollectionCount
(GC.MaxGeneration - 1))
177
m_gen1CountAtLastRestock = GC.
CollectionCount
(GC.MaxGeneration - 1);
249
if (m_gen1CountAtLastRestock < GC.
CollectionCount
(GC.MaxGeneration - 1))
312
m_gen1CountAtLastRestock = GC.
CollectionCount
(GC.MaxGeneration - 1);
sys\system\runtime\interopservices\handlecollector.cs (3)
86
(gc_counts[gen_collect] == GC.
CollectionCount
(gen_collect)))) {
93
gc_counts [i] = GC.
CollectionCount
(i);
117
gc_counts [i] = GC.
CollectionCount
(i);
System.Runtime.Caching (4)
System\Caching\CacheMemoryMonitor.cs (2)
44
_gen2Count = GC.
CollectionCount
(2);
142
int gen2Count = GC.
CollectionCount
(2);
System\Caching\MemoryCacheStatistics.cs (2)
93
int gen2Count = GC.
CollectionCount
(2);
149
int gen2Count = GC.
CollectionCount
(2);