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
MaxValueAttribute.cs
Go to the documentation of this file.
1using System;
3
4namespace NaughtyAttributes
5{
6 // Token: 0x02000020 RID: 32
7 [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
9 {
10 // Token: 0x1700001C RID: 28
11 // (get) Token: 0x0600005B RID: 91 RVA: 0x00002864 File Offset: 0x00000A64
12 // (set) Token: 0x0600005C RID: 92 RVA: 0x00002878 File Offset: 0x00000A78
13 public float MaxValue
14 {
16 get
17 {
18 /*
19An exception occurred when decompiling this method (0600005B)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single NaughtyAttributes.MaxValueAttribute::get_MaxValue()
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 Block_0:
26 stloc:float32(var_0_06, ldfld:float32(MaxValueAttribute::<MaxValue>k__BackingField, ldloc:MaxValueAttribute(this)))
27}
28
29 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
30 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
31 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
32 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
33 --- End of inner exception stack trace ---
34 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
35 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
36*/;
37 }
39 private set
40 {
41 }
42 }
43
44 // Token: 0x0600005D RID: 93 RVA: 0x00002888 File Offset: 0x00000A88
45 public MaxValueAttribute(float maxValue)
46 {
47 }
48
49 // Token: 0x0600005E RID: 94 RVA: 0x0000289C File Offset: 0x00000A9C
50 public MaxValueAttribute(int maxValue)
51 {
52 }
53
54 // Token: 0x0400002E RID: 46
56 private float <MaxValue>k__BackingField;
57 }
58}
class f__AnonymousType0<< Count > j__TPar