using System; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using Cpp2IlInjected; namespace System.Diagnostics { /// Represents a stack trace, which is an ordered collection of one or more stack frames. // Token: 0x02000644 RID: 1604 [Token(Token = "0x2000644")] [MonoTODO] [ComVisible(true)] [MonoTODO("Serialized objects are not compatible with .NET")] [Serializable] public class StackTrace { /// Initializes a new instance of the class from the caller's frame. // Token: 0x06003198 RID: 12696 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6003198")] [Address(RVA = "0x2568320", Offset = "0x2567320", VA = "0x182568320")] public StackTrace() { } /// Initializes a new instance of the class from the caller's frame, optionally capturing source information. /// /// to capture the file name, line number, and column number; otherwise, . // Token: 0x06003199 RID: 12697 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6003199")] [Address(RVA = "0x2568390", Offset = "0x2567390", VA = "0x182568390")] public StackTrace(bool fNeedFileInfo) { } /// Initializes a new instance of the class from the caller's frame, skipping the specified number of frames and optionally capturing source information. /// The number of frames up the stack from which to start the trace. /// /// to capture the file name, line number, and column number; otherwise, . /// The parameter is negative. // Token: 0x0600319A RID: 12698 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600319A")] [Address(RVA = "0x2568350", Offset = "0x2567350", VA = "0x182568350")] public StackTrace(int skipFrames, bool fNeedFileInfo) { } // Token: 0x0600319B RID: 12699 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600319B")] [Address(RVA = "0x25683F0", Offset = "0x25673F0", VA = "0x1825683F0")] private void init_frames(int skipFrames, bool fNeedFileInfo) { } // Token: 0x0600319C RID: 12700 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600319C")] [Address(RVA = "0x25683E0", Offset = "0x25673E0", VA = "0x1825683E0")] private static StackFrame[] get_trace(Exception e, int skipFrames, bool fNeedFileInfo) { return null; } /// Initializes a new instance of the class, using the provided exception object and optionally capturing source information. /// The exception object from which to construct the stack trace. /// /// to capture the file name, line number, and column number; otherwise, . /// The parameter is . // Token: 0x0600319D RID: 12701 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600319D")] [Address(RVA = "0x2568190", Offset = "0x2567190", VA = "0x182568190")] public StackTrace(Exception e, bool fNeedFileInfo) { } /// Initializes a new instance of the class using the provided exception object, skipping the specified number of frames and optionally capturing source information. /// The exception object from which to construct the stack trace. /// The number of frames up the stack from which to start the trace. /// /// to capture the file name, line number, and column number; otherwise, . /// The parameter is . /// The parameter is negative. // Token: 0x0600319E RID: 12702 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600319E")] [Address(RVA = "0x2568230", Offset = "0x2567230", VA = "0x182568230")] public StackTrace(Exception e, int skipFrames, bool fNeedFileInfo) { } /// Gets the number of frames in the stack trace. /// The number of frames in the stack trace. // Token: 0x170007E2 RID: 2018 // (get) Token: 0x0600319F RID: 12703 RVA: 0x0001B168 File Offset: 0x00019368 [Token(Token = "0x170007E2")] public virtual int FrameCount { [Token(Token = "0x600319F")] [Address(RVA = "0x25683D0", Offset = "0x25673D0", VA = "0x1825683D0", Slot = "4")] get { return 0; } } /// Gets the specified stack frame. /// The index of the stack frame requested. /// The specified stack frame. // Token: 0x060031A0 RID: 12704 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60031A0")] [Address(RVA = "0x2567B80", Offset = "0x2566B80", VA = "0x182567B80", Slot = "5")] public virtual StackFrame GetFrame(int index) { return null; } /// Returns a copy of all stack frames in the current stack trace. /// An array of type representing the function calls in the stack trace. // Token: 0x060031A1 RID: 12705 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60031A1")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")] [ComVisible(false)] public virtual StackFrame[] GetFrames() { return null; } // Token: 0x060031A2 RID: 12706 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60031A2")] [Address(RVA = "0x2567A90", Offset = "0x2566A90", VA = "0x182567A90")] private static string GetAotId() { return null; } // Token: 0x060031A3 RID: 12707 RVA: 0x0001B180 File Offset: 0x00019380 [Token(Token = "0x60031A3")] [Address(RVA = "0x2567610", Offset = "0x2566610", VA = "0x182567610")] private bool AddFrames(StringBuilder sb) { return default(bool); } // Token: 0x060031A4 RID: 12708 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60031A4")] [Address(RVA = "0x2567BF0", Offset = "0x2566BF0", VA = "0x182567BF0")] internal void GetFullNameForStackTrace(StringBuilder sb, MethodBase mi) { } /// Builds a readable representation of the stack trace. /// A readable representation of the stack trace. // Token: 0x060031A5 RID: 12709 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60031A5")] [Address(RVA = "0x2568070", Offset = "0x2567070", VA = "0x182568070", Slot = "3")] public override string ToString() { return null; } // Token: 0x060031A6 RID: 12710 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60031A6")] [Address(RVA = "0x7207B0", Offset = "0x71F7B0", VA = "0x1807207B0")] internal string ToString(StackTrace.TraceFormat traceFormat) { return null; } /// Defines the default for the number of methods to omit from the stack trace. This field is constant. // Token: 0x04001B36 RID: 6966 [Token(Token = "0x4001B36")] public const int METHODS_TO_SKIP = 0; // Token: 0x04001B37 RID: 6967 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4001B37")] private StackFrame[] frames; // Token: 0x04001B38 RID: 6968 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4001B38")] private readonly StackTrace[] captured_traces; // Token: 0x04001B39 RID: 6969 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001B39")] private bool debug_info; // Token: 0x04001B3A RID: 6970 [Token(Token = "0x4001B3A")] private static bool isAotidSet; // Token: 0x04001B3B RID: 6971 [Token(Token = "0x4001B3B")] private static string aotid; // Token: 0x02000645 RID: 1605 [Token(Token = "0x2000645")] internal enum TraceFormat { // Token: 0x04001B3D RID: 6973 [Token(Token = "0x4001B3D")] Normal, // Token: 0x04001B3E RID: 6974 [Token(Token = "0x4001B3E")] TrailingNewLine, // Token: 0x04001B3F RID: 6975 [Token(Token = "0x4001B3F")] NoResourceLookup } } }