76 lines
4.1 KiB
C#
76 lines
4.1 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: 0x02000298 RID: 664
|
|
[Token(Token = "0x2000298")]
|
|
[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: 0x06001805 RID: 6149 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001805")]
|
|
[Address(RVA = "0xCBE5A0", Offset = "0xCBD5A0", VA = "0x180CBE5A0")]
|
|
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: 0x06001806 RID: 6150 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001806")]
|
|
[Address(RVA = "0xCBE630", Offset = "0xCBD630", VA = "0x180CBE630")]
|
|
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: 0x06001807 RID: 6151 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001807")]
|
|
[Address(RVA = "0xCBE600", Offset = "0xCBD600", VA = "0x180CBE600")]
|
|
public IOException(string message, int hresult)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001808 RID: 6152 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001808")]
|
|
[Address(RVA = "0xCBE660", Offset = "0xCBD660", VA = "0x180CBE660")]
|
|
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: 0x06001809 RID: 6153 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001809")]
|
|
[Address(RVA = "0xCBE570", Offset = "0xCBD570", VA = "0x180CBE570")]
|
|
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: 0x0600180A RID: 6154 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600180A")]
|
|
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
|
protected IOException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000CE3 RID: 3299
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000CE3")]
|
|
[NonSerialized]
|
|
private string _maybeFullPath;
|
|
}
|
|
}
|