Files
2026-04-10 22:50:51 +02:00

384 lines
15 KiB
C#

using System;
using System.Collections;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents errors that occur during application execution.</summary>
// Token: 0x020000E5 RID: 229
[Token(Token = "0x20000E5")]
[ComVisible(true)]
[ComDefaultInterface(typeof(_Exception))]
[ClassInterface(ClassInterfaceType.None)]
[Serializable]
[StructLayout(0)]
public class Exception : ISerializable, _Exception
{
// Token: 0x060008A6 RID: 2214 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008A6")]
[Address(RVA = "0x1E938A0", Offset = "0x1E926A0", VA = "0x181E938A0")]
private void Init()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Exception" /> class.</summary>
// Token: 0x060008A7 RID: 2215 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008A7")]
[Address(RVA = "0x1E93E50", Offset = "0x1E92C50", VA = "0x181E93E50")]
public Exception()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message.</summary>
/// <param name="message">The message that describes the error.</param>
// Token: 0x060008A8 RID: 2216 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008A8")]
[Address(RVA = "0x1E93F50", Offset = "0x1E92D50", VA = "0x181E93F50")]
public Exception(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Exception" /> 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, or a null reference (<see langword="Nothing" /> in Visual Basic) if no inner exception is specified.</param>
// Token: 0x060008A9 RID: 2217 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008A9")]
[Address(RVA = "0x1E93EC0", Offset = "0x1E92CC0", VA = "0x181E93EC0")]
public Exception(string message, Exception innerException)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Exception" /> 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>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is <see langword="null" /> or <see cref="P:System.Exception.HResult" /> is zero (0).</exception>
// Token: 0x060008AA RID: 2218 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008AA")]
[Address(RVA = "0x1E93FD0", Offset = "0x1E92DD0", VA = "0x181E93FD0")]
protected Exception(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Gets a message that describes the current exception.</summary>
/// <returns>The error message that explains the reason for the exception, or an empty string ("").</returns>
// Token: 0x170000C3 RID: 195
// (get) Token: 0x060008AB RID: 2219 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000C3")]
public virtual string Message
{
[Token(Token = "0x60008AB")]
[Address(RVA = "0x1E94340", Offset = "0x1E93140", VA = "0x181E94340", Slot = "5")]
get
{
return null;
}
}
/// <summary>Gets a collection of key/value pairs that provide additional user-defined information about the exception.</summary>
/// <returns>An object that implements the <see cref="T:System.Collections.IDictionary" /> interface and contains a collection of user-defined key/value pairs. The default is an empty collection.</returns>
// Token: 0x170000C4 RID: 196
// (get) Token: 0x060008AC RID: 2220 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000C4")]
public virtual IDictionary Data
{
[Token(Token = "0x60008AC")]
[Address(RVA = "0x1E942C0", Offset = "0x1E930C0", VA = "0x181E942C0", Slot = "6")]
get
{
return null;
}
}
// Token: 0x060008AD RID: 2221 RVA: 0x00007D40 File Offset: 0x00005F40
[Token(Token = "0x60008AD")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
private static bool IsImmutableAgileException(Exception e)
{
return default(bool);
}
// Token: 0x060008AE RID: 2222 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008AE")]
[Address(RVA = "0x1E93400", Offset = "0x1E92200", VA = "0x181E93400")]
private string GetClassName()
{
return null;
}
/// <summary>Gets the <see cref="T:System.Exception" /> instance that caused the current exception.</summary>
/// <returns>An object that describes the error that caused the current exception. The <see cref="P:System.Exception.InnerException" /> property returns the same value as was passed into the <see cref="M:System.Exception.#ctor(System.String,System.Exception)" /> constructor, or <see langword="null" /> if the inner exception value was not supplied to the constructor. This property is read-only.</returns>
// Token: 0x170000C5 RID: 197
// (get) Token: 0x060008AF RID: 2223 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000C5")]
public Exception InnerException
{
[Token(Token = "0x60008AF")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "7")]
get
{
return null;
}
}
/// <summary>Gets a string representation of the immediate frames on the call stack.</summary>
/// <returns>A string that describes the immediate frames of the call stack.</returns>
// Token: 0x170000C6 RID: 198
// (get) Token: 0x060008B0 RID: 2224 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000C6")]
public virtual string StackTrace
{
[Token(Token = "0x60008B0")]
[Address(RVA = "0x1E94560", Offset = "0x1E93360", VA = "0x181E94560", Slot = "8")]
get
{
return null;
}
}
// Token: 0x060008B1 RID: 2225 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008B1")]
[Address(RVA = "0x1E93840", Offset = "0x1E92640", VA = "0x181E93840")]
private string GetStackTrace(bool needFileInfo)
{
return null;
}
// Token: 0x060008B2 RID: 2226 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008B2")]
[Address(RVA = "0x731D70", Offset = "0x730B70", VA = "0x180731D70")]
[FriendAccessAllowed]
internal void SetErrorCode(int hr)
{
}
/// <summary>Gets or sets the name of the application or the object that causes the error.</summary>
/// <returns>The name of the application or the object that causes the error.</returns>
/// <exception cref="T:System.ArgumentException">The object must be a runtime <see cref="N:System.Reflection" /> object.</exception>
// Token: 0x170000C7 RID: 199
// (get) Token: 0x060008B3 RID: 2227 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000C7")]
public virtual string Source
{
[Token(Token = "0x60008B3")]
[Address(RVA = "0x1E94430", Offset = "0x1E93230", VA = "0x181E94430", Slot = "9")]
get
{
return null;
}
}
/// <summary>Creates and returns a string representation of the current exception.</summary>
/// <returns>A string representation of the current exception.</returns>
// Token: 0x060008B4 RID: 2228 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008B4")]
[Address(RVA = "0x1E93DE0", Offset = "0x1E92BE0", VA = "0x181E93DE0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060008B5 RID: 2229 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008B5")]
[Address(RVA = "0x1E93A30", Offset = "0x1E92830", VA = "0x181E93A30")]
private string ToString(bool needFileLineInfo, bool needMessage)
{
return null;
}
/// <summary>When overridden in a derived class, sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.</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.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
// Token: 0x060008B6 RID: 2230 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008B6")]
[Address(RVA = "0x1E934A0", Offset = "0x1E922A0", VA = "0x181E934A0", Slot = "10")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060008B7 RID: 2231 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008B7")]
[Address(RVA = "0x1E93910", Offset = "0x1E92710", VA = "0x181E93910")]
[OnDeserialized]
private void OnDeserialized(StreamingContext context)
{
}
// Token: 0x060008B8 RID: 2232 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008B8")]
[Address(RVA = "0x4996E0", Offset = "0x4984E0", VA = "0x1804996E0")]
private string StripFileInfo(string stackTrace, bool isRemoteStackTrace)
{
return null;
}
// Token: 0x060008B9 RID: 2233 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008B9")]
[Address(RVA = "0x1E939A0", Offset = "0x1E927A0", VA = "0x181E939A0")]
internal void RestoreExceptionDispatchInfo(ExceptionDispatchInfo exceptionDispatchInfo)
{
}
/// <summary>Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.</summary>
/// <returns>The HRESULT value.</returns>
// Token: 0x170000C8 RID: 200
// (get) Token: 0x060008BA RID: 2234 RVA: 0x00007D58 File Offset: 0x00005F58
// (set) Token: 0x060008BB RID: 2235 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000C8")]
public int HResult
{
[Token(Token = "0x60008BA")]
[Address(RVA = "0xD17AD0", Offset = "0xD168D0", VA = "0x180D17AD0")]
get
{
return 0;
}
[Token(Token = "0x60008BB")]
[Address(RVA = "0x731D70", Offset = "0x730B70", VA = "0x180731D70")]
protected set
{
}
}
/// <summary>Gets the runtime type of the current instance.</summary>
/// <returns>A <see cref="T:System.Type" /> object that represents the exact runtime type of the current instance.</returns>
// Token: 0x060008BC RID: 2236 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008BC")]
[Address(RVA = "0x1E93890", Offset = "0x1E92690", VA = "0x181E93890", Slot = "11")]
public new Type GetType()
{
return null;
}
// Token: 0x060008BD RID: 2237 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008BD")]
[Address(RVA = "0x1E93450", Offset = "0x1E92250", VA = "0x181E93450")]
internal static string GetMessageFromNativeResources(Exception.ExceptionMessageKind kind)
{
return null;
}
// Token: 0x060008BE RID: 2238 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60008BE")]
[Address(RVA = "0x1E932E0", Offset = "0x1E920E0", VA = "0x181E932E0")]
internal Exception FixRemotingException()
{
return null;
}
// Token: 0x060008BF RID: 2239 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008BF")]
[Address(RVA = "0x1E93990", Offset = "0x1E92790", VA = "0x181E93990")]
internal static void ReportUnhandledException(Exception exception)
{
}
// Token: 0x04000352 RID: 850
[Token(Token = "0x4000352")]
[OptionalField]
private static object s_EDILock;
// Token: 0x04000353 RID: 851
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000353")]
private string _className;
// Token: 0x04000354 RID: 852
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000354")]
internal string _message;
// Token: 0x04000355 RID: 853
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000355")]
private IDictionary _data;
// Token: 0x04000356 RID: 854
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000356")]
private Exception _innerException;
// Token: 0x04000357 RID: 855
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000357")]
private string _helpURL;
// Token: 0x04000358 RID: 856
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000358")]
private object _stackTrace;
// Token: 0x04000359 RID: 857
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000359")]
private string _stackTraceString;
// Token: 0x0400035A RID: 858
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400035A")]
private string _remoteStackTraceString;
// Token: 0x0400035B RID: 859
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400035B")]
private int _remoteStackIndex;
// Token: 0x0400035C RID: 860
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400035C")]
private object _dynamicMethods;
// Token: 0x0400035D RID: 861
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400035D")]
internal int _HResult;
// Token: 0x0400035E RID: 862
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400035E")]
private string _source;
// Token: 0x0400035F RID: 863
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x400035F")]
[OptionalField]
private SafeSerializationManager _safeSerializationManager;
// Token: 0x04000360 RID: 864
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x4000360")]
internal StackTrace[] captured_traces;
// Token: 0x04000361 RID: 865
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
[Token(Token = "0x4000361")]
private IntPtr[] native_trace_ips;
// Token: 0x04000362 RID: 866
[Token(Token = "0x4000362")]
private const int _COMPlusExceptionCode = -532462766;
// Token: 0x020000E6 RID: 230
[Token(Token = "0x20000E6")]
internal enum ExceptionMessageKind
{
// Token: 0x04000364 RID: 868
[Token(Token = "0x4000364")]
ThreadAbort = 1,
// Token: 0x04000365 RID: 869
[Token(Token = "0x4000365")]
ThreadInterrupted,
// Token: 0x04000366 RID: 870
[Token(Token = "0x4000366")]
OutOfMemory
}
}
}