120 lines
5.8 KiB
C#
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: 0x02000287 RID: 647
|
|
[Token(Token = "0x2000287")]
|
|
[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: 0x06001781 RID: 6017 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001781")]
|
|
[Address(RVA = "0x2935610", Offset = "0x2934410", VA = "0x182935610")]
|
|
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: 0x06001782 RID: 6018 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001782")]
|
|
[Address(RVA = "0x29355D0", Offset = "0x29343D0", VA = "0x1829355D0")]
|
|
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: 0x170002C0 RID: 704
|
|
// (get) Token: 0x06001783 RID: 6019 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002C0")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6001783")]
|
|
[Address(RVA = "0x2935750", Offset = "0x2934550", VA = "0x182935750", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001784 RID: 6020 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001784")]
|
|
[Address(RVA = "0x29352D0", Offset = "0x29340D0", VA = "0x1829352D0")]
|
|
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: 0x06001785 RID: 6021 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001785")]
|
|
[Address(RVA = "0x2935350", Offset = "0x2934150", VA = "0x182935350", 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: 0x06001786 RID: 6022 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001786")]
|
|
[Address(RVA = "0x2935680", Offset = "0x2934480", VA = "0x182935680")]
|
|
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: 0x170002C1 RID: 705
|
|
// (get) Token: 0x06001787 RID: 6023 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002C1")]
|
|
public string FusionLog
|
|
{
|
|
[Token(Token = "0x6001787")]
|
|
[Address(RVA = "0x46AA30", Offset = "0x469830", VA = "0x18046AA30")]
|
|
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: 0x06001788 RID: 6024 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001788")]
|
|
[Address(RVA = "0x2935190", Offset = "0x2933F90", VA = "0x182935190", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001789 RID: 6025 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001789")]
|
|
[Address(RVA = "0x2935120", Offset = "0x2933F20", VA = "0x182935120")]
|
|
internal static string FormatFileLoadExceptionMessage(string fileName, int hResult)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000CBA RID: 3258
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000CBA")]
|
|
private string _fileName;
|
|
|
|
// Token: 0x04000CBB RID: 3259
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000CBB")]
|
|
private string _fusionLog;
|
|
}
|
|
}
|