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
OSSpecificSynchronizationContext.cs
Go to the documentation of this file.
1using System;
6using Mono.Interop;
7
8namespace System.Threading
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20001F3")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60011D1")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1C9C788", Offset = "0x1C9C788", Length = "0x28")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x60011D2")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1C9C47C", Offset = "0x1C9C47C", Length = "0x15C")]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContext), Member = "GetThreadLocalContext", ReturnType = typeof(SynchronizationContext))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConditionalWeakTable<, >.CreateValueCallback), Member = ".ctor", MemberParameters = new object[]
27 {
28 typeof(object),
29 typeof(global::System.IntPtr)
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConditionalWeakTable<, >), Member = "GetValue", MemberParameters = new object[] { "TKey", "CreateValueCallback<TKey, TValue>" }, ReturnType = "TValue")]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x60011D3")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1C9C7B4", Offset = "0x1C9C7B4", Length = "0x60")]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x60011D4")]
49 [global::Cpp2ILInjected.Address(RVA = "0x1C9C814", Offset = "0x1C9C814", Length = "0x38")]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
53 public override void Send(SendOrPostCallback d, object state)
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x60011D5")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1C9C84C", Offset = "0x1C9C84C", Length = "0x154")]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(OSSpecificSynchronizationContext.InvocationEntryDelegate), Member = ".ctor", MemberParameters = new object[]
62 {
63 typeof(object),
64 typeof(global::System.IntPtr)
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "GetFunctionPointerForDelegate", MemberTypeParameters = new object[] { "TDelegate" }, MemberParameters = new object[] { "TDelegate" }, ReturnType = typeof(global::System.IntPtr))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.GCHandle), Member = "Alloc", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(global::System.Runtime.InteropServices.GCHandle))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.GCHandle), Member = "ToIntPtr", MemberParameters = new object[] { typeof(global::System.Runtime.InteropServices.GCHandle) }, ReturnType = typeof(global::System.IntPtr))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
71 public override void Post(SendOrPostCallback d, object state)
72 {
73 throw null;
74 }
75
77 [global::Cpp2ILInjected.Token(Token = "0x60011D6")]
78 [global::Cpp2ILInjected.Address(RVA = "0x1C9C630", Offset = "0x1C9C630", Length = "0x158")]
79 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.GCHandle), Member = "FromIntPtr", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(global::System.Runtime.InteropServices.GCHandle))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.GCHandle), Member = "get_Target", ReturnType = typeof(object))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.GCHandle), Member = "Free", ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Exception), Member = "ReportUnhandledException", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
86 private static void InvocationEntry(global::System.IntPtr arg)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x60011D7")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1C9C7B0", Offset = "0x1C9C7B0", Length = "0x4")]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
95 [MethodImpl(4096)]
96 private static extern object GetOSContext();
97
98 [global::Cpp2ILInjected.Token(Token = "0x60011D8")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1C9CA90", Offset = "0x1C9CA90", Length = "0x4")]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
102 [MethodImpl(4096)]
103 private static extern void PostInternal(object osSynchronizationContext, global::System.IntPtr callback, global::System.IntPtr arg);
104
105 // Note: this type is marked as 'beforefieldinit'.
106 [global::Cpp2ILInjected.Token(Token = "0x60011D9")]
107 [global::Cpp2ILInjected.Address(RVA = "0x1C9CAA8", Offset = "0x1C9CAA8", Length = "0x8C")]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConditionalWeakTable<, >), Member = ".ctor", ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x4000996")]
117 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
119
120 [global::Cpp2ILInjected.Token(Token = "0x4000997")]
121 private static readonly global::System.Runtime.CompilerServices.ConditionalWeakTable<object, OSSpecificSynchronizationContext> s_ContextCache;
122
123 [global::Cpp2ILInjected.Token(Token = "0x20001F4")]
124 private delegate void InvocationEntryDelegate(global::System.IntPtr arg);
125
126 [global::Cpp2ILInjected.Token(Token = "0x20001F5")]
127 private class InvocationContext
128 {
129 [global::Cpp2ILInjected.Token(Token = "0x60011DC")]
130 [global::Cpp2ILInjected.Address(RVA = "0x1C9CA64", Offset = "0x1C9CA64", Length = "0x2C")]
131 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
133 public InvocationContext(SendOrPostCallback d, object state)
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x60011DD")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1C9CA94", Offset = "0x1C9CA94", Length = "0x14")]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
142 public void Invoke()
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x4000998")]
148 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
149 private SendOrPostCallback m_Delegate;
150
151 [global::Cpp2ILInjected.Token(Token = "0x4000999")]
152 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
153 private object m_State;
154 }
155
156 [global::System.Runtime.CompilerServices.CompilerGenerated]
157 [global::Cpp2ILInjected.Token(Token = "0x20001F6")]
158 [global::System.Serializable]
159 private sealed class <>c
160 {
161 // Note: this type is marked as 'beforefieldinit'.
162 [global::Cpp2ILInjected.Token(Token = "0x60011DE")]
163 [global::Cpp2ILInjected.Address(RVA = "0x1C9CB48", Offset = "0x1C9CB48", Length = "0x5C")]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
167 static <>c()
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x60011DF")]
173 [global::Cpp2ILInjected.Address(RVA = "0x1C9CBA4", Offset = "0x1C9CBA4", Length = "0x8")]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
176 public <>c()
177 {
178 throw null;
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x60011E0")]
182 [global::Cpp2ILInjected.Address(RVA = "0x1C9CBAC", Offset = "0x1C9CBAC", Length = "0x5C")]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
187 {
188 throw null;
189 }
190
191 [global::Cpp2ILInjected.Token(Token = "0x400099A")]
193
194 [global::Cpp2ILInjected.Token(Token = "0x400099B")]
195 public static global::System.Runtime.CompilerServices.ConditionalWeakTable<object, OSSpecificSynchronizationContext>.CreateValueCallback <>9__3_0;
196 }
197 }
198}
class f__AnonymousType0<< Count > j__TPar
static void PostInternal(object osSynchronizationContext, global::System.IntPtr callback, global::System.IntPtr arg)
override void Post(SendOrPostCallback d, object state)
static readonly global::System.Runtime.CompilerServices.ConditionalWeakTable< object, OSSpecificSynchronizationContext > s_ContextCache
delegate void InvocationEntryDelegate(global::System.IntPtr arg)
override void Send(SendOrPostCallback d, object state)