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
DescriptionAttribute.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000333 RID: 819
10 {
11 // Token: 0x06001566 RID: 5478 RVA: 0x00040140 File Offset: 0x0003E340
13 {
14 }
15
16 // Token: 0x06001567 RID: 5479 RVA: 0x00040154 File Offset: 0x0003E354
17 public DescriptionAttribute(string description)
18 {
19 this.DescriptionValue = description;
20 }
21
22 // Token: 0x170004E1 RID: 1249
23 // (get) Token: 0x06001568 RID: 5480 RVA: 0x00040170 File Offset: 0x0003E370
24 public virtual string Description
25 {
26 get
27 {
29 }
30 }
31
32 // Token: 0x170004E2 RID: 1250
33 // (get) Token: 0x06001569 RID: 5481 RVA: 0x00040184 File Offset: 0x0003E384
34 // (set) Token: 0x0600156A RID: 5482 RVA: 0x00040198 File Offset: 0x0003E398
35 protected string DescriptionValue
36 {
38 get
39 {
41 }
43 set
44 {
46 }
47 }
48
49 // Token: 0x0600156B RID: 5483 RVA: 0x000401AC File Offset: 0x0003E3AC
50 public override bool Equals(object obj)
51 {
52 if (obj != null)
53 {
54 }
55 bool flag;
56 return flag;
57 }
58
59 // Token: 0x0600156C RID: 5484 RVA: 0x00002050 File Offset: 0x00000250
60 public override int GetHashCode()
61 {
62 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
63 }
64
65 // Token: 0x0600156D RID: 5485 RVA: 0x000401C4 File Offset: 0x0003E3C4
66 public override bool IsDefaultAttribute()
67 {
68 /*
69An exception occurred when decompiling this method (0600156D)
70
71ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ComponentModel.DescriptionAttribute::IsDefaultAttribute()
72
73 ---> System.Exception: Basic block has to end with unconditional control flow.
74{
75 IL_0000:
76 brtrue(IL_0000, ldc.i4:bool(1))
77}
78
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 1852
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 // Token: 0x0600156E RID: 5486 RVA: 0x000401D4 File Offset: 0x0003E3D4
93 // Note: this type is marked as 'beforefieldinit'.
95 {
96 }
97
98 // Token: 0x04001184 RID: 4484
100
101 // Token: 0x04001185 RID: 4485
103 private string <DescriptionValue>k__BackingField;
104 }
105}
class f__AnonymousType0<< Count > j__TPar
static readonly DescriptionAttribute Default