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
ParameterInfo.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Reflection
7{
8 // Token: 0x020004E3 RID: 1251
10 [StructLayout(0)]
12 {
13 // Token: 0x06002407 RID: 9223 RVA: 0x00050C68 File Offset: 0x0004EE68
14 protected ParameterInfo()
15 {
16 }
17
18 // Token: 0x170004C4 RID: 1220
19 // (get) Token: 0x06002408 RID: 9224 RVA: 0x00050C7C File Offset: 0x0004EE7C
21 {
22 get
23 {
24 return this.AttrsImpl;
25 }
26 }
27
28 // Token: 0x170004C5 RID: 1221
29 // (get) Token: 0x06002409 RID: 9225 RVA: 0x00050C90 File Offset: 0x0004EE90
30 public virtual MemberInfo Member
31 {
32 get
33 {
34 return this.MemberImpl;
35 }
36 }
37
38 // Token: 0x170004C6 RID: 1222
39 // (get) Token: 0x0600240A RID: 9226 RVA: 0x00050CA4 File Offset: 0x0004EEA4
40 public virtual string Name
41 {
42 get
43 {
44 return this.NameImpl;
45 }
46 }
47
48 // Token: 0x170004C7 RID: 1223
49 // (get) Token: 0x0600240B RID: 9227 RVA: 0x00050CB8 File Offset: 0x0004EEB8
50 public virtual Type ParameterType
51 {
52 get
53 {
54 return this.ClassImpl;
55 }
56 }
57
58 // Token: 0x170004C8 RID: 1224
59 // (get) Token: 0x0600240C RID: 9228 RVA: 0x00050CCC File Offset: 0x0004EECC
60 public virtual int Position
61 {
62 get
63 {
64 return this.PositionImpl;
65 }
66 }
67
68 // Token: 0x170004C9 RID: 1225
69 // (get) Token: 0x0600240D RID: 9229 RVA: 0x0000207A File Offset: 0x0000027A
70 public bool IsIn
71 {
72 get
73 {
74 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
75 }
76 }
77
78 // Token: 0x170004CA RID: 1226
79 // (get) Token: 0x0600240E RID: 9230 RVA: 0x0000207A File Offset: 0x0000027A
80 public bool IsOptional
81 {
82 get
83 {
84 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
85 }
86 }
87
88 // Token: 0x170004CB RID: 1227
89 // (get) Token: 0x0600240F RID: 9231 RVA: 0x0000207A File Offset: 0x0000027A
90 public bool IsOut
91 {
92 get
93 {
94 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
95 }
96 }
97
98 // Token: 0x170004CC RID: 1228
99 // (get) Token: 0x06002410 RID: 9232 RVA: 0x00050CE0 File Offset: 0x0004EEE0
100 public virtual object DefaultValue
101 {
102 get
103 {
104 /*
105An exception occurred when decompiling this method (06002410)
106
107ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Reflection.ParameterInfo::get_DefaultValue()
108
109 ---> System.Exception: Basic block has to end with unconditional control flow.
110{
111 Block_0:
112 stloc:Exception(var_1_07, callgetter:Exception(NotImplemented::get_ByDesign))
113}
114
115 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
116 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
117 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
118 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
119 --- End of inner exception stack trace ---
120 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
121 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
122*/;
123 }
124 }
125
126 // Token: 0x06002411 RID: 9233 RVA: 0x00050CF4 File Offset: 0x0004EEF4
127 public virtual bool IsDefined(Type attributeType, bool inherit)
128 {
129 if (!true)
130 {
131 return;
132 }
133 }
134
135 // Token: 0x06002412 RID: 9234 RVA: 0x00050D08 File Offset: 0x0004EF08
136 public virtual object[] GetCustomAttributes(bool inherit)
137 {
138 if (!true)
139 {
140 }
141 return 1;
142 }
143
144 // Token: 0x06002413 RID: 9235 RVA: 0x00050D1C File Offset: 0x0004EF1C
145 public virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
146 {
147 /*
148An exception occurred when decompiling this method (06002413)
149
150ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object[] System.Reflection.ParameterInfo::GetCustomAttributes(System.Type,System.Boolean)
151
152 ---> System.Exception: Basic block has to end with unconditional control flow.
153{
154 IL_0000:
155 brtrue(IL_0000, ldc.i4:bool(1))
156}
157
158 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
159 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
160 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
161 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
162 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
163 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
164 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
165 --- End of inner exception stack trace ---
166 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
167 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
168*/;
169 }
170
171 // Token: 0x06002414 RID: 9236 RVA: 0x00050D2C File Offset: 0x0004EF2C
172 public object GetRealObject(StreamingContext context)
173 {
176 int positionImpl = this.PositionImpl;
177 if (this.MemberImpl != null && this.MemberImpl != null)
178 {
181 }
182 return "Non existent ParameterInfo. Position bigger than member's parameters length.";
183 }
184
185 // Token: 0x06002415 RID: 9237 RVA: 0x00050D80 File Offset: 0x0004EF80
186 public override string ToString()
187 {
188 string text;
189 return text;
190 }
191
192 // Token: 0x040013F8 RID: 5112
194
195 // Token: 0x040013F9 RID: 5113
196 protected Type ClassImpl;
197
198 // Token: 0x040013FA RID: 5114
199 protected object DefaultValueImpl;
200
201 // Token: 0x040013FB RID: 5115
203
204 // Token: 0x040013FC RID: 5116
205 protected string NameImpl;
206
207 // Token: 0x040013FD RID: 5117
208 protected int PositionImpl;
209
210 // Token: 0x040013FE RID: 5118
211 private const int MetadataToken_ParamDef = 134217728;
212 }
213}
class f__AnonymousType0<< Count > j__TPar
virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
virtual ParameterAttributes Attributes
virtual bool IsDefined(Type attributeType, bool inherit)
virtual object[] GetCustomAttributes(bool inherit)
object GetRealObject(StreamingContext context)