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.
1using System;
3
4namespace 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 = 0L;
16 base..ctor();
17 Monitor.Enter(this, num != 0L);
18 if (!true)
19 {
20 }
21 long num2 = 0L;
22 Monitor.Exit(this);
23 if (num2 == 0L)
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}
class f__AnonymousType0<< Count > j__TPar
Semaphore(int initialCount, int maxCount)
Definition Semaphore.cs:10
static void Exit(object obj)
Definition Monitor.cs:47
static void Enter(object obj)
Definition Monitor.cs:11