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
FlavorTextBestiaryInfoElement.cs
Go to the documentation of this file.
1using System;
4using Terraria.UI;
5
7{
8 // Token: 0x02000962 RID: 2402
10 {
11 // Token: 0x0600480D RID: 18445 RVA: 0x0025FB3C File Offset: 0x0025DD3C
16
17 // Token: 0x0600480E RID: 18446 RVA: 0x0025FB58 File Offset: 0x0025DD58
19 {
20 /*
21An exception occurred when decompiling this method (0600480E)
22
23ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.UI.UIElement Terraria.GameContent.Bestiary.FlavorTextBestiaryInfoElement::ProvideUIElement(Terraria.GameContent.Bestiary.BestiaryUICollectionInfo)
24
25 ---> System.Exception: Basic block has to end with unconditional control flow.
26{
27 IL_0015:
28 stloc:LocalizedText(var_4_20, call:LocalizedText(Language::GetText, ldfld:string(FlavorTextBestiaryInfoElement::_key, ldloc:FlavorTextBestiaryInfoElement(this))))
29}
30
31 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
32 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
33 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
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 88
35 --- End of inner exception stack trace ---
36 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
37 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
38*/;
39 }
40
41 // Token: 0x0600480F RID: 18447 RVA: 0x0025FB90 File Offset: 0x0025DD90
42 private static void AddDynamicResize(UIElement container, UIText text)
43 {
44 }
45
46 // Token: 0x040083A2 RID: 33698
47 public string _key;
48
49 // Token: 0x02000963 RID: 2403
51 private sealed class <>c__DisplayClass3_0
52 {
53 // Token: 0x06004810 RID: 18448 RVA: 0x0025FBA0 File Offset: 0x0025DDA0
55 {
56 }
57
58 // Token: 0x06004811 RID: 18449 RVA: 0x0025FBB4 File Offset: 0x0025DDB4
60 {
61 UIElement uielement = this.container;
62 float pixels = this.text.MinHeight.Pixels;
63 }
64
65 // Token: 0x040083A3 RID: 33699
66 public UIElement container;
67
68 // Token: 0x040083A4 RID: 33700
69 public UIText text;
70 }
71 }
72}
class f__AnonymousType0<< Count > j__TPar
StyleDimension MinHeight