From 264b45eff9a82aa93744c9239a5935a9468d0e6a Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Wed, 10 Aug 2022 19:51:19 -0700 Subject: [PATCH] Move the XML comments from reference assembly to CoreCLR implementation (#73725) --- .../System.Private.CoreLib/src/System/GC.CoreCLR.cs | 8 ++++++++ src/libraries/System.Runtime/ref/System.Runtime.cs | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/coreclr/System.Private.CoreLib/src/System/GC.CoreCLR.cs b/src/coreclr/System.Private.CoreLib/src/System/GC.CoreCLR.cs index 89f59b0b9e2e3..b965a4c5792ea 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/GC.CoreCLR.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/GC.CoreCLR.cs @@ -19,11 +19,19 @@ namespace System { + /// Specifies the behavior for a forced garbage collection. public enum GCCollectionMode { + /// The default setting for this enumeration, which is currently . Default = 0, + + /// Forces the garbage collection to occur immediately. Forced = 1, + + /// Allows the garbage collector to determine whether the current time is optimal to reclaim objects. Optimized = 2, + + /// Requests that the garbage collector decommit as much memory as possible. Aggressive = 3, } diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index 13f52c2f10504..c2d10c07e434c 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -2608,19 +2608,11 @@ public static void WaitForPendingFinalizers() { } public static System.Collections.Generic.IReadOnlyDictionary GetConfigurationVariables() { throw null; } } - /// Specifies the behavior for a forced garbage collection. public enum GCCollectionMode { - /// The default setting for this enumeration, which is currently . Default = 0, - - /// Forces the garbage collection to occur immediately. Forced = 1, - - /// Allows the garbage collector to determine whether the current time is optimal to reclaim objects. Optimized = 2, - - /// Requests that the garbage collector decommit as much memory as possible. Aggressive = 3, }