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
DisplayNameAttribute.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000338 RID: 824
10 {
11 // Token: 0x06001583 RID: 5507 RVA: 0x000403A0 File Offset: 0x0003E5A0
13 {
14 }
15
16 // Token: 0x06001584 RID: 5508 RVA: 0x000403B4 File Offset: 0x0003E5B4
17 public DisplayNameAttribute(string displayName)
18 {
19 this.DisplayNameValue = displayName;
20 }
21
22 // Token: 0x170004E7 RID: 1255
23 // (get) Token: 0x06001585 RID: 5509 RVA: 0x000403D0 File Offset: 0x0003E5D0
24 public virtual string DisplayName
25 {
26 get
27 {
29 }
30 }
31
32 // Token: 0x170004E8 RID: 1256
33 // (get) Token: 0x06001586 RID: 5510 RVA: 0x000403E4 File Offset: 0x0003E5E4
34 // (set) Token: 0x06001587 RID: 5511 RVA: 0x000403F8 File Offset: 0x0003E5F8
35 protected string DisplayNameValue
36 {
38 get
39 {
41 }
43 set
44 {
46 }
47 }
48
49 // Token: 0x06001588 RID: 5512 RVA: 0x0004040C File Offset: 0x0003E60C
50 public override bool Equals(object obj)
51 {
52 if (obj != null)
53 {
54 }
55 bool flag;
56 return flag;
57 }
58
59 // Token: 0x06001589 RID: 5513 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: 0x0600158A RID: 5514 RVA: 0x00040424 File Offset: 0x0003E624
66 public override bool IsDefaultAttribute()
67 {
68 /*
69An exception occurred when decompiling this method (0600158A)
70
71ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ComponentModel.DisplayNameAttribute::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: 0x0600158B RID: 5515 RVA: 0x00040434 File Offset: 0x0003E634
93 // Note: this type is marked as 'beforefieldinit'.
95 {
96 }
97
98 // Token: 0x04001198 RID: 4504
100
101 // Token: 0x04001199 RID: 4505
103 private string <DisplayNameValue>k__BackingField;
104 }
105}
class f__AnonymousType0<< Count > j__TPar
static readonly DisplayNameAttribute Default