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

◆ GetGCMemoryInfo() [2/2]

static GCMemoryInfo System.GC.GetGCMemoryInfo ( GCKind kind)
inlinestatic

Definition at line 42 of file GC.cs.

43 {
44 if (kind < GCKind.Any || kind > GCKind.Background)
45 {
46 throw new ArgumentOutOfRangeException("kind", SR.Format(SR.ArgumentOutOfRange_Bounds_Lower_Upper, GCKind.Any, GCKind.Background));
47 }
48 GCMemoryInfoData data = new GCMemoryInfoData();
49 GetMemoryInfo(data, (int)kind);
50 return new GCMemoryInfo(data);
51 }
static void GetMemoryInfo(GCMemoryInfoData data, int kind)
GCKind
Definition GCKind.cs:4

References System.SR.ArgumentOutOfRange_Bounds_Lower_Upper, System.SR.Format(), and System.GC.GetMemoryInfo().