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: 0x02000124 RID: 292
|
|
[Token(Token = "0x2000124")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ObjectDisposedException : InvalidOperationException
|
|
{
|
|
// Token: 0x06000AA5 RID: 2725 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AA5")]
|
|
[Address(RVA = "0x2A0B9E0", Offset = "0x2A0A7E0", VA = "0x182A0B9E0")]
|
|
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: 0x06000AA6 RID: 2726 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AA6")]
|
|
[Address(RVA = "0x2A0BAE0", Offset = "0x2A0A8E0", VA = "0x182A0BAE0")]
|
|
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: 0x06000AA7 RID: 2727 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AA7")]
|
|
[Address(RVA = "0x2A0B9A0", Offset = "0x2A0A7A0", VA = "0x182A0B9A0")]
|
|
public ObjectDisposedException(string objectName, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the message that describes the error.</summary>
|
|
/// <returns>A string that describes the error.</returns>
|
|
// Token: 0x170000D3 RID: 211
|
|
// (get) Token: 0x06000AA8 RID: 2728 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170000D3")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000AA8")]
|
|
[Address(RVA = "0x2A0BB50", Offset = "0x2A0A950", VA = "0x182A0BB50", 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: 0x170000D4 RID: 212
|
|
// (get) Token: 0x06000AA9 RID: 2729 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170000D4")]
|
|
public string ObjectName
|
|
{
|
|
[Token(Token = "0x6000AA9")]
|
|
[Address(RVA = "0x2A0BCA0", Offset = "0x2A0AAA0", VA = "0x182A0BCA0")]
|
|
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: 0x06000AAA RID: 2730 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AAA")]
|
|
[Address(RVA = "0x2A0BA50", Offset = "0x2A0A850", VA = "0x182A0BA50")]
|
|
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: 0x06000AAB RID: 2731 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AAB")]
|
|
[Address(RVA = "0x2A0B890", Offset = "0x2A0A690", VA = "0x182A0B890", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400046B RID: 1131
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400046B")]
|
|
private string objectName;
|
|
}
|
|
}
|