97 lines
4.2 KiB
C#
97 lines
4.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when an operation is performed on a disposed object.</summary>
|
|
// Token: 0x0200012B RID: 299
|
|
[Token(Token = "0x200012B")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ObjectDisposedException : InvalidOperationException
|
|
{
|
|
// Token: 0x06000AD7 RID: 2775 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AD7")]
|
|
[Address(RVA = "0x2D780A0", Offset = "0x2D770A0", VA = "0x182D780A0")]
|
|
private ObjectDisposedException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ObjectDisposedException" /> class with a string containing the name of the disposed object.</summary>
|
|
/// <param name="objectName">A string containing the name of the disposed object.</param>
|
|
// Token: 0x06000AD8 RID: 2776 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AD8")]
|
|
[Address(RVA = "0x2D781B0", Offset = "0x2D771B0", VA = "0x182D781B0")]
|
|
public ObjectDisposedException(string objectName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ObjectDisposedException" /> class with the specified object name and message.</summary>
|
|
/// <param name="objectName">The name of the disposed object.</param>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x06000AD9 RID: 2777 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AD9")]
|
|
[Address(RVA = "0x2D78050", Offset = "0x2D77050", VA = "0x182D78050")]
|
|
public ObjectDisposedException(string objectName, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the message that describes the error.</summary>
|
|
/// <returns>A string that describes the error.</returns>
|
|
// Token: 0x170000D8 RID: 216
|
|
// (get) Token: 0x06000ADA RID: 2778 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170000D8")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000ADA")]
|
|
[Address(RVA = "0x2D78230", Offset = "0x2D77230", VA = "0x182D78230", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of the disposed object.</summary>
|
|
/// <returns>A string containing the name of the disposed object.</returns>
|
|
// Token: 0x170000D9 RID: 217
|
|
// (get) Token: 0x06000ADB RID: 2779 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170000D9")]
|
|
public string ObjectName
|
|
{
|
|
[Token(Token = "0x6000ADB")]
|
|
[Address(RVA = "0x2D78380", Offset = "0x2D77380", VA = "0x182D78380")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ObjectDisposedException" /> 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: 0x06000ADC RID: 2780 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000ADC")]
|
|
[Address(RVA = "0x2D78120", Offset = "0x2D77120", VA = "0x182D78120")]
|
|
protected ObjectDisposedException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Retrieves the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the parameter 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>
|
|
// Token: 0x06000ADD RID: 2781 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000ADD")]
|
|
[Address(RVA = "0x2D77F40", Offset = "0x2D76F40", VA = "0x182D77F40", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000475 RID: 1141
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000475")]
|
|
private string objectName;
|
|
}
|
|
}
|