Skip to content

Commit

Permalink
Move the XML comments from reference assembly to CoreCLR implementati…
Browse files Browse the repository at this point in the history
…on (#73725)
  • Loading branch information
cshung committed Aug 11, 2022
1 parent e65f224 commit 264b45e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/coreclr/System.Private.CoreLib/src/System/GC.CoreCLR.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,19 @@

namespace System
{
/// <summary>Specifies the behavior for a forced garbage collection.</summary>
public enum GCCollectionMode
{
/// <summary>The default setting for this enumeration, which is currently <see cref="GCCollectionMode.Forced" />.</summary>
Default = 0,

/// <summary>Forces the garbage collection to occur immediately.</summary>
Forced = 1,

/// <summary>Allows the garbage collector to determine whether the current time is optimal to reclaim objects.</summary>
Optimized = 2,

/// <summary>Requests that the garbage collector decommit as much memory as possible.</summary>
Aggressive = 3,
}

Expand Down
8 changes: 0 additions & 8 deletions src/libraries/System.Runtime/ref/System.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2608,19 +2608,11 @@ public static void WaitForPendingFinalizers() { }
public static System.Collections.Generic.IReadOnlyDictionary<string, object> GetConfigurationVariables() { throw null; }
}

/// <summary>Specifies the behavior for a forced garbage collection.</summary>
public enum GCCollectionMode
{
/// <summary>The default setting for this enumeration, which is currently <see cref="GCCollectionMode.Forced" />.</summary>
Default = 0,

/// <summary>Forces the garbage collection to occur immediately.</summary>
Forced = 1,

/// <summary>Allows the garbage collector to determine whether the current time is optimal to reclaim objects.</summary>
Optimized = 2,

/// <summary>Requests that the garbage collector decommit as much memory as possible.</summary>
Aggressive = 3,
}

Expand Down

0 comments on commit 264b45e

Please sign in to comment.