131 lines
6.3 KiB
C#
131 lines
6.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid.</summary>
|
|
// Token: 0x020000C1 RID: 193
|
|
[Token(Token = "0x20000C1")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class BadImageFormatException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.BadImageFormatException" /> class.</summary>
|
|
// Token: 0x0600055E RID: 1374 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600055E")]
|
|
[Address(RVA = "0x2D0B810", Offset = "0x2D0A810", VA = "0x182D0B810")]
|
|
public BadImageFormatException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.BadImageFormatException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The message that describes the error.</param>
|
|
// Token: 0x0600055F RID: 1375 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600055F")]
|
|
[Address(RVA = "0x2D0B940", Offset = "0x2D0A940", VA = "0x182D0B940")]
|
|
public BadImageFormatException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.BadImageFormatException" /> 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, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x06000560 RID: 1376 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000560")]
|
|
[Address(RVA = "0x2D0B7E0", Offset = "0x2D0A7E0", VA = "0x182D0B7E0")]
|
|
public BadImageFormatException(string message, Exception inner)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.BadImageFormatException" /> class with a specified error message and file name.</summary>
|
|
/// <param name="message">A message that describes the error.</param>
|
|
/// <param name="fileName">The full name of the file with the invalid image.</param>
|
|
// Token: 0x06000561 RID: 1377 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000561")]
|
|
[Address(RVA = "0x2D0B7A0", Offset = "0x2D0A7A0", VA = "0x182D0B7A0")]
|
|
public BadImageFormatException(string message, string fileName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the error message and the name of the file that caused this exception.</summary>
|
|
/// <returns>A string containing the error message and the name of the file that caused this exception.</returns>
|
|
// Token: 0x1700009E RID: 158
|
|
// (get) Token: 0x06000562 RID: 1378 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700009E")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000562")]
|
|
[Address(RVA = "0x2D0B970", Offset = "0x2D0A970", VA = "0x182D0B970", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000563 RID: 1379 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000563")]
|
|
[Address(RVA = "0x2D0B4B0", Offset = "0x2D0A4B0", VA = "0x182D0B4B0")]
|
|
private void SetMessageField()
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.</summary>
|
|
/// <returns>A string containing the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.</returns>
|
|
// Token: 0x06000564 RID: 1380 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000564")]
|
|
[Address(RVA = "0x2D0B520", Offset = "0x2D0A520", VA = "0x182D0B520", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.BadImageFormatException" /> class with serialized data.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
|
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
|
// Token: 0x06000565 RID: 1381 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000565")]
|
|
[Address(RVA = "0x2D0B870", Offset = "0x2D0A870", VA = "0x182D0B870")]
|
|
protected BadImageFormatException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the log file that describes why an assembly load failed.</summary>
|
|
/// <returns>A <see langword="String" /> containing errors reported by the assembly cache.</returns>
|
|
// Token: 0x1700009F RID: 159
|
|
// (get) Token: 0x06000566 RID: 1382 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700009F")]
|
|
public string FusionLog
|
|
{
|
|
[Token(Token = "0x6000566")]
|
|
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name, assembly cache log, and additional exception information.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
|
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
|
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
|
// Token: 0x06000567 RID: 1383 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000567")]
|
|
[Address(RVA = "0x2D0B370", Offset = "0x2D0A370", VA = "0x182D0B370", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400021C RID: 540
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400021C")]
|
|
private string _fileName;
|
|
|
|
// Token: 0x0400021D RID: 541
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400021D")]
|
|
private string _fusionLog;
|
|
}
|
|
}
|