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: 0x020000BA RID: 186
|
|
[Token(Token = "0x20000BA")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class BadImageFormatException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.BadImageFormatException" /> class.</summary>
|
|
// Token: 0x06000542 RID: 1346 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000542")]
|
|
[Address(RVA = "0x26C7B40", Offset = "0x26C6940", VA = "0x1826C7B40")]
|
|
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: 0x06000543 RID: 1347 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000543")]
|
|
[Address(RVA = "0x26C7C70", Offset = "0x26C6A70", VA = "0x1826C7C70")]
|
|
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: 0x06000544 RID: 1348 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000544")]
|
|
[Address(RVA = "0x26C7B10", Offset = "0x26C6910", VA = "0x1826C7B10")]
|
|
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: 0x06000545 RID: 1349 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000545")]
|
|
[Address(RVA = "0x26C7AD0", Offset = "0x26C68D0", VA = "0x1826C7AD0")]
|
|
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: 0x1700009A RID: 154
|
|
// (get) Token: 0x06000546 RID: 1350 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700009A")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000546")]
|
|
[Address(RVA = "0x26C7CA0", Offset = "0x26C6AA0", VA = "0x1826C7CA0", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000547 RID: 1351 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000547")]
|
|
[Address(RVA = "0x26C77E0", Offset = "0x26C65E0", VA = "0x1826C77E0")]
|
|
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: 0x06000548 RID: 1352 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000548")]
|
|
[Address(RVA = "0x26C7850", Offset = "0x26C6650", VA = "0x1826C7850", 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: 0x06000549 RID: 1353 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000549")]
|
|
[Address(RVA = "0x26C7BA0", Offset = "0x26C69A0", VA = "0x1826C7BA0")]
|
|
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: 0x1700009B RID: 155
|
|
// (get) Token: 0x0600054A RID: 1354 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700009B")]
|
|
public string FusionLog
|
|
{
|
|
[Token(Token = "0x600054A")]
|
|
[Address(RVA = "0x44EC40", Offset = "0x44DA40", VA = "0x18044EC40")]
|
|
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: 0x0600054B RID: 1355 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600054B")]
|
|
[Address(RVA = "0x26C76A0", Offset = "0x26C64A0", VA = "0x1826C76A0", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000212 RID: 530
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000212")]
|
|
private string _fileName;
|
|
|
|
// Token: 0x04000213 RID: 531
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000213")]
|
|
private string _fusionLog;
|
|
}
|
|
}
|