Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CollectionCount()

static int System.GC.CollectionCount ( int generation)
inlinestatic

Definition at line 169 of file GC.cs.

170 {
171 if (generation < 0)
172 {
173 throw new ArgumentOutOfRangeException("generation", SR.ArgumentOutOfRange_GenericPositive);
174 }
175 return _CollectionCount(generation, 0);
176 }
static int _CollectionCount(int generation, int getSpecialGCCount)

References System.GC._CollectionCount(), and System.SR.ArgumentOutOfRange_GenericPositive.

Referenced by System.Diagnostics.Switch._pruneCachedSwitches(), System.Diagnostics.TraceSource._pruneCachedTraceSources(), System.Runtime.InteropServices.HandleCollector.Add(), System.Diagnostics.Tracing.RuntimeEventSource.OnEventCommand(), and System.Runtime.InteropServices.HandleCollector.Remove().