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
PropertyInfo.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Reflection
7{
8 // Token: 0x020004E8 RID: 1256
10 public abstract class PropertyInfo : MemberInfo
11 {
12 // Token: 0x06002419 RID: 9241 RVA: 0x00050DCC File Offset: 0x0004EFCC
13 protected PropertyInfo()
14 {
15 }
16
17 // Token: 0x170004CD RID: 1229
18 // (get) Token: 0x0600241A RID: 9242 RVA: 0x00050DE0 File Offset: 0x0004EFE0
19 public override MemberTypes MemberType
20 {
21 get
22 {
23 return MemberTypes.Property;
24 }
25 }
26
27 // Token: 0x170004CE RID: 1230
28 // (get) Token: 0x0600241B RID: 9243
29 public abstract Type PropertyType { get; }
30
31 // Token: 0x0600241C RID: 9244
32 public abstract ParameterInfo[] GetIndexParameters();
33
34 // Token: 0x170004CF RID: 1231
35 // (get) Token: 0x0600241D RID: 9245
36 public abstract bool CanRead { get; }
37
38 // Token: 0x170004D0 RID: 1232
39 // (get) Token: 0x0600241E RID: 9246
40 public abstract bool CanWrite { get; }
41
42 // Token: 0x0600241F RID: 9247 RVA: 0x0000207A File Offset: 0x0000027A
44 {
45 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
46 }
47
48 // Token: 0x06002420 RID: 9248
49 public abstract MethodInfo GetGetMethod(bool nonPublic);
50
51 // Token: 0x06002421 RID: 9249 RVA: 0x0000207A File Offset: 0x0000027A
53 {
54 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
55 }
56
57 // Token: 0x06002422 RID: 9250
58 public abstract MethodInfo GetSetMethod(bool nonPublic);
59
60 // Token: 0x06002423 RID: 9251 RVA: 0x0000207A File Offset: 0x0000027A
63 public object GetValue(object obj)
64 {
65 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
66 }
67
68 // Token: 0x06002424 RID: 9252 RVA: 0x0000207A File Offset: 0x0000027A
71 public virtual object GetValue(object obj, object[] index)
72 {
73 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
74 }
75
76 // Token: 0x06002425 RID: 9253
77 public abstract object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
78
79 // Token: 0x06002426 RID: 9254 RVA: 0x00050DF0 File Offset: 0x0004EFF0
82 public virtual void SetValue(object obj, object value, object[] index)
83 {
84 }
85
86 // Token: 0x06002427 RID: 9255
87 public abstract void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
88
89 // Token: 0x06002428 RID: 9256 RVA: 0x00050E00 File Offset: 0x0004F000
90 public override bool Equals(object obj)
91 {
92 return base.Equals(obj);
93 }
94
95 // Token: 0x06002429 RID: 9257 RVA: 0x00050E14 File Offset: 0x0004F014
96 public override int GetHashCode()
97 {
98 return base.GetHashCode();
99 }
100
101 // Token: 0x0600242A RID: 9258 RVA: 0x00050E28 File Offset: 0x0004F028
102 public static bool operator ==(PropertyInfo left, PropertyInfo right)
103 {
104 if (left != null)
105 {
106 }
107 return true;
108 }
109
110 // Token: 0x0600242B RID: 9259 RVA: 0x00050E3C File Offset: 0x0004F03C
111 public static bool operator !=(PropertyInfo left, PropertyInfo right)
112 {
113 /*
114An exception occurred when decompiling this method (0600242B)
115
116ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Reflection.PropertyInfo::op_Inequality(System.Reflection.PropertyInfo,System.Reflection.PropertyInfo)
117
118 ---> System.Exception: Basic block has to end with unconditional control flow.
119{
120 IL_0000:
121 brtrue(IL_0000, logicnot:bool(ldloc:PropertyInfo[exp:bool](left)))
122}
123
124 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
125 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
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 1878
127 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
128 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
129 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
130 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
131 --- End of inner exception stack trace ---
132 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
133 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
134*/;
135 }
136 }
137}
class f__AnonymousType0<< Count > j__TPar
object GetValue(object obj)
virtual void SetValue(object obj, object value, object[] index)
override MemberTypes MemberType
static bool operator!=(PropertyInfo left, PropertyInfo right)
object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
override bool Equals(object obj)
virtual object GetValue(object obj, object[] index)
MethodInfo GetGetMethod(bool nonPublic)
static bool operator==(PropertyInfo left, PropertyInfo right)
MethodInfo GetSetMethod(bool nonPublic)
void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
ParameterInfo[] GetIndexParameters()