using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System { /// The exception that is thrown when a DLL specified in a DLL import cannot be found. /// 2 // Token: 0x0200065D RID: 1629 [ComVisible(true)] [Serializable] public class DllNotFoundException : TypeLoadException { /// Initializes a new instance of the class with default properties. // Token: 0x06003E08 RID: 15880 RVA: 0x000D324C File Offset: 0x000D144C public DllNotFoundException() : base(Locale.GetText("DLL not found.")) { base.HResult = -2146233052; } /// Initializes a new instance of the class with a specified error message. /// The error message that explains the reason for the exception. // Token: 0x06003E09 RID: 15881 RVA: 0x000D326C File Offset: 0x000D146C public DllNotFoundException(string message) : base(message) { base.HResult = -2146233052; } /// Initializes a new instance of the class with serialized data. /// The that holds the serialized object data about the exception being thrown. /// The that contains contextual information about the source or destination. // Token: 0x06003E0A RID: 15882 RVA: 0x000D3280 File Offset: 0x000D1480 protected DllNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } /// 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 null, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06003E0B RID: 15883 RVA: 0x000D328C File Offset: 0x000D148C public DllNotFoundException(string message, Exception inner) : base(message, inner) { base.HResult = -2146233052; } // Token: 0x040018CD RID: 6349 private const int Result = -2146233052; } }