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
SynchronizationContext.cs
Go to the documentation of this file.
1using System;
9
10namespace System.Threading
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20001F2")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x60011C3")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1C9C240", Offset = "0x1C9C240", Length = "0x8")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.AsyncOperationManager", Member = "get_SynchronizationContext", ReturnType = typeof(SynchronizationContext))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UnitySynchronizationContext", Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UnitySynchronizationContext", Member = ".ctor", MemberParameters = new object[]
20 {
21 "System.Collections.Generic.List`1<WorkRequest>",
22 typeof(int)
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x60011C4")]
32 [global::Cpp2ILInjected.Address(RVA = "0x1C9C248", Offset = "0x1C9C248", Length = "0xC")]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitOneNative", MemberParameters = new object[]
34 {
35 typeof(global::System.Runtime.InteropServices.SafeHandle),
36 typeof(uint),
37 typeof(bool),
38 typeof(bool)
39 }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitMultiple", MemberParameters = new object[]
41 {
43 typeof(int),
44 typeof(bool),
45 typeof(bool)
46 }, ReturnType = typeof(int))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x60011C5")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1C9C254", Offset = "0x1C9C254", Length = "0x18")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
57 public virtual void Send(SendOrPostCallback d, object state)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60011C6")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1C9C26C", Offset = "0x1C9C26C", Length = "0x88")]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitCallback), Member = ".ctor", MemberParameters = new object[]
66 {
67 typeof(object),
68 typeof(global::System.IntPtr)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItem", MemberParameters = new object[]
71 {
72 typeof(WaitCallback),
73 typeof(object)
74 }, ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
76 public virtual void Post(SendOrPostCallback d, object state)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x60011C7")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1C9C2F4", Offset = "0x1C9C2F4", Length = "0x4")]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 public virtual void OperationStarted()
85 {
86 throw null;
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x60011C8")]
90 [global::Cpp2ILInjected.Address(RVA = "0x1C9C2F8", Offset = "0x1C9C2F8", Length = "0x4")]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
92 public virtual void OperationCompleted()
93 {
94 throw null;
95 }
96
97 [global::System.CLSCompliant(false)]
98 [global::System.Runtime.ConstrainedExecution.PrePrepareMethod]
99 [global::Cpp2ILInjected.Token(Token = "0x60011C9")]
100 [global::Cpp2ILInjected.Address(RVA = "0x1C9C2FC", Offset = "0x1C9C2FC", Length = "0x60")]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
104 public virtual int Wait(global::System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
105 {
106 throw null;
107 }
108
109 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
110 [global::System.CLSCompliant(false)]
111 [global::System.Runtime.ConstrainedExecution.PrePrepareMethod]
112 [global::Cpp2ILInjected.Token(Token = "0x60011CA")]
113 [global::Cpp2ILInjected.Address(RVA = "0x1C9C35C", Offset = "0x1C9C35C", Length = "0x90")]
114 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "Wait_internal", MemberParameters = new object[]
117 {
118 typeof(global::System.IntPtr*),
119 typeof(int),
120 typeof(bool),
121 typeof(int)
122 }, ReturnType = typeof(int))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
124 protected unsafe static int WaitHelper(global::System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x60011CB")]
130 [global::Cpp2ILInjected.Address(RVA = "0x1C9C3EC", Offset = "0x1C9C3EC", Length = "0x1C")]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.AwaitTaskContinuation), Member = "RunCallback", MemberParameters = new object[]
132 {
133 typeof(ContextCallback),
134 typeof(object),
135 typeof(ref global::System.Threading.Tasks.Task)
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.AsyncOperationManager", Member = "get_SynchronizationContext", ReturnType = typeof(SynchronizationContext))]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.AsyncOperationManager", Member = "set_SynchronizationContext", MemberParameters = new object[] { typeof(SynchronizationContext) }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UnitySynchronizationContext", Member = "InitializeSynchronizationContext", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "get_CurrentThread", ReturnType = typeof(Thread))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "GetMutableExecutionContext", ReturnType = typeof(ExecutionContext))]
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x170001AE")]
149 public static SynchronizationContext Current
150 {
151 [global::Cpp2ILInjected.Token(Token = "0x60011CC")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1C9492C", Offset = "0x1C9492C", Length = "0x28")]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationToken), Member = "Register", MemberParameters = new object[]
154 {
155 typeof(global::System.Action<object>),
156 typeof(object),
157 typeof(bool),
158 typeof(bool)
159 }, ReturnType = typeof(CancellationTokenRegistration))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContext), Member = "get_CurrentExplicit", ReturnType = typeof(SynchronizationContext))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitOneNative", MemberParameters = new object[]
162 {
163 typeof(global::System.Runtime.InteropServices.SafeHandle),
164 typeof(uint),
165 typeof(bool),
166 typeof(bool)
167 }, ReturnType = typeof(int))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitMultiple", MemberParameters = new object[]
169 {
171 typeof(int),
172 typeof(bool),
173 typeof(bool)
174 }, ReturnType = typeof(int))]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "SetContinuationForAwait", MemberParameters = new object[]
176 {
177 typeof(global::System.Action),
178 typeof(bool),
179 typeof(bool)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation), Member = "Run", MemberParameters = new object[]
182 {
183 typeof(global::System.Threading.Tasks.Task),
184 typeof(bool)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.AwaitTaskContinuation), Member = "get_IsValidLocationForInlining", ReturnType = typeof(bool))]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs", Member = "OnCompleted", MemberParameters = new object[]
188 {
189 "System.Action`1<Object>",
190 typeof(object),
191 typeof(short),
192 typeof(global::System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)
193 }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.AsyncOperationManager", Member = "get_SynchronizationContext", ReturnType = typeof(SynchronizationContext))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UnitySynchronizationContext", Member = "ExecuteTasks", ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UnitySynchronizationContext", Member = "ExecutePendingTasks", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(bool))]
197 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "get_CurrentThread", ReturnType = typeof(Thread))]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "GetThreadLocalContext", ReturnType = typeof(SynchronizationContext))]
200 get
201 {
202 throw null;
203 }
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x170001AF")]
207 internal static SynchronizationContext CurrentNoFlow
208 {
209 [global::System.Runtime.CompilerServices.FriendAccessAllowed]
210 [global::Cpp2ILInjected.Token(Token = "0x60011CD")]
211 [global::Cpp2ILInjected.Address(RVA = "0x1C9C454", Offset = "0x1C9C454", Length = "0x28")]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.CompilerServices.AsyncVoidMethodBuilder), Member = "Create", ReturnType = typeof(global::System.Runtime.CompilerServices.AsyncVoidMethodBuilder))]
213 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "get_CurrentThread", ReturnType = typeof(Thread))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "GetThreadLocalContext", ReturnType = typeof(SynchronizationContext))]
216 get
217 {
218 throw null;
219 }
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x60011CE")]
223 [global::Cpp2ILInjected.Address(RVA = "0x1C9C408", Offset = "0x1C9C408", Length = "0x4C")]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContext), Member = "get_Current", ReturnType = typeof(SynchronizationContext))]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContext), Member = "get_CurrentNoFlow", ReturnType = typeof(SynchronizationContext))]
226 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(OSSpecificSynchronizationContext), Member = "Get", ReturnType = typeof(OSSpecificSynchronizationContext))]
228 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x60011CF")]
235 [global::Cpp2ILInjected.Address(RVA = "0x1C9C5D8", Offset = "0x1C9C5D8", Length = "0x54")]
236 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
240 {
241 throw null;
242 }
243
244 [global::Cpp2ILInjected.Token(Token = "0x170001B0")]
245 internal static SynchronizationContext CurrentExplicit
246 {
247 [global::Cpp2ILInjected.Token(Token = "0x60011D0")]
248 [global::Cpp2ILInjected.Address(RVA = "0x1C9C62C", Offset = "0x1C9C62C", Length = "0x4")]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.AwaitTaskContinuation), Member = "RunCallback", MemberParameters = new object[]
250 {
251 typeof(ContextCallback),
252 typeof(object),
253 typeof(ref global::System.Threading.Tasks.Task)
254 }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "get_Current", ReturnType = typeof(SynchronizationContext))]
257 get
258 {
259 throw null;
260 }
261 }
262
263 [global::Cpp2ILInjected.Token(Token = "0x4000990")]
264 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
266
267 [global::Cpp2ILInjected.Token(Token = "0x4000991")]
268 private static global::System.Type s_cachedPreparedType1;
269
270 [global::Cpp2ILInjected.Token(Token = "0x4000992")]
271 private static global::System.Type s_cachedPreparedType2;
272
273 [global::Cpp2ILInjected.Token(Token = "0x4000993")]
274 private static global::System.Type s_cachedPreparedType3;
275
276 [global::Cpp2ILInjected.Token(Token = "0x4000994")]
277 private static global::System.Type s_cachedPreparedType4;
278
279 [global::Cpp2ILInjected.Token(Token = "0x4000995")]
280 private static global::System.Type s_cachedPreparedType5;
281 }
282}
class f__AnonymousType0<< Count > j__TPar
SynchronizationContextProperties _props
static void SetSynchronizationContext(SynchronizationContext syncContext)
virtual void Post(SendOrPostCallback d, object state)
static unsafe int WaitHelper(global::System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
static SynchronizationContext GetThreadLocalContext()
virtual void Send(SendOrPostCallback d, object state)
virtual int Wait(global::System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
virtual SynchronizationContext CreateCopy()