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
ProxyChain.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Net
8{
9 // Token: 0x020001F6 RID: 502
10 internal abstract class ProxyChain : IEnumerable<global::System.Uri>, IEnumerable, IDisposable
11 {
12 // Token: 0x06000C5D RID: 3165 RVA: 0x00027984 File Offset: 0x00025B84
13 protected ProxyChain(global::System.Uri destination)
14 {
16 }
17
18 // Token: 0x06000C5E RID: 3166 RVA: 0x000279A0 File Offset: 0x00025BA0
19 public IEnumerator<global::System.Uri> GetEnumerator()
20 {
21 /*
22An exception occurred when decompiling this method (06000C5E)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<System.Uri> System.Net.ProxyChain::GetEnumerator()
25
26 ---> System.Exception: Basic block has to end with unconditional control flow.
27{
28 IL_0000:
29 brtrue(IL_0000, ldfld:ProxyEnumerator[exp:bool](ProxyChain::m_MainEnumerator, ldloc:ProxyChain(this)))
30}
31
32 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
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 1878
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 1878
35 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
36 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
37 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
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 88
39 --- End of inner exception stack trace ---
40 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
41 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
42*/;
43 }
44
45 // Token: 0x06000C5F RID: 3167 RVA: 0x000279B4 File Offset: 0x00025BB4
47 {
48 /*
49An exception occurred when decompiling this method (06000C5F)
50
51ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator System.Net.ProxyChain::System.Collections.IEnumerable.GetEnumerator()
52
53 ---> System.Exception: Basic block has to end with unconditional control flow.
54{
55 Block_0:
56 stloc:class [mscorlib]System.Collections.Generic.IEnumerator`1<class System.Uri>(var_0_06, call:IEnumerator`1[exp:class [mscorlib]System.Collections.Generic.IEnumerator`1<class System.Uri>](ProxyChain::GetEnumerator, ldloc:ProxyChain(this)))
57}
58
59 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
60 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
61 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
62 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
63 --- End of inner exception stack trace ---
64 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
65 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
66*/;
67 }
68
69 // Token: 0x06000C60 RID: 3168 RVA: 0x000279C8 File Offset: 0x00025BC8
70 public virtual void Dispose()
71 {
72 }
73
74 // Token: 0x17000286 RID: 646
75 // (get) Token: 0x06000C61 RID: 3169 RVA: 0x000279D8 File Offset: 0x00025BD8
76 internal IEnumerator<global::System.Uri> Enumerator
77 {
78 get
79 {
80 if (this.m_MainEnumerator != null)
81 {
82 }
83 return this.GetEnumerator();
84 }
85 }
86
87 // Token: 0x17000287 RID: 647
88 // (get) Token: 0x06000C62 RID: 3170 RVA: 0x000279F4 File Offset: 0x00025BF4
89 internal global::System.Uri Destination
90 {
91 get
92 {
93 return this.m_Destination;
94 }
95 }
96
97 // Token: 0x06000C63 RID: 3171 RVA: 0x00027A08 File Offset: 0x00025C08
98 internal virtual void Abort()
99 {
100 }
101
102 // Token: 0x06000C64 RID: 3172 RVA: 0x00027A18 File Offset: 0x00025C18
104 {
105 return true;
106 }
107
108 // Token: 0x17000288 RID: 648
109 // (get) Token: 0x06000C65 RID: 3173 RVA: 0x00027A28 File Offset: 0x00025C28
111 {
112 get
113 {
114 /*
115An exception occurred when decompiling this method (06000C65)
116
117ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Net.HttpAbortDelegate System.Net.ProxyChain::get_HttpAbortDelegate()
118
119 ---> System.Exception: Basic block has to end with unconditional control flow.
120{
121 IL_0000:
122 brtrue(IL_0000, ldfld:HttpAbortDelegate[exp:bool](ProxyChain::m_HttpAbortDelegate, ldloc:ProxyChain(this)))
123}
124
125 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
126 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
127 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
128 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
129 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
130 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
131 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
132 --- End of inner exception stack trace ---
133 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
134 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
135*/;
136 }
137 }
138
139 // Token: 0x06000C66 RID: 3174
140 protected abstract bool GetNextProxy([Out] global::System.Uri proxy);
141
142 // Token: 0x04000AA1 RID: 2721
143 private List<global::System.Uri> m_Cache;
144
145 // Token: 0x04000AA2 RID: 2722
146 private bool m_CacheComplete;
147
148 // Token: 0x04000AA3 RID: 2723
150
151 // Token: 0x04000AA4 RID: 2724
152 private global::System.Uri m_Destination;
153
154 // Token: 0x04000AA5 RID: 2725
156
157 // Token: 0x020001F7 RID: 503
158 private class ProxyEnumerator : IEnumerator<global::System.Uri>, IDisposable, IEnumerator
159 {
160 // Token: 0x06000C67 RID: 3175 RVA: 0x00027A3C File Offset: 0x00025C3C
162 {
163 this.m_Chain = chain;
164 }
165
166 // Token: 0x17000289 RID: 649
167 // (get) Token: 0x06000C68 RID: 3176 RVA: 0x00027A58 File Offset: 0x00025C58
168 public global::System.Uri Current
169 {
170 get
171 {
172 /*
173An exception occurred when decompiling this method (06000C68)
174
175ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Uri System.Net.ProxyChain/ProxyEnumerator::get_Current()
176
177 ---> System.Exception: Basic block has to end with unconditional control flow.
178{
179 IL_001B:
180 stloc:string(var_2_25, call:string(SR::GetString, ldstr:string("Enumeration has either not started or has already finished.")))
181}
182
183 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
184 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
185 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
186 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
187 --- End of inner exception stack trace ---
188 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
189 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
190*/;
191 }
192 }
193
194 // Token: 0x1700028A RID: 650
195 // (get) Token: 0x06000C69 RID: 3177 RVA: 0x00027A8C File Offset: 0x00025C8C
197 {
198 get
199 {
200 /*
201An exception occurred when decompiling this method (06000C69)
202
203ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Net.ProxyChain/ProxyEnumerator::System.Collections.IEnumerator.get_Current()
204
205 ---> System.Exception: Basic block has to end with unconditional control flow.
206{
207 Block_0:
208 stloc:Uri(var_0_06, callgetter:Uri(ProxyEnumerator::get_Current, ldloc:ProxyEnumerator(this)))
209}
210
211 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
212 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
213 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
214 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
215 --- End of inner exception stack trace ---
216 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
217 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
218*/;
219 }
220 }
221
222 // Token: 0x06000C6A RID: 3178 RVA: 0x00002050 File Offset: 0x00000250
223 public bool MoveNext()
224 {
225 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
226 }
227
228 // Token: 0x06000C6B RID: 3179 RVA: 0x00027AA0 File Offset: 0x00025CA0
229 public void Reset()
230 {
231 }
232
233 // Token: 0x06000C6C RID: 3180 RVA: 0x00027AB0 File Offset: 0x00025CB0
234 public void Dispose()
235 {
236 }
237
238 // Token: 0x04000AA6 RID: 2726
240
241 // Token: 0x04000AA7 RID: 2727
242 private bool m_Finished;
243
244 // Token: 0x04000AA8 RID: 2728
245 private int m_CurrentIndex;
246
247 // Token: 0x04000AA9 RID: 2729
248 private bool m_TriedDirect;
249 }
250 }
251}
class f__AnonymousType0<< Count > j__TPar
ProxyChain.ProxyEnumerator m_MainEnumerator
global::System.Uri m_Destination
IEnumerator< global::System.Uri > Enumerator
Definition ProxyChain.cs:77
global::System.Uri Destination
Definition ProxyChain.cs:90
HttpAbortDelegate m_HttpAbortDelegate
bool GetNextProxy([Out] global::System.Uri proxy)
ProxyChain(global::System.Uri destination)
Definition ProxyChain.cs:13
List< global::System.Uri > m_Cache
virtual void Abort()
Definition ProxyChain.cs:98
IEnumerator< global::System.Uri > GetEnumerator()
Definition ProxyChain.cs:19
virtual void Dispose()
Definition ProxyChain.cs:70
bool HttpAbort(HttpWebRequest request, WebException webException)