Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/IO/FileLoadException.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

120 lines
5.8 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.IO
{
/// <summary>The exception that is thrown when a managed assembly is found but cannot be loaded.</summary>
// Token: 0x0200028E RID: 654
[Token(Token = "0x200028E")]
[ComVisible(true)]
[Serializable]
public class FileLoadException : IOException
{
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileLoadException" /> class, setting the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error, such as "Could not load the specified file." This message takes into account the current system culture.</summary>
// Token: 0x060017C0 RID: 6080 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60017C0")]
[Address(RVA = "0x2BACC70", Offset = "0x2BABC70", VA = "0x182BACC70")]
public FileLoadException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileLoadException" /> class with the specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
// Token: 0x060017C1 RID: 6081 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60017C1")]
[Address(RVA = "0x2BACC40", Offset = "0x2BABC40", VA = "0x182BACC40")]
public FileLoadException(string message)
{
}
/// <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: 0x170002CB RID: 715
// (get) Token: 0x060017C2 RID: 6082 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170002CB")]
public override string Message
{
[Token(Token = "0x60017C2")]
[Address(RVA = "0x2BACDA0", Offset = "0x2BABDA0", VA = "0x182BACDA0", Slot = "5")]
get
{
return null;
}
}
// Token: 0x060017C3 RID: 6083 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60017C3")]
[Address(RVA = "0x2BAC940", Offset = "0x2BAB940", VA = "0x182BAC940")]
private void SetMessageField()
{
}
/// <summary>Returns the fully qualified name of the current 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, depending on which <see cref="T:System.IO.FileLoadException" /> constructor is used.</returns>
// Token: 0x060017C4 RID: 6084 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60017C4")]
[Address(RVA = "0x2BAC9C0", Offset = "0x2BAB9C0", VA = "0x182BAC9C0", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileLoadException" /> 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: 0x060017C5 RID: 6085 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60017C5")]
[Address(RVA = "0x2BACCD0", Offset = "0x2BABCD0", VA = "0x182BACCD0")]
protected FileLoadException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Gets the log file that describes why an assembly load failed.</summary>
/// <returns>A string containing errors reported by the assembly cache.</returns>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// Token: 0x170002CC RID: 716
// (get) Token: 0x060017C6 RID: 6086 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170002CC")]
public string FusionLog
{
[Token(Token = "0x60017C6")]
[Address(RVA = "0x56D550", Offset = "0x56C550", VA = "0x18056D550")]
get
{
return null;
}
}
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the file name 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: 0x060017C7 RID: 6087 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60017C7")]
[Address(RVA = "0x2BAC800", Offset = "0x2BAB800", VA = "0x182BAC800", Slot = "10")]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060017C8 RID: 6088 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60017C8")]
[Address(RVA = "0x2BAC790", Offset = "0x2BAB790", VA = "0x182BAC790")]
internal static string FormatFileLoadExceptionMessage(string fileName, int hResult)
{
return null;
}
// Token: 0x04000CC4 RID: 3268
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
[Token(Token = "0x4000CC4")]
private string _fileName;
// Token: 0x04000CC5 RID: 3269
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
[Token(Token = "0x4000CC5")]
private string _fusionLog;
}
}