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
SpinWait.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
System.Threading
5
{
6
// Token: 0x020001CD RID: 461
7
public
struct
SpinWait
8
{
9
// Token: 0x1700018E RID: 398
10
// (get) Token: 0x060010F8 RID: 4344 RVA: 0x0000207A File Offset: 0x0000027A
11
public
int
Count
12
{
13
get
14
{
15
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
16
}
17
}
18
19
// Token: 0x1700018F RID: 399
20
// (get) Token: 0x060010F9 RID: 4345 RVA: 0x00023EF0 File Offset: 0x000220F0
21
public
bool
NextSpinWillYield
22
{
23
get
24
{
25
return
true
;
26
}
27
}
28
29
// Token: 0x060010FA RID: 4346 RVA: 0x00023F00 File Offset: 0x00022100
30
public
void
SpinOnce
()
31
{
32
this.
SpinOnceCore
(20);
33
}
34
35
// Token: 0x060010FB RID: 4347 RVA: 0x00023F18 File Offset: 0x00022118
36
public
void
SpinOnce
(
int
sleep1Threshold
)
37
{
38
this.
SpinOnceCore
(sleep1Threshold);
39
}
40
41
// Token: 0x060010FC RID: 4348 RVA: 0x00023F2C File Offset: 0x0002212C
42
private
void
SpinOnceCore
(
int
sleep1Threshold
)
43
{
44
}
45
46
// Token: 0x060010FD RID: 4349 RVA: 0x00023F4C File Offset: 0x0002214C
47
public
void
Reset
()
48
{
49
}
50
51
// Token: 0x060010FE RID: 4350 RVA: 0x00023F5C File Offset: 0x0002215C
52
// Note: this type is marked as 'beforefieldinit'.
53
static
SpinWait
()
54
{
55
if
(!
true
)
56
{
57
}
58
}
59
60
// Token: 0x04000924 RID: 2340
61
internal
static
readonly
int
SpinCountforSpinBeforeWait
;
62
63
// Token: 0x04000925 RID: 2341
64
private
int
_count
;
65
}
66
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System
Definition
__ComObject.cs:4
System.Threading.SpinWait.NextSpinWillYield
bool NextSpinWillYield
Definition
SpinWait.cs:22
System.Threading.SpinWait.SpinOnceCore
void SpinOnceCore(int sleep1Threshold)
Definition
SpinWait.cs:42
System.Threading.SpinWait.SpinCountforSpinBeforeWait
static readonly int SpinCountforSpinBeforeWait
Definition
SpinWait.cs:61
System.Threading.SpinWait.SpinOnce
void SpinOnce(int sleep1Threshold)
Definition
SpinWait.cs:36
System.Threading.SpinWait._count
int _count
Definition
SpinWait.cs:64
System.Threading.SpinWait.Count
int Count
Definition
SpinWait.cs:12
System.Threading.SpinWait.Reset
void Reset()
Definition
SpinWait.cs:47
System.Threading.SpinWait.SpinOnce
void SpinOnce()
Definition
SpinWait.cs:30
System.Threading.SpinWait.SpinWait
static SpinWait()
Definition
SpinWait.cs:53
System.Threading.SpinWait
Definition
SpinWait.cs:8
source
mscorlib
System
Threading
SpinWait.cs
Generated by
1.10.0