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
ClosableStream.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4
5namespace System.Net
6{
7 // Token: 0x02000138 RID: 312
9 {
10 // Token: 0x0600075F RID: 1887 RVA: 0x0001A898 File Offset: 0x00018A98
12 : base(stream)
13 {
15 }
16
17 // Token: 0x06000760 RID: 1888 RVA: 0x0001A8B4 File Offset: 0x00018AB4
18 public override void Close()
19 {
20 int num = Interlocked.Increment(int.MinValue);
22 if (onClose != null)
23 {
24 IntPtr invoke_impl = onClose.invoke_impl;
25 IntPtr method_code = onClose.method_code;
26 IntPtr method = onClose.method;
27 return;
28 }
29 }
30
31 // Token: 0x040005E9 RID: 1513
33
34 // Token: 0x040005EA RID: 1514
35 private int _closed;
36 }
37}
class f__AnonymousType0<< Count > j__TPar
ClosableStream(Stream stream, EventHandler onClose)
readonly EventHandler _onClose
static int Increment(int location)