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.
1using System;
3
4namespace 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
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
62
63 // Token: 0x04000925 RID: 2341
64 private int _count;
65 }
66}
class f__AnonymousType0<< Count > j__TPar
void SpinOnceCore(int sleep1Threshold)
Definition SpinWait.cs:42
static readonly int SpinCountforSpinBeforeWait
Definition SpinWait.cs:61
void SpinOnce(int sleep1Threshold)
Definition SpinWait.cs:36