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
TraceEventCache.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Diagnostics
7{
8 // Token: 0x020000CC RID: 204
9 public class TraceEventCache
10 {
11 // Token: 0x170000CB RID: 203
12 // (get) Token: 0x060004A0 RID: 1184 RVA: 0x00013654 File Offset: 0x00011854
13 public string Callstack
14 {
15 get
16 {
17 string text;
18 if (this.stackTrace == null)
19 {
22 }
23 return text;
24 }
25 }
26
27 // Token: 0x170000CC RID: 204
28 // (get) Token: 0x060004A1 RID: 1185 RVA: 0x00013678 File Offset: 0x00011878
30 {
31 get
32 {
34 }
35 }
36
37 // Token: 0x170000CD RID: 205
38 // (get) Token: 0x060004A2 RID: 1186 RVA: 0x00013690 File Offset: 0x00011890
40 {
41 get
42 {
44 if (!true)
45 {
46 }
47 if (!true)
48 {
49 }
52 return 1;
53 }
54 }
55
56 // Token: 0x170000CE RID: 206
57 // (get) Token: 0x060004A3 RID: 1187 RVA: 0x000136C4 File Offset: 0x000118C4
58 public int ProcessId
59 {
60 get
61 {
63 }
64 }
65
66 // Token: 0x170000CF RID: 207
67 // (get) Token: 0x060004A4 RID: 1188 RVA: 0x000136D8 File Offset: 0x000118D8
68 public string ThreadId
69 {
70 get
71 {
72 int managedThreadId = Thread.CurrentThread.ManagedThreadId;
74 string text;
75 return text;
76 }
77 }
78
79 // Token: 0x170000D0 RID: 208
80 // (get) Token: 0x060004A5 RID: 1189 RVA: 0x000136FC File Offset: 0x000118FC
81 public long Timestamp
82 {
83 get
84 {
85 /*
86An exception occurred when decompiling this method (060004A5)
87
88ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Diagnostics.TraceEventCache::get_Timestamp()
89
90 ---> System.Exception: Basic block has to end with unconditional control flow.
91{
92 Block_0:
93 stloc:int64(var_0_06, ldfld:int64(TraceEventCache::timeStamp, ldloc:TraceEventCache(this)))
94}
95
96 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
97 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
98 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
99 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
100 --- End of inner exception stack trace ---
101 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
102 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
103*/;
104 }
105 }
106
107 // Token: 0x060004A6 RID: 1190 RVA: 0x00013710 File Offset: 0x00011910
108 private static void InitProcessInfo()
109 {
110 }
111
112 // Token: 0x060004A7 RID: 1191 RVA: 0x00013764 File Offset: 0x00011964
113 internal static int GetProcessId()
114 {
115 /*
116An exception occurred when decompiling this method (060004A7)
117
118ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Diagnostics.TraceEventCache::GetProcessId()
119
120 ---> System.Exception: Basic block has to end with unconditional control flow.
121{
122 Block_0:
123 call:void(TraceEventCache::InitProcessInfo)
124}
125
126 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
127 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
128 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
129 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
130 --- End of inner exception stack trace ---
131 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
132 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
133*/;
134 }
135
136 // Token: 0x060004A8 RID: 1192 RVA: 0x00013778 File Offset: 0x00011978
137 internal static int GetThreadId()
138 {
140 }
141
142 // Token: 0x060004A9 RID: 1193 RVA: 0x00013794 File Offset: 0x00011994
144 {
145 if (!true)
146 {
147 }
148 this.dateTime = 1;
149 base..ctor();
150 }
151
152 // Token: 0x04000395 RID: 917
153 private static int processId;
154
155 // Token: 0x04000396 RID: 918
156 private static string processName;
157
158 // Token: 0x04000397 RID: 919
159 private long timeStamp = 1L;
160
161 // Token: 0x04000398 RID: 920
163
164 // Token: 0x04000399 RID: 921
165 private string stackTrace;
166 }
167}
class f__AnonymousType0<< Count > j__TPar
static CorrelationManager CorrelationManager
Definition Trace.cs:38
static string StackTrace
static CultureInfo InvariantCulture
static Thread CurrentThread
Definition Thread.cs:381
static DateTime UtcNow
Definition DateTime.cs:1318