Files
2026-06-04 11:42:34 +02:00

35 lines
1.4 KiB
C#

using System;
using System.Runtime.ConstrainedExecution;
namespace System.Runtime
{
/// <summary>Check for sufficient memory resources prior to execution. This class cannot be inherited.</summary>
// Token: 0x020004A0 RID: 1184
public sealed class MemoryFailPoint : CriticalFinalizerObject, IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.MemoryFailPoint" /> class, specifying the amount of memory required for successful execution. </summary>
/// <param name="sizeInMegabytes">The required memory size in megabytes.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">The specified memory size is negative.</exception>
/// <exception cref="T:System.InsufficientMemoryException">There is insufficient memory to begin execution of the code protected by the gate.</exception>
// Token: 0x06002CA5 RID: 11429 RVA: 0x00092D7C File Offset: 0x00090F7C
[MonoTODO]
public MemoryFailPoint(int sizeInMegabytes)
{
throw new NotImplementedException();
}
// Token: 0x06002CA6 RID: 11430 RVA: 0x00092D8C File Offset: 0x00090F8C
~MemoryFailPoint()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Runtime.MemoryFailPoint" />. </summary>
// Token: 0x06002CA7 RID: 11431 RVA: 0x00092DC4 File Offset: 0x00090FC4
[MonoTODO]
public void Dispose()
{
throw new NotImplementedException();
}
}
}