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
ProgressBarAttribute.cs
Go to the documentation of this file.
1using System;
3
4namespace NaughtyAttributes
5{
6 // Token: 0x0200000F RID: 15
7 [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
9 {
10 // Token: 0x1700000C RID: 12
11 // (get) Token: 0x0600002A RID: 42 RVA: 0x00002420 File Offset: 0x00000620
12 // (set) Token: 0x0600002B RID: 43 RVA: 0x00002434 File Offset: 0x00000634
13 public string Name
14 {
16 get
17 {
18 return this.<Name>k__BackingField;
19 }
21 private set
22 {
24 }
25 }
26
27 // Token: 0x1700000D RID: 13
28 // (get) Token: 0x0600002C RID: 44 RVA: 0x00002448 File Offset: 0x00000648
29 // (set) Token: 0x0600002D RID: 45 RVA: 0x0000245C File Offset: 0x0000065C
30 public float MaxValue
31 {
33 get
34 {
35 /*
36An exception occurred when decompiling this method (0600002C)
37
38ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single NaughtyAttributes.ProgressBarAttribute::get_MaxValue()
39
40 ---> System.Exception: Basic block has to end with unconditional control flow.
41{
42 Block_0:
43 stloc:float32(var_0_06, ldfld:float32(ProgressBarAttribute::<MaxValue>k__BackingField, ldloc:ProgressBarAttribute(this)))
44}
45
46 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
47 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
48 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
49 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
50 --- End of inner exception stack trace ---
51 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
52 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
53*/;
54 }
56 private set
57 {
58 }
59 }
60
61 // Token: 0x1700000E RID: 14
62 // (get) Token: 0x0600002E RID: 46 RVA: 0x0000246C File Offset: 0x0000066C
63 // (set) Token: 0x0600002F RID: 47 RVA: 0x00002480 File Offset: 0x00000680
65 {
67 get
68 {
69 return this.<Color>k__BackingField;
70 }
72 private set
73 {
75 }
76 }
77
78 // Token: 0x06000030 RID: 48 RVA: 0x00002494 File Offset: 0x00000694
79 public ProgressBarAttribute(string name = "", float maxValue = 100f, ProgressBarColor color = ProgressBarColor.Blue)
80 {
82 this.Color = color;
83 }
84
85 // Token: 0x04000010 RID: 16
87 private string <Name>k__BackingField;
88
89 // Token: 0x04000011 RID: 17
91 private float <MaxValue>k__BackingField;
92
93 // Token: 0x04000012 RID: 18
95 private ProgressBarColor <Color>k__BackingField;
96 }
97}
class f__AnonymousType0<< Count > j__TPar
ProgressBarAttribute(string name="", float maxValue=100f, ProgressBarColor color=ProgressBarColor.Blue)