using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program.
/// 2
// Token: 0x0200067C RID: 1660
[ComVisible(true)]
[Serializable]
public sealed class InvalidProgramException : SystemException
{
/// Initializes a new instance of the class with default properties.
// Token: 0x06003EEE RID: 16110 RVA: 0x000D51F4 File Offset: 0x000D33F4
public InvalidProgramException()
: base(Locale.GetText("Metadata is invalid."))
{
}
/// Initializes a new instance of the class with a specified error message.
/// The error message that explains the reason for the exception.
// Token: 0x06003EEF RID: 16111 RVA: 0x000D5208 File Offset: 0x000D3408
public InvalidProgramException(string message)
: base(message)
{
}
/// 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: 0x06003EF0 RID: 16112 RVA: 0x000D5214 File Offset: 0x000D3414
public InvalidProgramException(string message, Exception inner)
: base(message, inner)
{
}
// Token: 0x06003EF1 RID: 16113 RVA: 0x000D5220 File Offset: 0x000D3420
internal InvalidProgramException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}