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
LocalizableAttribute.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000342 RID: 834
8 public sealed class LocalizableAttribute : Attribute
9 {
10 // Token: 0x060015B2 RID: 5554 RVA: 0x00040708 File Offset: 0x0003E908
12 {
13 }
14
15 // Token: 0x170004F2 RID: 1266
16 // (get) Token: 0x060015B3 RID: 5555 RVA: 0x0004071C File Offset: 0x0003E91C
17 public bool IsLocalizable
18 {
20 get
21 {
22 return this.<IsLocalizable>k__BackingField;
23 }
24 }
25
26 // Token: 0x060015B4 RID: 5556 RVA: 0x00040730 File Offset: 0x0003E930
27 public override bool Equals(object obj)
28 {
29 if (obj != null)
30 {
31 }
32 return true;
33 }
34
35 // Token: 0x060015B5 RID: 5557 RVA: 0x0004074C File Offset: 0x0003E94C
36 public override int GetHashCode()
37 {
38 return base.GetHashCode();
39 }
40
41 // Token: 0x060015B6 RID: 5558 RVA: 0x00040760 File Offset: 0x0003E960
42 public override bool IsDefaultAttribute()
43 {
44 /*
45An exception occurred when decompiling this method (060015B6)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ComponentModel.LocalizableAttribute::IsDefaultAttribute()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 IL_0000:
52 stloc:bool(var_0_06, ldfld:bool(LocalizableAttribute::<IsLocalizable>k__BackingField, ldloc:LocalizableAttribute(this)))
53 brtrue(IL_0000, ldc.i4:bool(1))
54}
55
56 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
57 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
58 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
59 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
60 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
61 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
62 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
63 --- End of inner exception stack trace ---
64 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
65 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
66*/;
67 }
68
69 // Token: 0x060015B7 RID: 5559 RVA: 0x00040778 File Offset: 0x0003E978
70 // Note: this type is marked as 'beforefieldinit'.
72 {
73 }
74
75 // Token: 0x040011A4 RID: 4516
77 private readonly bool <IsLocalizable>k__BackingField;
78
79 // Token: 0x040011A5 RID: 4517
81
82 // Token: 0x040011A6 RID: 4518
84
85 // Token: 0x040011A7 RID: 4519
87 }
88}
class f__AnonymousType0<< Count > j__TPar
static readonly LocalizableAttribute Yes
static readonly LocalizableAttribute No
readonly bool< IsLocalizable > k__BackingField
static readonly LocalizableAttribute Default