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
CountdownEvent.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Diagnostics
;
3
4
namespace
System.Threading
5
{
6
// Token: 0x020001C8 RID: 456
7
[
DebuggerDisplay
(
"Initial Count={InitialCount}, Current Count={CurrentCount}"
)]
8
public
class
CountdownEvent
9
{
10
// Token: 0x060010CC RID: 4300 RVA: 0x00023998 File Offset: 0x00021B98
11
public
bool
Signal
()
12
{
13
this.
ThrowIfDisposed
();
14
int
currentCount
= this.
_currentCount
;
15
int
num;
16
if
(num != 0)
17
{
18
}
19
ManualResetEventSlim
@
event
= this.
_event
;
20
long
num2
= 0
L
;
21
@
event
.
Set
(num2 != 0
L
);
22
return
true
;
23
}
24
25
// Token: 0x060010CD RID: 4301 RVA: 0x000239CC File Offset: 0x00021BCC
26
private
void
ThrowIfDisposed
()
27
{
28
while
(this.
_disposed
)
29
{
30
}
31
}
32
33
// Token: 0x04000915 RID: 2325
34
private
int
_currentCount
;
35
36
// Token: 0x04000916 RID: 2326
37
private
ManualResetEventSlim
_event
;
38
39
// Token: 0x04000917 RID: 2327
40
private
bool
_disposed
;
41
}
42
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Threading.CountdownEvent._disposed
bool _disposed
Definition
CountdownEvent.cs:40
System.Threading.CountdownEvent._event
ManualResetEventSlim _event
Definition
CountdownEvent.cs:37
System.Threading.CountdownEvent.ThrowIfDisposed
void ThrowIfDisposed()
Definition
CountdownEvent.cs:26
System.Threading.CountdownEvent.Signal
bool Signal()
Definition
CountdownEvent.cs:11
System.Threading.CountdownEvent._currentCount
int _currentCount
Definition
CountdownEvent.cs:34
System.Threading.CountdownEvent
Definition
CountdownEvent.cs:9
System.Threading.ManualResetEventSlim.Set
void Set()
Definition
ManualResetEventSlim.cs:200
System.Threading.ManualResetEventSlim
Definition
ManualResetEventSlim.cs:10
System.Diagnostics
Definition
ConditionalAttribute.cs:5
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
Threading
CountdownEvent.cs
Generated by
1.10.0