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
ProxyScriptChain.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x020001F8 RID: 504
7 internal class ProxyScriptChain : ProxyChain
8 {
9 // Token: 0x06000C6D RID: 3181 RVA: 0x00027AC0 File Offset: 0x00025CC0
10 internal ProxyScriptChain(WebProxy proxy, global::System.Uri destination)
12 {
13 this.m_Proxy = proxy;
14 }
15
16 // Token: 0x06000C6E RID: 3182 RVA: 0x00027ADC File Offset: 0x00025CDC
17 protected override bool GetNextProxy([Out] global::System.Uri proxy)
18 {
19 /*
20An exception occurred when decompiling this method (06000C6E)
21
22ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.ProxyScriptChain::GetNextProxy(System.Uri)
23
24 ---> System.Exception: Basic block has to end with unconditional control flow.
25{
26 IL_003F:
27 stloc:WebProxy(var_6_45, ldfld:WebProxy(ProxyScriptChain::m_Proxy, ldloc:ProxyScriptChain(this)))
28 stloc:Uri(var_7_4D, ldfld:Uri(ProxyChain::m_Destination, ldloc:ProxyScriptChain[exp:ProxyChain](this)))
29 stloc:Uri(var_8_58, call:Uri(WebProxy::GetProxyAutoFailover, ldloc:WebProxy(var_6_45), ldloc:Uri(var_7_4D)))
30 stfld:int32(ProxyScriptChain::m_CurrentIndex, ldloc:ProxyScriptChain(this), ldloc:int32(var_0_06))
31}
32
33 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
34 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
35 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
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 88
37 --- End of inner exception stack trace ---
38 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
39 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
40*/;
41 }
42
43 // Token: 0x06000C6F RID: 3183 RVA: 0x00027B4C File Offset: 0x00025D4C
44 internal override void Abort()
45 {
46 if (this.m_Proxy.m_ScriptEngine != null)
47 {
48 return;
49 }
50 }
51
52 // Token: 0x04000AAA RID: 2730
54
55 // Token: 0x04000AAB RID: 2731
56 private global::System.Uri[] m_ScriptProxies;
57
58 // Token: 0x04000AAC RID: 2732
59 private int m_CurrentIndex;
60
61 // Token: 0x04000AAD RID: 2733
62 private int m_SyncStatus;
63 }
64}
class f__AnonymousType0<< Count > j__TPar
override bool GetNextProxy([Out] global::System.Uri proxy)
global::System.Uri[] m_ScriptProxies
ProxyScriptChain(WebProxy proxy, global::System.Uri destination)
AutoWebProxyScriptEngine m_ScriptEngine
Definition WebProxy.cs:635