using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System { /// The exception that is thrown when there is not enough memory to continue the execution of a program. /// 2 // Token: 0x0200069D RID: 1693 [ComVisible(true)] [Serializable] public class OutOfMemoryException : SystemException { /// Initializes a new instance of the class. // Token: 0x06004060 RID: 16480 RVA: 0x000DB87C File Offset: 0x000D9A7C public OutOfMemoryException() : base(Locale.GetText("Out of memory.")) { base.HResult = -2147024882; } /// Initializes a new instance of the class with a specified error message. /// The message that describes the error. // Token: 0x06004061 RID: 16481 RVA: 0x000DB89C File Offset: 0x000D9A9C public OutOfMemoryException(string message) : base(message) { base.HResult = -2147024882; } /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. If the parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. // Token: 0x06004062 RID: 16482 RVA: 0x000DB8B0 File Offset: 0x000D9AB0 public OutOfMemoryException(string message, Exception innerException) : base(message, innerException) { base.HResult = -2147024882; } /// Initializes a new instance of the class with serialized data. /// The object that holds the serialized object data. /// The contextual information about the source or destination. // Token: 0x06004063 RID: 16483 RVA: 0x000DB8C8 File Offset: 0x000D9AC8 protected OutOfMemoryException(SerializationInfo info, StreamingContext context) : base(info, context) { } // Token: 0x04001995 RID: 6549 private const int Result = -2147024882; } }