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
MinValueAttribute.cs
Go to the documentation of this file.
1using System;
3
4namespace NaughtyAttributes
5{
6 // Token: 0x02000021 RID: 33
7 [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
9 {
10 // Token: 0x1700001D RID: 29
11 // (get) Token: 0x0600005F RID: 95 RVA: 0x000028B0 File Offset: 0x00000AB0
12 // (set) Token: 0x06000060 RID: 96 RVA: 0x000028C4 File Offset: 0x00000AC4
13 public float MinValue
14 {
16 get
17 {
18 /*
19An exception occurred when decompiling this method (0600005F)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single NaughtyAttributes.MinValueAttribute::get_MinValue()
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(MinValueAttribute::<MinValue>k__BackingField, ldloc:MinValueAttribute(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: 0x06000061 RID: 97 RVA: 0x000028D4 File Offset: 0x00000AD4
45 public MinValueAttribute(float minValue)
46 {
47 }
48
49 // Token: 0x06000062 RID: 98 RVA: 0x000028E8 File Offset: 0x00000AE8
50 public MinValueAttribute(int minValue)
51 {
52 }
53
54 // Token: 0x0400002F RID: 47
56 private float <MinValue>k__BackingField;
57 }
58}
class f__AnonymousType0<< Count > j__TPar