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
Semaphore.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Threading
;
3
4
namespace
System.Net
5
{
6
// Token: 0x020001FD RID: 509
7
internal
sealed
class
Semaphore
:
WaitHandle
8
{
9
// Token: 0x06000C7C RID: 3196 RVA: 0x00027D70 File Offset: 0x00025F70
10
internal
Semaphore
(
int
initialCount
,
int
maxCount)
11
{
12
if
(!
true
)
13
{
14
}
15
long
num = 0
L
;
16
base
..ctor();
17
Monitor
.
Enter
(
this
, num != 0
L
);
18
if
(!
true
)
19
{
20
}
21
long
num2
= 0
L
;
22
Monitor
.
Exit
(
this
);
23
if
(
num2
== 0
L
)
24
{
25
return
;
26
}
27
throw
new
OutOfMemoryException
();
28
}
29
30
// Token: 0x06000C7D RID: 3197 RVA: 0x00027DC0 File Offset: 0x00025FC0
31
internal
bool
ReleaseSemaphore
()
32
{
33
bool
flag;
34
return
flag;
35
}
36
}
37
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Net.Semaphore.ReleaseSemaphore
bool ReleaseSemaphore()
Definition
Semaphore.cs:31
System.Net.Semaphore.Semaphore
Semaphore(int initialCount, int maxCount)
Definition
Semaphore.cs:10
System.Net.Semaphore
Definition
Semaphore.cs:8
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Threading.Monitor.Exit
static void Exit(object obj)
Definition
Monitor.cs:47
System.Threading.Monitor.Enter
static void Enter(object obj)
Definition
Monitor.cs:11
System.Threading.Monitor
Definition
Monitor.cs:9
System.Threading.WaitHandle
Definition
WaitHandle.cs:14
System.Net
Definition
AuthenticationManager.cs:7
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
System
Net
Semaphore.cs
Generated by
1.10.0