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 37b23579408a7..9b70d3f32134b 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,
}