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.
1
using
System
;
2
using
System.IO
;
3
using
System.Threading
;
4
5
namespace
System.Net
6
{
7
// Token: 0x02000138 RID: 312
8
internal
class
ClosableStream
:
DelegatedStream
9
{
10
// Token: 0x0600075F RID: 1887 RVA: 0x0001A898 File Offset: 0x00018A98
11
internal
ClosableStream
(
Stream
stream,
EventHandler
onClose
)
12
:
base
(stream)
13
{
14
this._onClose
=
onClose
;
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);
21
EventHandler
onClose
= this.
_onClose
;
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
32
private
readonly
EventHandler
_onClose
;
33
34
// Token: 0x040005EA RID: 1514
35
private
int
_closed
;
36
}
37
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.EventHandler
Definition
EventHandler.2.cs:7
System.IO.Stream
Definition
Stream.cs:15
System.Net.ClosableStream._closed
int _closed
Definition
ClosableStream.cs:35
System.Net.ClosableStream.ClosableStream
ClosableStream(Stream stream, EventHandler onClose)
Definition
ClosableStream.cs:11
System.Net.ClosableStream._onClose
readonly EventHandler _onClose
Definition
ClosableStream.cs:32
System.Net.ClosableStream.Close
override void Close()
Definition
ClosableStream.cs:18
System.Net.ClosableStream
Definition
ClosableStream.cs:9
System.Net.DelegatedStream
Definition
DelegatedStream.cs:11
System.Threading.Interlocked.Increment
static int Increment(int location)
Definition
Interlocked.cs:54
System.Threading.Interlocked
Definition
Interlocked.cs:11
System.IO
Definition
__Error.cs:4
System.Net
Definition
AuthenticationManager.cs:7
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
source
System
Net
ClosableStream.cs
Generated by
1.10.0