76 lines
4.2 KiB
C#
76 lines
4.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>The exception that is thrown when an I/O error occurs.</summary>
|
|
// Token: 0x02000291 RID: 657
|
|
[Token(Token = "0x2000291")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class IOException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with its message string set to the empty string (""), its HRESULT set to COR_E_IO, and its inner exception set to a null reference.</summary>
|
|
// Token: 0x060017C6 RID: 6086 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60017C6")]
|
|
[Address(RVA = "0x293D7E0", Offset = "0x293C5E0", VA = "0x18293D7E0")]
|
|
public IOException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with its message string set to <paramref name="message" />, its HRESULT set to COR_E_IO, and its inner exception set to <see langword="null" />.</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: 0x060017C7 RID: 6087 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60017C7")]
|
|
[Address(RVA = "0x293D840", Offset = "0x293C640", VA = "0x18293D840")]
|
|
public IOException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with its message string set to <paramref name="message" /> and its HRESULT user-defined.</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>
|
|
/// <param name="hresult">An integer identifying the error that has occurred.</param>
|
|
// Token: 0x060017C8 RID: 6088 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60017C8")]
|
|
[Address(RVA = "0x23798D0", Offset = "0x23786D0", VA = "0x1823798D0")]
|
|
public IOException(string message, int hresult)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060017C9 RID: 6089 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60017C9")]
|
|
[Address(RVA = "0x293D870", Offset = "0x293C670", VA = "0x18293D870")]
|
|
internal IOException(string message, int hresult, string maybeFullPath)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> 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="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x060017CA RID: 6090 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60017CA")]
|
|
[Address(RVA = "0x293D7B0", Offset = "0x293C5B0", VA = "0x18293D7B0")]
|
|
public IOException(string message, Exception innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with the specified serialization and context information.</summary>
|
|
/// <param name="info">The data for serializing or deserializing the object.</param>
|
|
/// <param name="context">The source and destination for the object.</param>
|
|
// Token: 0x060017CB RID: 6091 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60017CB")]
|
|
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
|
protected IOException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000CD9 RID: 3289
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000CD9")]
|
|
[NonSerialized]
|
|
private string _maybeFullPath;
|
|
}
|
|
}
|