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
ThreadPoolTaskScheduler.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000251")]
11 internal sealed class ThreadPoolTaskScheduler : TaskScheduler
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600144E")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1CAEE10", Offset = "0x1CAEE10", Length = "0x58")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TaskScheduler), Member = ".cctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x600144F")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1CAEE68", Offset = "0x1CAEE68", Length = "0x1B4")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Internal.Threading.Tasks.Tracing.TaskTrace), Member = "get_Enabled", ReturnType = typeof(bool))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TaskScheduler), Member = "get_Id", ReturnType = typeof(int))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "get_Id", ReturnType = typeof(int))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "get_Options", ReturnType = typeof(TaskCreationOptions))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Internal.Threading.Tasks.Tracing.TaskTrace), Member = "TaskScheduled", MemberParameters = new object[]
32 {
33 typeof(int),
34 typeof(int),
35 typeof(int),
36 typeof(int),
37 typeof(int)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "UnsafeQueueCustomWorkItem", MemberParameters = new object[]
40 {
42 typeof(bool)
43 }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Internal.Runtime.Augments.RuntimeThread), Member = "Create", MemberParameters = new object[]
45 {
46 typeof(ParameterizedThreadStart),
47 typeof(int)
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Internal.Runtime.Augments.RuntimeThread), Member = "set_IsBackground", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Internal.Runtime.Augments.RuntimeThread), Member = "Start", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
52 protected internal override void QueueTask(Task task)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6001450")]
58 [global::Cpp2ILInjected.Address(RVA = "0x1CAF01C", Offset = "0x1CAF01C", Length = "0xD8")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "TryPopCustomWorkItem", MemberParameters = new object[] { typeof(IThreadPoolWorkItem) }, ReturnType = typeof(bool))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ExecuteEntry", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x6001451")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1CAF0F4", Offset = "0x1CAF0F4", Length = "0x8")]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "TryPopCustomWorkItem", MemberParameters = new object[] { typeof(IThreadPoolWorkItem) }, ReturnType = typeof(bool))]
73 protected internal override bool TryDequeue(Task task)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6001452")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1CAF0FC", Offset = "0x1CAF0FC", Length = "0x10")]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "EnsureVMInitialized", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
83 internal override void NotifyWorkItemProgress()
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x170001FD")]
89 internal override bool RequiresAtomicStartTransition
90 {
91 [global::Cpp2ILInjected.Token(Token = "0x6001453")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1CAF10C", Offset = "0x1CAF10C", Length = "0x8")]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
94 get
95 {
96 throw null;
97 }
98 }
99
100 // Note: this type is marked as 'beforefieldinit'.
101 [global::Cpp2ILInjected.Token(Token = "0x6001454")]
102 [global::Cpp2ILInjected.Address(RVA = "0x1CAF114", Offset = "0x1CAF114", Length = "0xC4")]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParameterizedThreadStart), Member = ".ctor", MemberParameters = new object[]
105 {
106 typeof(object),
107 typeof(global::System.IntPtr)
108 }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
111 {
112 throw null;
113 }
114
115 [global::Cpp2ILInjected.Token(Token = "0x4000AC5")]
116 private static readonly ParameterizedThreadStart s_longRunningThreadWork;
117
118 [global::System.Runtime.CompilerServices.CompilerGenerated]
119 [global::Cpp2ILInjected.Token(Token = "0x2000252")]
120 [global::System.Serializable]
121 private sealed class <>c
122 {
123 // Note: this type is marked as 'beforefieldinit'.
124 [global::Cpp2ILInjected.Token(Token = "0x6001455")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1CAF1D8", Offset = "0x1CAF1D8", Length = "0x5C")]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
129 static <>c()
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6001456")]
135 [global::Cpp2ILInjected.Address(RVA = "0x1CAF234", Offset = "0x1CAF234", Length = "0x8")]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
138 public <>c()
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x6001457")]
144 [global::Cpp2ILInjected.Address(RVA = "0x1CAF23C", Offset = "0x1CAF23C", Length = "0x80")]
145 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ExecuteEntry", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
149 internal void <.cctor>b__10_0(object s)
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x4000AC6")]
155 public static readonly ThreadPoolTaskScheduler.<>c <>9;
156 }
157 }
158}
class f__AnonymousType0<< Count > j__TPar
override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
static readonly ParameterizedThreadStart s_longRunningThreadWork