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
AsyncStreamReader.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3using System.Text;
5
6namespace System.Diagnostics
7{
8 // Token: 0x020000D5 RID: 213
9 internal class AsyncStreamReader
10 {
11 // Token: 0x060004D8 RID: 1240 RVA: 0x00013D78 File Offset: 0x00011F78
12 public virtual void Close()
13 {
14 }
15
16 // Token: 0x060004D9 RID: 1241 RVA: 0x00013D88 File Offset: 0x00011F88
17 protected virtual void Dispose(bool disposing)
18 {
19 object obj = this.syncObject;
21 if (this.stream != null)
22 {
23 if (this.asyncReadResult != null)
24 {
25 return;
26 }
27 Stream stream = this.stream;
28 }
29 if (this.stream != null)
30 {
31 }
32 if (this.eofEvent != null)
33 {
34 return;
35 }
36 long num = 0L;
38 if (num == 0L)
39 {
40 return;
41 }
42 throw new OutOfMemoryException();
43 }
44
45 // Token: 0x060004DA RID: 1242 RVA: 0x00013E20 File Offset: 0x00012020
46 internal void CancelOperation()
47 {
49 }
50
51 // Token: 0x060004DB RID: 1243 RVA: 0x00013E34 File Offset: 0x00012034
52 internal void WaitUtilEOF()
53 {
54 if (this.eofEvent != null)
55 {
57 }
58 }
59
60 // Token: 0x040003C0 RID: 960
61 private Stream stream;
62
63 // Token: 0x040003C1 RID: 961
65
66 // Token: 0x040003C2 RID: 962
68
69 // Token: 0x040003C3 RID: 963
70 private byte[] byteBuffer;
71
72 // Token: 0x040003C4 RID: 964
73 private char[] charBuffer;
74
75 // Token: 0x040003C5 RID: 965
76 private bool cancelOperation;
77
78 // Token: 0x040003C6 RID: 966
80
81 // Token: 0x040003C7 RID: 967
82 private object syncObject;
83
84 // Token: 0x040003C8 RID: 968
86 }
87}
class f__AnonymousType0<< Count > j__TPar
virtual void Dispose(bool disposing)
static void Exit(object obj)
Definition Monitor.cs:47
static void Enter(object obj)
Definition Monitor.cs:11