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
DefaultValueAttribute.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200032B RID: 811
10 {
11 // Token: 0x06001519 RID: 5401 RVA: 0x0003F8A0 File Offset: 0x0003DAA0
12 public DefaultValueAttribute(Type type, string value)
13 {
14 int num = 1;
15 base..ctor();
17 this._value = num;
18 }
19
20 // Token: 0x0600151A RID: 5402 RVA: 0x0003F90C File Offset: 0x0003DB0C
22 {
23 }
24
25 // Token: 0x0600151B RID: 5403 RVA: 0x0003F920 File Offset: 0x0003DB20
27 {
28 }
29
30 // Token: 0x0600151C RID: 5404 RVA: 0x0003F934 File Offset: 0x0003DB34
32 {
33 }
34
35 // Token: 0x0600151D RID: 5405 RVA: 0x0003F948 File Offset: 0x0003DB48
37 {
38 }
39
40 // Token: 0x0600151E RID: 5406 RVA: 0x0003F95C File Offset: 0x0003DB5C
42 {
43 }
44
45 // Token: 0x0600151F RID: 5407 RVA: 0x0003F970 File Offset: 0x0003DB70
47 {
48 }
49
50 // Token: 0x06001520 RID: 5408 RVA: 0x0003F984 File Offset: 0x0003DB84
52 {
53 }
54
55 // Token: 0x06001521 RID: 5409 RVA: 0x0003F998 File Offset: 0x0003DB98
57 {
58 }
59
60 // Token: 0x06001522 RID: 5410 RVA: 0x0003F9AC File Offset: 0x0003DBAC
62 {
64 }
65
66 // Token: 0x06001523 RID: 5411 RVA: 0x0003F9C8 File Offset: 0x0003DBC8
68 {
70 }
71
72 // Token: 0x06001524 RID: 5412 RVA: 0x0003F9E4 File Offset: 0x0003DBE4
73 [CLSCompliant(false)]
75 {
76 }
77
78 // Token: 0x06001525 RID: 5413 RVA: 0x0003F9F8 File Offset: 0x0003DBF8
79 [CLSCompliant(false)]
81 {
82 }
83
84 // Token: 0x06001526 RID: 5414 RVA: 0x0003FA0C File Offset: 0x0003DC0C
85 [CLSCompliant(false)]
87 {
88 }
89
90 // Token: 0x06001527 RID: 5415 RVA: 0x0003FA20 File Offset: 0x0003DC20
91 [CLSCompliant(false)]
95
96 // Token: 0x170004D5 RID: 1237
97 // (get) Token: 0x06001528 RID: 5416 RVA: 0x0003FA34 File Offset: 0x0003DC34
98 public virtual object Value
99 {
100 get
101 {
102 return this._value;
103 }
104 }
105
106 // Token: 0x06001529 RID: 5417 RVA: 0x0003FA48 File Offset: 0x0003DC48
107 public override bool Equals(object obj)
108 {
109 /*
110An exception occurred when decompiling this method (06001529)
111
112ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ComponentModel.DefaultValueAttribute::Equals(System.Object)
113
114 ---> System.Exception: Basic block has to end with unconditional control flow.
115{
116 IL_0003:
117 brtrue(IL_0000, logicnot:bool(ldloc:DefaultValueAttribute[exp:bool](this)))
118}
119
120 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
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 1878
122 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
123 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
124 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
125 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
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 88
127 --- End of inner exception stack trace ---
128 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
129 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
130*/;
131 }
132
133 // Token: 0x0600152A RID: 5418 RVA: 0x0003FA60 File Offset: 0x0003DC60
134 public override int GetHashCode()
135 {
136 return base.GetHashCode();
137 }
138
139 // Token: 0x0600152B RID: 5419 RVA: 0x0003FA74 File Offset: 0x0003DC74
140 protected void SetValue(object value)
141 {
143 }
144
145 // Token: 0x0600152C RID: 5420 RVA: 0x0003FA88 File Offset: 0x0003DC88
147 internal static bool <.ctor>g__TryConvertFromInvariantString|2_0(Type typeToConvert, string stringValue, [Out] object conversionResult)
148 {
149 return true;
150 }
151
152 // Token: 0x0400116C RID: 4460
153 private object _value;
154
155 // Token: 0x0400116D RID: 4461
156 private static object s_convertFromInvariantString;
157 }
158}
class f__AnonymousType0<< Count > j__TPar
static bool<.ctor > g__TryConvertFromInvariantString(Type typeToConvert, string stringValue, [Out] object conversionResult)