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

45 lines
2.1 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>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.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x0200067C RID: 1660
[ComVisible(true)]
[Serializable]
public sealed class InvalidProgramException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidProgramException" /> class with default properties.</summary>
// Token: 0x06003EEE RID: 16110 RVA: 0x000D51F4 File Offset: 0x000D33F4
public InvalidProgramException()
: base(Locale.GetText("Metadata is invalid."))
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidProgramException" /> class with a specified error message.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
// Token: 0x06003EEF RID: 16111 RVA: 0x000D5208 File Offset: 0x000D3408
public InvalidProgramException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidProgramException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. </param>
// 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)
{
}
}
}