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
RuntimeModule.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Reflection
7{
8 // Token: 0x02000510 RID: 1296
10 [ComVisible(true)]
13 [StructLayout(0)]
14 internal class RuntimeModule : Module
15 {
16 // Token: 0x1700055D RID: 1373
17 // (get) Token: 0x06002626 RID: 9766 RVA: 0x000537B4 File Offset: 0x000519B4
18 public override Assembly Assembly
19 {
20 get
21 {
22 return this.assembly;
23 }
24 }
25
26 // Token: 0x1700055E RID: 1374
27 // (get) Token: 0x06002627 RID: 9767 RVA: 0x000537C8 File Offset: 0x000519C8
28 public override string ScopeName
29 {
30 get
31 {
32 return this.scopename;
33 }
34 }
35
36 // Token: 0x1700055F RID: 1375
37 // (get) Token: 0x06002628 RID: 9768 RVA: 0x0000207A File Offset: 0x0000027A
38 public override Guid ModuleVersionId
39 {
40 get
41 {
42 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
43 }
44 }
45
46 // Token: 0x17000560 RID: 1376
47 // (get) Token: 0x06002629 RID: 9769 RVA: 0x000537DC File Offset: 0x000519DC
48 public override string FullyQualifiedName
49 {
50 get
51 {
52 return this.fqname;
53 }
54 }
55
56 // Token: 0x0600262A RID: 9770 RVA: 0x000537F0 File Offset: 0x000519F0
57 public override bool IsResource()
58 {
59 return this.is_resource;
60 }
61
62 // Token: 0x0600262B RID: 9771 RVA: 0x00053804 File Offset: 0x00051A04
63 public override object[] GetCustomAttributes(bool inherit)
64 {
65 if (!true)
66 {
67 }
69 }
70
71 // Token: 0x0600262C RID: 9772 RVA: 0x0005381C File Offset: 0x00051A1C
72 public override object[] GetCustomAttributes(Type attributeType, bool inherit)
73 {
74 if (!true)
75 {
76 }
78 }
79
80 // Token: 0x0600262D RID: 9773 RVA: 0x00053834 File Offset: 0x00051A34
81 public override bool IsDefined(Type attributeType, bool inherit)
82 {
83 if (!true)
84 {
85 }
87 }
88
89 // Token: 0x0600262E RID: 9774 RVA: 0x0005384C File Offset: 0x00051A4C
91 {
92 while (info == null)
93 {
94 }
96 }
97
98 // Token: 0x0600262F RID: 9775 RVA: 0x00053864 File Offset: 0x00051A64
100 {
101 if (this.assembly != null)
102 {
103 }
104 throw new InvalidCastException();
105 }
106
107 // Token: 0x06002630 RID: 9776 RVA: 0x00053880 File Offset: 0x00051A80
108 internal override Guid GetModuleVersionId()
109 {
110 /*
111An exception occurred when decompiling this method (06002630)
112
113ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Guid System.Reflection.RuntimeModule::GetModuleVersionId()
114
115 ---> System.Exception: Basic block has to end with unconditional control flow.
116{
117 Block_0:
118 stloc:native int(var_0_06, ldfld:native int(RuntimeModule::_impl, ldloc:RuntimeModule(this)))
119}
120
121 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
122 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
123 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
124 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
125 --- End of inner exception stack trace ---
126 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
127 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
128*/;
129 }
130
131 // Token: 0x06002631 RID: 9777 RVA: 0x00053894 File Offset: 0x00051A94
132 private static void GetGuidInternal(IntPtr module, byte[] guid)
133 {
134 }
135
136 // Token: 0x06002632 RID: 9778 RVA: 0x000538A4 File Offset: 0x00051AA4
138 {
139 if (!true)
140 {
141 }
142 base..ctor();
143 }
144
145 // Token: 0x040014F8 RID: 5368
146 internal IntPtr _impl;
147
148 // Token: 0x040014F9 RID: 5369
150
151 // Token: 0x040014FA RID: 5370
152 internal string fqname;
153
154 // Token: 0x040014FB RID: 5371
155 internal string name;
156
157 // Token: 0x040014FC RID: 5372
158 internal string scopename;
159
160 // Token: 0x040014FD RID: 5373
161 internal bool is_resource;
162
163 // Token: 0x040014FE RID: 5374
164 internal int token;
165 }
166}
class f__AnonymousType0<< Count > j__TPar
static bool IsDefined(ICustomAttributeProvider obj, Type attributeType, bool inherit)
static object[] GetCustomAttributes(ICustomAttributeProvider obj, Type attributeType, bool inherit)
override object[] GetCustomAttributes(bool inherit)
RuntimeAssembly GetRuntimeAssembly()
override void GetObjectData(SerializationInfo info, StreamingContext context)
static void GetGuidInternal(IntPtr module, byte[] guid)
override bool IsDefined(Type attributeType, bool inherit)
override object[] GetCustomAttributes(Type attributeType, bool inherit)