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
PropertyTabAttribute.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200036D RID: 877
9 {
10 // Token: 0x060016DA RID: 5850 RVA: 0x00042594 File Offset: 0x00040794
12 {
13 if (!true)
14 {
15 }
17 if (!true)
18 {
19 }
21 }
22
23 // Token: 0x060016DB RID: 5851 RVA: 0x000425BC File Offset: 0x000407BC
27
28 // Token: 0x060016DC RID: 5852 RVA: 0x000425CC File Offset: 0x000407CC
30 {
31 }
32
33 // Token: 0x060016DD RID: 5853 RVA: 0x000425DC File Offset: 0x000407DC
35 {
36 if (tabClass == null || tabClass != null)
37 {
38 return;
39 }
41 }
42
43 // Token: 0x060016DE RID: 5854 RVA: 0x000425FC File Offset: 0x000407FC
45 {
46 if (tabClassName == null || tabClassName != null)
47 {
48 return;
49 }
51 }
52
53 // Token: 0x1700052F RID: 1327
54 // (get) Token: 0x060016DF RID: 5855 RVA: 0x0004261C File Offset: 0x0004081C
56 {
57 get
58 {
59 /*
60An exception occurred when decompiling this method (060016DF)
61
62ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Type[] System.ComponentModel.PropertyTabAttribute::get_TabClasses()
63
64 ---> System.Exception: Basic block has to end with unconditional control flow.
65{
66 IL_009B:
67 stloc:string(var_20_A7, call:string(SR::Format, ldstr:string("Couldn't find type {0}"), ldloc:Assembly[exp:object](var_15)))
68}
69
70 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
71 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
72 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
73 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
74 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
75 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
76 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
77 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
78 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
79 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
80 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
81 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
82 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
83 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
84 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
85 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
86 --- End of inner exception stack trace ---
87 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
88 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
89*/;
90 }
91 }
92
93 // Token: 0x17000530 RID: 1328
94 // (get) Token: 0x060016E0 RID: 5856 RVA: 0x000426D4 File Offset: 0x000408D4
95 protected string[] TabClassNames
96 {
97 get
98 {
99 object obj;
100 if (this._tabClassNames == null || obj == null || obj != null)
101 {
102 }
103 throw new InvalidCastException();
104 }
105 }
106
107 // Token: 0x17000531 RID: 1329
108 // (get) Token: 0x060016E1 RID: 5857 RVA: 0x000426F4 File Offset: 0x000408F4
109 // (set) Token: 0x060016E2 RID: 5858 RVA: 0x00042708 File Offset: 0x00040908
111 {
113 get
114 {
115 return this.<TabScopes>k__BackingField;
116 }
118 private set
119 {
121 }
122 }
123
124 // Token: 0x060016E3 RID: 5859 RVA: 0x0004271C File Offset: 0x0004091C
125 public override bool Equals(object other)
126 {
127 if (other != null)
128 {
129 }
130 bool flag;
131 return flag;
132 }
133
134 // Token: 0x060016E4 RID: 5860 RVA: 0x00042730 File Offset: 0x00040930
136 {
137 /*
138An exception occurred when decompiling this method (060016E4)
139
140ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ComponentModel.PropertyTabAttribute::Equals(System.ComponentModel.PropertyTabAttribute)
141
142 ---> System.Exception: Basic block has to end with unconditional control flow.
143{
144 IL_003E:
145 stloc:valuetype System.ComponentModel.PropertyTabScope[](var_10_44, ldfld:valuetype System.ComponentModel.PropertyTabScope[](PropertyTabAttribute::<TabScopes>k__BackingField, ldloc:PropertyTabAttribute(this)))
146 stloc:valuetype System.ComponentModel.PropertyTabScope[](var_11_4C, ldfld:valuetype System.ComponentModel.PropertyTabScope[](PropertyTabAttribute::<TabScopes>k__BackingField, ldloc:PropertyTabAttribute(other)))
147 stloc:class [mscorlib]System.Type[](var_12_54, callgetter:class [mscorlib]System.Type[](PropertyTabAttribute::get_TabClasses, ldloc:PropertyTabAttribute(this)))
148}
149
150 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
151 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
152 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
153 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
154 --- End of inner exception stack trace ---
155 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
156 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
157*/;
158 }
159
160 // Token: 0x060016E5 RID: 5861 RVA: 0x00042798 File Offset: 0x00040998
161 public override int GetHashCode()
162 {
163 return base.GetHashCode();
164 }
165
166 // Token: 0x060016E6 RID: 5862 RVA: 0x000427AC File Offset: 0x000409AC
168 {
169 }
170
171 // Token: 0x060016E7 RID: 5863 RVA: 0x000427BC File Offset: 0x000409BC
175
176 // Token: 0x060016E8 RID: 5864 RVA: 0x000427CC File Offset: 0x000409CC
178 {
179 object obj;
180 if (tabClasses != null)
181 {
182 if (tabScopes != null)
183 {
184 }
185 if (obj == null)
186 {
187 goto IL_0046;
188 }
189 if (obj != null)
190 {
192 if (obj == null)
193 {
194 return;
195 }
196 goto IL_0046;
197 }
198 }
199 else if (obj != null)
200 {
201 if (tabScopes != null)
202 {
203 }
204 object obj2;
205 if (obj2 == null)
206 {
207 goto IL_0046;
208 }
209 if (obj2 != null)
210 {
212 if (obj2 != null)
213 {
214 goto IL_0046;
215 }
216 }
217 }
218 else
219 {
220 if (this._tabClasses == null && this._tabClassNames == null)
221 {
222 return;
223 }
224 goto IL_0046;
225 }
226 throw new InvalidCastException();
227 IL_0046:
228 if (tabScopes == null)
229 {
230 return;
231 }
232 object obj3;
233 if (obj3 == null || obj3 != null)
234 {
235 return;
236 }
237 throw new InvalidCastException();
238 }
239
240 // Token: 0x04001208 RID: 4616
241 private Type[] _tabClasses;
242
243 // Token: 0x04001209 RID: 4617
244 private string[] _tabClassNames;
245
246 // Token: 0x0400120A RID: 4618
249 }
250}
class f__AnonymousType0<< Count > j__TPar
PropertyTabAttribute(string tabClassName, PropertyTabScope tabScope)
void InitializeArrays(string[] tabClassNames, PropertyTabScope[] tabScopes)
void InitializeArrays(Type[] tabClasses, PropertyTabScope[] tabScopes)
PropertyTabScope[]< TabScopes > k__BackingField
void InitializeArrays(string[] tabClassNames, Type[] tabClasses, PropertyTabScope[] tabScopes)
PropertyTabAttribute(Type tabClass, PropertyTabScope tabScope)