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
FileWebRequest.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5
6namespace System.Net
7{
8 // Token: 0x0200021A RID: 538
11 {
12 // Token: 0x06000D59 RID: 3417 RVA: 0x0002AF88 File Offset: 0x00029188
13 internal FileWebRequest(global::System.Uri uri)
14 {
15 this.m_timeout = 34464;
16 this.m_method = "GET";
17 if ("GET" == null)
18 {
19 }
20 base..ctor();
21 string scheme = uri.Scheme;
22 if (34464 == 0)
23 {
24 }
25 this.m_uri = uri;
27 }
28
29 // Token: 0x06000D5A RID: 3418 RVA: 0x0002AFD4 File Offset: 0x000291D4
30 [Obsolete("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")]
32 {
33 int num = 34464;
34 this.m_timeout = num;
35 this.m_method = "GET";
36 if ("GET" == null)
37 {
38 }
40 if ("GET" == null)
41 {
42 }
43 object obj;
44 if (obj != null)
45 {
47 return;
48 }
49 Type type;
50 object value = serializationInfo.GetValue("proxy", type);
51 if (value != null)
52 {
53 if (value != null)
54 {
56 if (value != null)
57 {
58 goto IL_0061;
59 }
60 }
61 throw new InvalidCastException();
62 }
63 IL_0061:
64 Type type2;
65 object value2 = serializationInfo.GetValue("uri", type2);
66 if (value2 != null)
67 {
69 throw new InvalidCastException();
70 }
71 string @string = serializationInfo.GetString("connectionGroupName");
73 string string2 = serializationInfo.GetString("method");
75 long @int = serializationInfo.GetInt64("contentLength");
77 int int2 = serializationInfo.GetInt32("timeout");
79 int int3 = serializationInfo.GetInt32("fileAccess");
81 }
82
83 // Token: 0x06000D5B RID: 3419 RVA: 0x0002B0CC File Offset: 0x000292CC
87
88 // Token: 0x06000D5C RID: 3420 RVA: 0x0002B0DC File Offset: 0x000292DC
90 {
91 WebHeaderCollection headers = this.m_headers;
92 if (!true)
93 {
94 }
95 IWebProxy proxy = this.m_proxy;
96 global::System.Uri uri = this.m_uri;
97 Type type;
98 serializationInfo.AddValue("uri", uri, type);
100 serializationInfo.AddValue("connectionGroupName", connectionGroupName);
101 string method = this.m_method;
102 serializationInfo.AddValue("method", method);
103 long contentLength = this.m_contentLength;
104 serializationInfo.AddValue("contentLength", contentLength);
105 int timeout = this.m_timeout;
106 serializationInfo.AddValue("timeout", timeout);
108 long num = 0L;
109 serializationInfo.AddValue("preauthenticate", num != 0L);
110 }
111
112 // Token: 0x170002C9 RID: 713
113 // (get) Token: 0x06000D5D RID: 3421 RVA: 0x0002B180 File Offset: 0x00029380
114 internal bool Aborted
115 {
116 get
117 {
118 /*
119An exception occurred when decompiling this method (06000D5D)
120
121ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.FileWebRequest::get_Aborted()
122
123 ---> System.Exception: Basic block has to end with unconditional control flow.
124{
125 Block_0:
126 stloc:int32(var_0_06, ldfld:int32(FileWebRequest::m_Aborted, ldloc:FileWebRequest(this)))
127}
128
129 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
130 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
131 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
132 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
133 --- End of inner exception stack trace ---
134 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
135 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
136*/;
137 }
138 }
139
140 // Token: 0x170002CA RID: 714
141 // (get) Token: 0x06000D5E RID: 3422 RVA: 0x0002B194 File Offset: 0x00029394
142 // (set) Token: 0x06000D5F RID: 3423 RVA: 0x0002B1A8 File Offset: 0x000293A8
143 public override string ConnectionGroupName
144 {
145 get
146 {
147 return this.m_connectionGroupName;
148 }
149 set
150 {
152 }
153 }
154
155 // Token: 0x170002CB RID: 715
156 // (get) Token: 0x06000D60 RID: 3424 RVA: 0x0002B1BC File Offset: 0x000293BC
157 // (set) Token: 0x06000D61 RID: 3425 RVA: 0x0002B1D0 File Offset: 0x000293D0
158 public override long ContentLength
159 {
160 get
161 {
162 return this.m_contentLength;
163 }
164 set
165 {
167 }
168 }
169
170 // Token: 0x170002CC RID: 716
171 // (get) Token: 0x06000D62 RID: 3426 RVA: 0x0002B1F0 File Offset: 0x000293F0
172 // (set) Token: 0x06000D63 RID: 3427 RVA: 0x0002B210 File Offset: 0x00029410
173 public override string ContentType
174 {
175 get
176 {
177 return this.m_headers["Content-Type"];
178 }
179 set
180 {
181 this.m_headers["Content-Type"] = value;
182 }
183 }
184
185 // Token: 0x170002CD RID: 717
186 // (get) Token: 0x06000D64 RID: 3428 RVA: 0x0002B230 File Offset: 0x00029430
187 // (set) Token: 0x06000D65 RID: 3429 RVA: 0x0002B244 File Offset: 0x00029444
188 public override ICredentials Credentials
189 {
190 get
191 {
192 return this.m_credentials;
193 }
194 set
195 {
197 }
198 }
199
200 // Token: 0x170002CE RID: 718
201 // (get) Token: 0x06000D66 RID: 3430 RVA: 0x0002B258 File Offset: 0x00029458
203 {
204 get
205 {
206 return this.m_headers;
207 }
208 }
209
210 // Token: 0x170002CF RID: 719
211 // (get) Token: 0x06000D67 RID: 3431 RVA: 0x0002B26C File Offset: 0x0002946C
212 // (set) Token: 0x06000D68 RID: 3432 RVA: 0x0002B280 File Offset: 0x00029480
213 public override string Method
214 {
215 get
216 {
217 return this.m_method;
218 }
219 set
220 {
221 if (!true)
222 {
223 }
226 }
227 }
228
229 // Token: 0x170002D0 RID: 720
230 // (get) Token: 0x06000D69 RID: 3433 RVA: 0x0002B2AC File Offset: 0x000294AC
231 // (set) Token: 0x06000D6A RID: 3434 RVA: 0x0002B2C0 File Offset: 0x000294C0
232 public override bool PreAuthenticate
233 {
234 get
235 {
236 return this.m_preauthenticate;
237 }
238 set
239 {
241 }
242 }
243
244 // Token: 0x170002D1 RID: 721
245 // (get) Token: 0x06000D6B RID: 3435 RVA: 0x0002B2D4 File Offset: 0x000294D4
246 // (set) Token: 0x06000D6C RID: 3436 RVA: 0x0002B2E8 File Offset: 0x000294E8
247 public override IWebProxy Proxy
248 {
249 get
250 {
251 return this.m_proxy;
252 }
253 set
254 {
256 }
257 }
258
259 // Token: 0x170002D2 RID: 722
260 // (get) Token: 0x06000D6D RID: 3437 RVA: 0x0002B2FC File Offset: 0x000294FC
261 // (set) Token: 0x06000D6E RID: 3438 RVA: 0x0002B310 File Offset: 0x00029510
262 public override int Timeout
263 {
264 get
265 {
266 return this.m_timeout;
267 }
268 set
269 {
271 }
272 }
273
274 // Token: 0x170002D3 RID: 723
275 // (get) Token: 0x06000D6F RID: 3439 RVA: 0x0002B330 File Offset: 0x00029530
276 public override global::System.Uri RequestUri
277 {
278 get
279 {
280 return this.m_uri;
281 }
282 }
283
284 // Token: 0x06000D70 RID: 3440 RVA: 0x0002B344 File Offset: 0x00029544
285 public override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state)
286 {
287 if (this.m_Aborted == 0)
288 {
289 bool flag = this.CanGetRequestStream();
290 WebResponse response = this.m_response;
291 if (this.m_writePending)
292 {
293 goto IL_006F;
294 }
295 int num = 1;
296 long num2 = 0L;
297 this.m_writePending = num != 0;
298 int num3 = 14;
299 if (num != 0)
300 {
301 Monitor.Exit(this);
302 }
303 if (num2 != 0L)
304 {
305 goto IL_007B;
306 }
307 if (num3 == 0)
308 {
311 }
312 }
314 string @string = SR.GetString("Cannot send a content-body with this verb-type.");
315 string string2 = SR.GetString("This operation cannot be performed after the request has been submitted.");
316 IL_006F:
317 string string3 = SR.GetString("Cannot re-call BeginGetRequestStream/BeginGetResponse while a previous call is still in progress.");
318 IL_007B:
319 throw new OutOfMemoryException();
320 }
321
322 // Token: 0x06000D71 RID: 3441 RVA: 0x0002B414 File Offset: 0x00029614
323 public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state)
324 {
325 if (this.m_Aborted == 0)
326 {
327 if (this.m_readPending)
328 {
329 goto IL_0040;
330 }
331 int num = 1;
332 long num2 = 0L;
333 this.m_readPending = num != 0;
334 if (num != 0)
335 {
336 Monitor.Exit(this);
337 }
338 if (num2 != 0L)
339 {
340 goto IL_004C;
341 }
344 }
346 IL_0040:
347 string @string = SR.GetString("Cannot re-call BeginGetRequestStream/BeginGetResponse while a previous call is still in progress.");
348 IL_004C:
349 throw new OutOfMemoryException();
350 }
351
352 // Token: 0x06000D72 RID: 3442 RVA: 0x0002B4B4 File Offset: 0x000296B4
353 private bool CanGetRequestStream()
354 {
355 /*
356An exception occurred when decompiling this method (06000D72)
357
358ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.FileWebRequest::CanGetRequestStream()
359
360 ---> System.Exception: Basic block has to end with unconditional control flow.
361{
362 IL_000A:
363 stloc:bool(var_1_15, ldfld:bool(KnownHttpVerb::ContentBodyNotAllowed, call:KnownHttpVerb(KnownHttpVerb::Parse, ldloc:string(var_0_06))))
364}
365
366 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
367 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
368 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
369 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
370 --- End of inner exception stack trace ---
371 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
372 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
373*/;
374 }
375
376 // Token: 0x06000D73 RID: 3443 RVA: 0x0002B4D8 File Offset: 0x000296D8
377 public override Stream EndGetRequestStream(IAsyncResult asyncResult)
378 {
379 if (asyncResult != null)
380 {
381 object obj;
382 if (obj != null)
383 {
384 }
385 string @string = SR.GetString("The AsyncResult is not valid.");
386 throw new InvalidCastException();
387 }
388 throw new InvalidCastException();
389 }
390
391 // Token: 0x06000D74 RID: 3444 RVA: 0x0002B524 File Offset: 0x00029724
392 public override WebResponse EndGetResponse(IAsyncResult asyncResult)
393 {
394 if (asyncResult != null)
395 {
396 object obj;
397 if (obj != null)
398 {
399 }
400 string @string = SR.GetString("The AsyncResult is not valid.");
401 throw new InvalidCastException();
402 }
403 throw new InvalidCastException();
404 }
405
406 // Token: 0x06000D75 RID: 3445 RVA: 0x0002B570 File Offset: 0x00029770
407 public override Stream GetRequestStream()
408 {
409 if (this.m_stream != null)
410 {
411 }
412 throw new OutOfMemoryException();
413 }
414
415 // Token: 0x06000D76 RID: 3446 RVA: 0x0002B5B4 File Offset: 0x000297B4
416 public override WebResponse GetResponse()
417 {
418 int num = 1;
419 this.m_syncHint = num != 0;
420 if (num != 0)
421 {
422 }
423 if (num != 0)
424 {
425 }
426 if (num != 0)
427 {
428 }
429 if (this.m_response != null)
430 {
431 }
432 throw new OutOfMemoryException();
433 }
434
435 // Token: 0x06000D77 RID: 3447 RVA: 0x0002B60C File Offset: 0x0002980C
436 private static void GetRequestStreamCallback(object state)
437 {
438 if (state != null)
439 {
440 }
441 }
442
443 // Token: 0x06000D78 RID: 3448 RVA: 0x0002B62C File Offset: 0x0002982C
444 private static void GetResponseCallback(object state)
445 {
446 if (state != null)
447 {
448 }
449 long num = 0L;
450 int num2 = 3;
451 if (num == 0L)
452 {
453 if (num2 == 0)
454 {
455 }
456 return;
457 }
458 throw new OutOfMemoryException();
459 }
460
461 // Token: 0x06000D79 RID: 3449 RVA: 0x0002B670 File Offset: 0x00029870
462 internal void UnblockReader()
463 {
465 if (readerEvent != null)
466 {
467 bool flag = readerEvent.Set();
468 }
469 long num = 0L;
470 Monitor.Exit(this);
471 if (num == 0L)
472 {
473 if (3 == 0)
474 {
475 }
476 return;
477 }
478 throw new OutOfMemoryException();
479 }
480
481 // Token: 0x170002D4 RID: 724
482 // (get) Token: 0x06000D7A RID: 3450 RVA: 0x0002B6BC File Offset: 0x000298BC
483 // (set) Token: 0x06000D7B RID: 3451 RVA: 0x0002B6D0 File Offset: 0x000298D0
484 public override bool UseDefaultCredentials
485 {
486 get
487 {
488 /*
489An exception occurred when decompiling this method (06000D7A)
490
491ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.FileWebRequest::get_UseDefaultCredentials()
492
493 ---> System.Exception: Basic block has to end with unconditional control flow.
494{
495 Block_0:
496 stloc:NotSupportedException(var_1_07, callgetter:NotSupportedException(ExceptionHelper::get_PropertyNotSupportedException))
497}
498
499 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
500 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
501 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
502 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
503 --- End of inner exception stack trace ---
504 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
505 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
506*/;
507 }
508 set
509 {
510 /*
511An exception occurred when decompiling this method (06000D7B)
512
513ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.Net.FileWebRequest::set_UseDefaultCredentials(System.Boolean)
514
515 ---> System.Exception: Basic block has to end with unconditional control flow.
516{
517 Block_0:
518 stloc:NotSupportedException(var_1_07, callgetter:NotSupportedException(ExceptionHelper::get_PropertyNotSupportedException))
519}
520
521 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
522 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
523 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
524 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
525 --- End of inner exception stack trace ---
526 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
527 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
528*/;
529 }
530 }
531
532 // Token: 0x06000D7C RID: 3452 RVA: 0x0002B6E4 File Offset: 0x000298E4
533 public override void Abort()
534 {
535 int num = Interlocked.Increment(Logging.On ? 1 : 0);
538 Stream stream = this.m_stream;
539 if (readAResult == null || readAResult.m_IntCompleted == 0)
540 {
541 }
542 if (writeAResult == null || writeAResult.m_IntCompleted == 0)
543 {
544 }
545 if (stream != null)
546 {
547 if (stream == null)
548 {
549 return;
550 }
551 if (stream == null)
552 {
553 throw new InvalidCastException();
554 }
555 if (stream != null)
556 {
557 return;
558 }
559 throw new InvalidCastException();
560 }
561 else
562 {
563 WebResponse response = this.m_response;
564 if (response == null)
565 {
566 return;
567 }
568 if (response == null)
569 {
570 throw new InvalidCastException();
571 }
572 if (response != null)
573 {
574 return;
575 }
576 throw new InvalidCastException();
577 }
578 }
579
580 // Token: 0x06000D7D RID: 3453 RVA: 0x0002B7A0 File Offset: 0x000299A0
581 // Note: this type is marked as 'beforefieldinit'.
583 {
584 }
585
586 // Token: 0x04000B50 RID: 2896
588
589 // Token: 0x04000B51 RID: 2897
591
592 // Token: 0x04000B52 RID: 2898
593 private string m_connectionGroupName;
594
595 // Token: 0x04000B53 RID: 2899
596 private long m_contentLength;
597
598 // Token: 0x04000B54 RID: 2900
600
601 // Token: 0x04000B55 RID: 2901
603
604 // Token: 0x04000B56 RID: 2902
606
607 // Token: 0x04000B57 RID: 2903
608 private string m_method;
609
610 // Token: 0x04000B58 RID: 2904
611 private bool m_preauthenticate;
612
613 // Token: 0x04000B59 RID: 2905
615
616 // Token: 0x04000B5A RID: 2906
618
619 // Token: 0x04000B5B RID: 2907
620 private bool m_readPending;
621
622 // Token: 0x04000B5C RID: 2908
624
625 // Token: 0x04000B5D RID: 2909
627
628 // Token: 0x04000B5E RID: 2910
629 private bool m_syncHint;
630
631 // Token: 0x04000B5F RID: 2911
632 private int m_timeout;
633
634 // Token: 0x04000B60 RID: 2912
635 private global::System.Uri m_uri;
636
637 // Token: 0x04000B61 RID: 2913
638 private bool m_writePending;
639
640 // Token: 0x04000B62 RID: 2914
641 private bool m_writing;
642
643 // Token: 0x04000B63 RID: 2915
645
646 // Token: 0x04000B64 RID: 2916
648
649 // Token: 0x04000B65 RID: 2917
650 private int m_Aborted;
651 }
652}
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
Definition SR.cs:9
Definition SR.cs:7
static WebException RequestAbortedException
global::System.Uri m_uri
FileWebRequest(global::System.Uri uri)
override IWebProxy Proxy
override ICredentials Credentials
LazyAsyncResult m_WriteAResult
override WebHeaderCollection Headers
override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state)
static WaitCallback s_GetRequestStreamCallback
override WebResponse EndGetResponse(IAsyncResult asyncResult)
FileWebRequest(SerializationInfo serializationInfo, StreamingContext streamingContext)
override global::System.Uri RequestUri
override string ConnectionGroupName
override bool UseDefaultCredentials
override Stream GetRequestStream()
static void GetResponseCallback(object state)
override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
override IAsyncResult BeginGetResponse(AsyncCallback callback, object state)
ManualResetEvent m_readerEvent
LazyAsyncResult m_ReadAResult
static WaitCallback s_GetResponseCallback
static void GetRequestStreamCallback(object state)
WebHeaderCollection m_headers
override WebResponse GetResponse()
override Stream EndGetRequestStream(IAsyncResult asyncResult)
static bool On
Definition Logging.cs:12
static bool IsBlankString(string stringValue)
void AddValue(string name, object value, Type type)
static int Increment(int location)
static void Exit(object obj)
Definition Monitor.cs:47
void GetObjectData(SerializationInfo info, StreamingContext context)