scripts
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
|
||||
namespace System.Runtime
|
||||
{
|
||||
/// <summary>Specifies the garbage collection settings for the current process. </summary>
|
||||
// Token: 0x0200049F RID: 1183
|
||||
public static class GCSettings
|
||||
{
|
||||
/// <summary>Gets a value indicating whether server garbage collection is enabled.</summary>
|
||||
/// <returns>true if server garbage collection is enabled; otherwise, false.</returns>
|
||||
// Token: 0x170008B4 RID: 2228
|
||||
// (get) Token: 0x06002CA2 RID: 11426 RVA: 0x00092D70 File Offset: 0x00090F70
|
||||
[MonoTODO("Always returns false")]
|
||||
public static bool IsServerGC
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the current latency mode for garbage collection.</summary>
|
||||
/// <returns>One of the <see cref="T:System.Runtime.GCLatencyMode" /> values. </returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <see cref="T:System.Runtime.GCLatencyMode" /> is set to an invalid value.</exception>
|
||||
// Token: 0x170008B5 RID: 2229
|
||||
// (get) Token: 0x06002CA3 RID: 11427 RVA: 0x00092D74 File Offset: 0x00090F74
|
||||
// (set) Token: 0x06002CA4 RID: 11428 RVA: 0x00092D78 File Offset: 0x00090F78
|
||||
[MonoTODO("Always returns GCLatencyMode.Interactive and ignores set (.NET 2.0 SP1 member)")]
|
||||
public static GCLatencyMode LatencyMode
|
||||
{
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return GCLatencyMode.Interactive;
|
||||
}
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user