terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
PlatformHelper.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Threading
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20001CE")]
9 internal static class PlatformHelper
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x17000190")]
12 internal static int ProcessorCount
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x60010FF")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1C9640C", Offset = "0x1C9640C", Length = "0xEC")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlatformHelper), Member = ".cctor", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationTokenSource), Member = ".cctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpinLock), Member = "ContinueTryEnter", MemberParameters = new object[]
20 {
21 typeof(int),
22 typeof(ref bool)
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Concurrent.ConcurrentDictionary<, >), Member = "get_DefaultConcurrencyLevel", ReturnType = typeof(int))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_TickCount", ReturnType = typeof(int))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_ProcessorCount", ReturnType = typeof(int))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
29 get
30 {
31 throw null;
32 }
33 }
34
35 // Note: this type is marked as 'beforefieldinit'.
36 [global::Cpp2ILInjected.Token(Token = "0x6001100")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1C964F8", Offset = "0x1C964F8", Length = "0x54")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformHelper), Member = "get_ProcessorCount", ReturnType = typeof(int))]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x4000926")]
48 private static int s_processorCount;
49
50 [global::Cpp2ILInjected.Token(Token = "0x4000927")]
52
53 [global::Cpp2ILInjected.Token(Token = "0x4000928")]
54 internal static readonly bool IsSingleProcessor;
55 }
56}
class f__AnonymousType0<< Count > j__TPar
static readonly bool IsSingleProcessor