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
EventWaitHandle.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.IO
;
3
using
System.Runtime.InteropServices
;
4
5
namespace
System.Threading
6
{
7
// Token: 0x020001E9 RID: 489
8
[
ComVisible
(
true
)]
9
public
class
EventWaitHandle
:
WaitHandle
10
{
11
// Token: 0x0600117A RID: 4474 RVA: 0x000252E0 File Offset: 0x000234E0
12
public
EventWaitHandle
(
bool
initialState
,
EventResetMode
mode
)
13
{
14
}
15
16
// Token: 0x0600117B RID: 4475 RVA: 0x000252F0 File Offset: 0x000234F0
17
public
EventWaitHandle
(
bool
initialState
,
EventResetMode
mode
,
string
name
)
18
{
19
if
(!
true
)
20
{
21
}
22
base
..ctor();
23
if
(
name
!=
null
)
24
{
25
int
stringLength
=
name
._stringLength;
26
}
27
if
(
mode
!=
EventResetMode
.AutoReset)
28
{
29
return
;
30
}
31
int
stringLength2
;
32
if
(
name
!=
null
)
33
{
34
stringLength2
=
name
._stringLength;
35
if
(
stringLength2
!= 0)
36
{
37
throw
new
ArrayTypeMismatchException
();
38
}
39
}
40
string
text
;
41
__Error
.
WinIOError
(42189712,
text
);
42
if
(
stringLength2
== 0)
43
{
44
}
45
}
46
47
// Token: 0x0600117C RID: 4476 RVA: 0x00025348 File Offset: 0x00023548
48
public
bool
Reset
()
49
{
50
bool
flag =
NativeEventCalls
.
ResetEvent
(this.
safeWaitHandle
);
51
return
true
;
52
}
53
54
// Token: 0x0600117D RID: 4477 RVA: 0x00025364 File Offset: 0x00023564
55
public
bool
Set
()
56
{
57
bool
flag =
NativeEventCalls
.
SetEvent
(this.
safeWaitHandle
);
58
return
true
;
59
}
60
}
61
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
System.IO.__Error.WinIOError
static void WinIOError(int errorCode, string maybeFullPath)
Definition
__Error.cs:90
System.IO.__Error
Definition
__Error.cs:7
System.Threading.EventWaitHandle.EventWaitHandle
EventWaitHandle(bool initialState, EventResetMode mode, string name)
Definition
EventWaitHandle.cs:17
System.Threading.EventWaitHandle.EventWaitHandle
EventWaitHandle(bool initialState, EventResetMode mode)
Definition
EventWaitHandle.cs:12
System.Threading.EventWaitHandle.Reset
bool Reset()
Definition
EventWaitHandle.cs:48
System.Threading.EventWaitHandle.Set
bool Set()
Definition
EventWaitHandle.cs:55
System.Threading.EventWaitHandle
Definition
EventWaitHandle.cs:10
System.Threading.NativeEventCalls.SetEvent
static bool SetEvent(SafeWaitHandle handle)
Definition
NativeEventCalls.cs:42
System.Threading.NativeEventCalls.ResetEvent
static bool ResetEvent(SafeWaitHandle handle)
Definition
NativeEventCalls.cs:57
System.Threading.NativeEventCalls
Definition
NativeEventCalls.cs:10
System.Threading.WaitHandle.safeWaitHandle
SafeWaitHandle safeWaitHandle
Definition
WaitHandle.cs:297
System.Threading.WaitHandle
Definition
WaitHandle.cs:14
System.IO
Definition
__Error.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Threading.EventResetMode
EventResetMode
Definition
EventResetMode.cs:7
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ExceptionArgument.mode
@ mode
System.ExceptionArgument.text
@ text
System.ExceptionArgument.name
@ name
System
Definition
__ComObject.cs:4
source
mscorlib
System
Threading
EventWaitHandle.cs
Generated by
1.10.0