terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
StackFrame.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Diagnostics
7{
8 // Token: 0x020005D3 RID: 1491
9 [MonoTODO("Serialized objects are not compatible with MS.NET")]
10 [ComVisible(true)]
12 [StructLayout(0)]
13 public class StackFrame
14 {
15 // Token: 0x06002D5D RID: 11613 RVA: 0x0000207A File Offset: 0x0000027A
16 private static bool get_frame_info(int skip, bool needFileInfo, [Out] MethodBase method, [Out] int iloffset, [Out] int native_offset, [Out] string file, [Out] int line, [Out] int column)
17 {
18 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
19 }
20
21 // Token: 0x06002D5E RID: 11614 RVA: 0x00064610 File Offset: 0x00062810
22 public StackFrame()
23 {
24 }
25
26 // Token: 0x06002D5F RID: 11615 RVA: 0x00064624 File Offset: 0x00062824
28 {
29 }
30
31 // Token: 0x06002D60 RID: 11616 RVA: 0x00064638 File Offset: 0x00062838
32 public virtual int GetFileLineNumber()
33 {
34 return this.lineNumber;
35 }
36
37 // Token: 0x06002D61 RID: 11617 RVA: 0x0006464C File Offset: 0x0006284C
38 public virtual string GetFileName()
39 {
40 return this.fileName;
41 }
42
43 // Token: 0x06002D62 RID: 11618 RVA: 0x00064660 File Offset: 0x00062860
44 internal string GetSecureFileName()
45 {
46 if (this.fileName != null)
47 {
48 return;
49 }
50 }
51
52 // Token: 0x06002D63 RID: 11619 RVA: 0x00064678 File Offset: 0x00062878
53 public virtual int GetILOffset()
54 {
55 return this.ilOffset;
56 }
57
58 // Token: 0x06002D64 RID: 11620 RVA: 0x0006468C File Offset: 0x0006288C
59 public virtual MethodBase GetMethod()
60 {
61 return this.methodBase;
62 }
63
64 // Token: 0x06002D65 RID: 11621 RVA: 0x000646A0 File Offset: 0x000628A0
65 public virtual int GetNativeOffset()
66 {
67 return this.nativeOffset;
68 }
69
70 // Token: 0x06002D66 RID: 11622 RVA: 0x000646B4 File Offset: 0x000628B4
71 internal long GetMethodAddress()
72 {
73 return this.methodAddress;
74 }
75
76 // Token: 0x06002D67 RID: 11623 RVA: 0x000646C8 File Offset: 0x000628C8
77 internal uint GetMethodIndex()
78 {
79 return this.methodIndex;
80 }
81
82 // Token: 0x06002D68 RID: 11624 RVA: 0x000646DC File Offset: 0x000628DC
83 internal string GetInternalMethodName()
84 {
85 return this.internalMethodName;
86 }
87
88 // Token: 0x06002D69 RID: 11625 RVA: 0x000646F0 File Offset: 0x000628F0
89 public override string ToString()
90 {
92 return Locale.GetText("<unknown method>");
93 }
94
95 // Token: 0x04001960 RID: 6496
96 public const int OFFSET_UNKNOWN = -1;
97
98 // Token: 0x04001961 RID: 6497
99 private int ilOffset;
100
101 // Token: 0x04001962 RID: 6498
102 private int nativeOffset;
103
104 // Token: 0x04001963 RID: 6499
105 private long methodAddress;
106
107 // Token: 0x04001964 RID: 6500
108 private uint methodIndex;
109
110 // Token: 0x04001965 RID: 6501
112
113 // Token: 0x04001966 RID: 6502
114 private string fileName;
115
116 // Token: 0x04001967 RID: 6503
117 private int lineNumber;
118
119 // Token: 0x04001968 RID: 6504
120 private int columnNumber;
121
122 // Token: 0x04001969 RID: 6505
123 private string internalMethodName;
124 }
125}
class f__AnonymousType0<< Count > j__TPar
static string GetText(string msg)
Definition Locale.cs:8
virtual string GetFileName()
Definition StackFrame.cs:38
static bool get_frame_info(int skip, bool needFileInfo, [Out] MethodBase method, [Out] int iloffset, [Out] int native_offset, [Out] string file, [Out] int line, [Out] int column)
Definition StackFrame.cs:16
override string ToString()
Definition StackFrame.cs:89
virtual MethodBase GetMethod()
Definition StackFrame.cs:59
StackFrame(int skipFrames, bool fNeedFileInfo)
Definition StackFrame.cs:27
virtual int GetFileLineNumber()
Definition StackFrame.cs:32