using System; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using Cpp2IlInjected; namespace System { /// Controls the system garbage collector, a service that automatically reclaims unused memory. // Token: 0x020000F2 RID: 242 [Token(Token = "0x20000F2")] public static class GC { // Token: 0x060008F7 RID: 2295 RVA: 0x00007F80 File Offset: 0x00006180 [Token(Token = "0x60008F7")] [Address(RVA = "0x7249E0", Offset = "0x7239E0", VA = "0x1807249E0")] private static int GetCollectionCount(int generation) { return 0; } // Token: 0x060008F8 RID: 2296 RVA: 0x00007F98 File Offset: 0x00006198 [Token(Token = "0x60008F8")] [Address(RVA = "0x7249F0", Offset = "0x7239F0", VA = "0x1807249F0")] private static int GetMaxGeneration() { return 0; } // Token: 0x060008F9 RID: 2297 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60008F9")] [Address(RVA = "0x724A10", Offset = "0x723A10", VA = "0x180724A10")] private static void InternalCollect(int generation) { } // Token: 0x060008FA RID: 2298 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60008FA")] [Address(RVA = "0x724AB0", Offset = "0x723AB0", VA = "0x180724AB0")] private static void RecordPressure(long bytesAllocated) { } // Token: 0x060008FB RID: 2299 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60008FB")] [Address(RVA = "0x724D20", Offset = "0x723D20", VA = "0x180724D20")] internal static void register_ephemeron_array(Ephemeron[] array) { } // Token: 0x060008FC RID: 2300 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60008FC")] [Address(RVA = "0x724D10", Offset = "0x723D10", VA = "0x180724D10")] private static object get_ephemeron_tombstone() { return null; } /// Informs the runtime of a large allocation of unmanaged memory that should be taken into account when scheduling garbage collection. /// The incremental amount of unmanaged memory that has been allocated. /// /// is less than or equal to 0. /// -or- /// On a 32-bit computer, is larger than . // Token: 0x060008FD RID: 2301 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60008FD")] [Address(RVA = "0x7247B0", Offset = "0x7237B0", VA = "0x1807247B0")] public static void AddMemoryPressure(long bytesAllocated) { } /// Informs the runtime that unmanaged memory has been released and no longer needs to be taken into account when scheduling garbage collection. /// The amount of unmanaged memory that has been released. /// /// is less than or equal to 0. /// -or- /// On a 32-bit computer, is larger than . // Token: 0x060008FE RID: 2302 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60008FE")] [Address(RVA = "0x724AC0", Offset = "0x723AC0", VA = "0x180724AC0")] public static void RemoveMemoryPressure(long bytesAllocated) { } /// Forces an immediate garbage collection of all generations. // Token: 0x060008FF RID: 2303 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60008FF")] [Address(RVA = "0x7248B0", Offset = "0x7238B0", VA = "0x1807248B0")] public static void Collect() { } /// Returns the number of times garbage collection has occurred for the specified generation of objects. /// The generation of objects for which the garbage collection count is to be determined. /// The number of times garbage collection has occurred for the specified generation since the process was started. /// /// is less than 0. // Token: 0x06000900 RID: 2304 RVA: 0x00007FB0 File Offset: 0x000061B0 [Token(Token = "0x6000900")] [Address(RVA = "0x724940", Offset = "0x723940", VA = "0x180724940")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static int CollectionCount(int generation) { return 0; } /// References the specified object, which makes it ineligible for garbage collection from the start of the current routine to the point where this method is called. /// The object to reference. // Token: 0x06000901 RID: 2305 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000901")] [Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static void KeepAlive(object obj) { } /// Gets the maximum number of generations that the system currently supports. /// A value that ranges from zero to the maximum number of supported generations. // Token: 0x170000CE RID: 206 // (get) Token: 0x06000902 RID: 2306 RVA: 0x00007FC8 File Offset: 0x000061C8 [Token(Token = "0x170000CE")] public static int MaxGeneration { [Token(Token = "0x6000902")] [Address(RVA = "0x724CC0", Offset = "0x723CC0", VA = "0x180724CC0")] get { return 0; } } /// Suspends the current thread until the thread that is processing the queue of finalizers has emptied that queue. // Token: 0x06000903 RID: 2307 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000903")] [Address(RVA = "0x724C50", Offset = "0x723C50", VA = "0x180724C50")] public static void WaitForPendingFinalizers() { } // Token: 0x06000904 RID: 2308 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000904")] [Address(RVA = "0x724C70", Offset = "0x723C70", VA = "0x180724C70")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] private static void _SuppressFinalize(object o) { } /// Requests that the common language runtime not call the finalizer for the specified object. /// The object whose finalizer must not be executed. /// /// is . // Token: 0x06000905 RID: 2309 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000905")] [Address(RVA = "0x724BC0", Offset = "0x723BC0", VA = "0x180724BC0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static void SuppressFinalize(object obj) { } // Token: 0x06000906 RID: 2310 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000906")] [Address(RVA = "0x724C60", Offset = "0x723C60", VA = "0x180724C60")] private static void _ReRegisterForFinalize(object o) { } /// Requests that the system call the finalizer for the specified object for which has previously been called. /// The object that a finalizer must be called for. /// /// is . // Token: 0x06000907 RID: 2311 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000907")] [Address(RVA = "0x724A20", Offset = "0x723A20", VA = "0x180724A20")] public static void ReRegisterForFinalize(object obj) { } /// Retrieves the number of bytes currently thought to be allocated. A parameter indicates whether this method can wait a short interval before returning, to allow the system to collect garbage and finalize objects. /// /// to indicate that this method can wait for garbage collection to occur before returning; otherwise, . /// A number that is the best available approximation of the number of bytes currently allocated in managed memory. // Token: 0x06000908 RID: 2312 RVA: 0x00007FE0 File Offset: 0x000061E0 [Token(Token = "0x6000908")] [Address(RVA = "0x724A00", Offset = "0x723A00", VA = "0x180724A00")] public static long GetTotalMemory(bool forceFullCollection) { return 0L; } // Token: 0x04000371 RID: 881 [Token(Token = "0x4000371")] internal static readonly object EPHEMERON_TOMBSTONE; } }