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
HeaderParser.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x020001EA RID: 490
7 internal sealed class HeaderParser : MulticastDelegate
8 {
9 // Token: 0x06000C08 RID: 3080 RVA: 0x00027084 File Offset: 0x00025284
10 public HeaderParser(object @object, IntPtr method)
11 {
13 this.m_target = @object;
15 this.method_code = this;
16 }
17
18 // Token: 0x06000C09 RID: 3081 RVA: 0x000270D8 File Offset: 0x000252D8
19 public string[] Invoke(string value)
20 {
21 /*
22An exception occurred when decompiling this method (06000C09)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String[] System.Net.HeaderParser::Invoke(System.String)
25
26 ---> System.Exception: Basic block has to end with unconditional control flow.
27{
28 Block_0:
29 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:HeaderParser[exp:Delegate](this)))
30 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:HeaderParser[exp:Delegate](this)))
31 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:HeaderParser[exp:Delegate](this)))
32}
33
34 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
35 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
36 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
37 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
38 --- End of inner exception stack trace ---
39 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
40 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
41*/;
42 }
43
44 // Token: 0x06000C0A RID: 3082 RVA: 0x00002050 File Offset: 0x00000250
45 public IAsyncResult BeginInvoke(string value, AsyncCallback callback, object @object)
46 {
47 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
48 }
49
50 // Token: 0x06000C0B RID: 3083 RVA: 0x00002050 File Offset: 0x00000250
51 public string[] EndInvoke(IAsyncResult result)
52 {
53 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
54 }
55 }
56}
class f__AnonymousType0<< Count > j__TPar
string[] EndInvoke(IAsyncResult result)
string[] Invoke(string value)
IAsyncResult BeginInvoke(string value, AsyncCallback callback, object @object)
HeaderParser(object @object, IntPtr method)