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
PlatformHelper.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Threading
4{
5 // Token: 0x020001CE RID: 462
6 internal static class PlatformHelper
7 {
8 // Token: 0x17000190 RID: 400
9 // (get) Token: 0x060010FF RID: 4351 RVA: 0x00023F6C File Offset: 0x0002216C
10 internal static int ProcessorCount
11 {
12 get
13 {
15 int num = 30000;
16 int processorCount = Environment.ProcessorCount;
17 if (num == 0)
18 {
19 }
20 return processorCount;
21 }
22 }
23
24 // Token: 0x06001100 RID: 4352 RVA: 0x00023F98 File Offset: 0x00022198
25 // Note: this type is marked as 'beforefieldinit'.
27 {
28 int processorCount = PlatformHelper.ProcessorCount;
29 }
30
31 // Token: 0x04000926 RID: 2342
32 private static int s_processorCount;
33
34 // Token: 0x04000927 RID: 2343
36
37 // Token: 0x04000928 RID: 2344
38 internal static readonly bool IsSingleProcessor;
39 }
40}
class f__AnonymousType0<< Count > j__TPar
static int ProcessorCount
static int TickCount
static readonly bool IsSingleProcessor