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
ArgumentHelper.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200050B RID: 1291
8 public static class ArgumentHelper
9 {
10 // Token: 0x06003137 RID: 12599 RVA: 0x000021DB File Offset: 0x000003DB
11 public static ArgumentListResult ParseList(string arguments)
12 {
13 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x0200050C RID: 1292
18 [Serializable]
19 private sealed class <>c
20 {
21 // Token: 0x06003138 RID: 12600 RVA: 0x001F7BF4 File Offset: 0x001F5DF4
22 // Note: this type is marked as 'beforefieldinit'.
23 static <>c()
24 {
25 }
26
27 // Token: 0x06003139 RID: 12601 RVA: 0x001F7C04 File Offset: 0x001F5E04
28 public <>c()
29 {
30 }
31
32 // Token: 0x0600313A RID: 12602 RVA: 0x001F7C18 File Offset: 0x001F5E18
33 internal string <ParseList>b__0_0(string arg)
34 {
35 return arg.Trim();
36 }
37
38 // Token: 0x0600313B RID: 12603 RVA: 0x001F7C2C File Offset: 0x001F5E2C
39 internal bool <ParseList>b__0_1(string arg)
40 {
41 /*
42An exception occurred when decompiling this method (0600313B)
43
44ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Testing.ChatCommands.ArgumentHelper/<>c::<ParseList>b__0_1(System.String)
45
46 ---> System.Exception: Basic block has to end with unconditional control flow.
47{
48 Block_0:
49 stloc:int32(var_0_06, ldfld:int32(string::_stringLength, ldloc:string(arg)))
50}
51
52 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
53 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
54 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
55 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
56 --- End of inner exception stack trace ---
57 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
58 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
59*/;
60 }
61
62 // Token: 0x04003AFD RID: 15101
63 public static readonly ArgumentHelper.<>c <>9;
64
65 // Token: 0x04003AFE RID: 15102
66 public static Func<string, string> <>9__0_0;
67
68 // Token: 0x04003AFF RID: 15103
69 public static Func<string, bool> <>9__0_1;
70 }
71 }
72}
class f__AnonymousType0<< Count > j__TPar
static ArgumentListResult ParseList(string arguments)