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
Marshal.cs
Go to the documentation of this file.
1using System;
10using Cpp2ILInjected;
13using Mono;
15
17{
18 [global::Cpp2ILInjected.Token(Token = "0x2000450")]
19 public static class Marshal
20 {
21 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
22 [global::Cpp2ILInjected.Token(Token = "0x60021AA")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1B7108C", Offset = "0x1B7108C", Length = "0x4")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
26 [MethodImpl(4096)]
27 public static extern global::System.IntPtr AllocHGlobal(global::System.IntPtr cb);
28
29 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
30 [global::Cpp2ILInjected.Token(Token = "0x60021AB")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1B71090", Offset = "0x1B71090", Length = "0x68")]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "nativefiledialog", Member = "Utf8EncodeNullable", MemberParameters = new object[] { typeof(string) }, ReturnType = "System.Byte*")]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.Discord.DiscordRpc.RichPresence", Member = "StrToPtr", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IntPtr))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "SecureStringGlobalAllocator", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IntPtr))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Platform", Member = "CheckOS", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixNetworkInterfaceAPI", Member = "GetAllNetworkInterfaces", ReturnType = "System.Net.NetworkInformation.NetworkInterface[]")]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IntPtr))]
39 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
40 public static global::System.IntPtr AllocHGlobal(int cb)
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x60021AC")]
46 [global::Cpp2ILInjected.Address(RVA = "0x1B710F8", Offset = "0x1B710F8", Length = "0x4")]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
49 [MethodImpl(4096)]
50 private unsafe static extern void copy_to_unmanaged_fixed(global::System.Array source, int startIndex, global::System.IntPtr destination, int length, void* fixed_source_element);
51
52 [global::Cpp2ILInjected.Token(Token = "0x60021AD")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1B710FC", Offset = "0x1B710FC", Length = "0x2C")]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
57 private static bool skip_fixed(global::System.Array array, int startIndex)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60021AE")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1B71128", Offset = "0x1B71128", Length = "0xD0")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
66 {
67 typeof(byte[]),
68 typeof(int),
69 typeof(global::System.IntPtr),
70 typeof(int)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
75 internal static void copy_to_unmanaged(byte[] source, int startIndex, global::System.IntPtr destination, int length)
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x60021AF")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1B711F8", Offset = "0x1B711F8", Length = "0xEC")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.Discord.DiscordRpc.RichPresence", Member = "StrToPtr", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IntPtr))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Unity.UnityTlsContext", Member = "ReadCallback", MemberParameters = new object[]
85 {
86 "System.Byte*",
87 typeof(global::System.IntPtr),
88 "unitytls_errorstate*"
89 }, ReturnType = typeof(global::System.IntPtr))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.DeflateStreamNative", Member = "UnmanagedRead", MemberParameters = new object[]
91 {
92 typeof(global::System.IntPtr),
93 typeof(int)
94 }, ReturnType = typeof(int))]
95 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "copy_to_unmanaged", MemberParameters = new object[]
98 {
99 typeof(byte[]),
100 typeof(int),
101 typeof(global::System.IntPtr),
102 typeof(int)
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
105 public static void Copy(byte[] source, int startIndex, global::System.IntPtr destination, int length)
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x60021B0")]
111 [global::Cpp2ILInjected.Address(RVA = "0x1B712E4", Offset = "0x1B712E4", Length = "0x80")]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
113 {
114 typeof(global::System.IntPtr),
115 typeof(byte[]),
116 typeof(int),
117 typeof(int)
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
120 {
121 typeof(global::System.IntPtr),
122 typeof(char[]),
123 typeof(int),
124 typeof(int)
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
127 {
128 typeof(global::System.IntPtr),
129 typeof(short[]),
130 typeof(int),
131 typeof(int)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
134 {
135 typeof(global::System.IntPtr),
136 typeof(int[]),
137 typeof(int),
138 typeof(int)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
142 internal static void copy_from_unmanaged(global::System.IntPtr source, int startIndex, global::System.Array destination, int length)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x60021B1")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1B71364", Offset = "0x1B71364", Length = "0x4")]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
150 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
151 [MethodImpl(4096)]
152 private unsafe static extern void copy_from_unmanaged_fixed(global::System.IntPtr source, int startIndex, global::System.Array destination, int length, void* fixed_destination_element);
153
154 [global::Cpp2ILInjected.Token(Token = "0x60021B2")]
155 [global::Cpp2ILInjected.Address(RVA = "0x1B71368", Offset = "0x1B71368", Length = "0xEC")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Mono.RuntimeMarshal), Member = "DecodeBlobArray", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(byte[]))]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Interop.NetSecurityNative.GssBuffer", Member = "Copy", MemberParameters = new object[]
159 {
160 "System.Byte[]",
161 typeof(int)
162 }, ReturnType = typeof(int))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Interop.NetSecurityNative.GssBuffer", Member = "ToByteArray", ReturnType = "System.Byte[]")]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Unity.UnityTlsContext", Member = "WriteCallback", MemberParameters = new object[]
165 {
166 "System.Byte*",
167 typeof(global::System.IntPtr),
168 "unitytls_errorstate*"
169 }, ReturnType = typeof(global::System.IntPtr))]
170 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.MacOsStructs.sockaddr_dl", Member = "Read", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixStructs.sockaddr_dl", Member = "Read", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.DeflateStreamNative", Member = "UnmanagedWrite", MemberParameters = new object[]
173 {
174 typeof(global::System.IntPtr),
175 typeof(int)
176 }, ReturnType = typeof(int))]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.Networking.PlayerConnection.PlayerConnection", Member = "MessageCallbackInternal", MemberParameters = new object[]
178 {
179 typeof(global::System.IntPtr),
180 typeof(ulong),
181 typeof(ulong),
182 typeof(string)
183 }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "copy_from_unmanaged", MemberParameters = new object[]
187 {
188 typeof(global::System.IntPtr),
189 typeof(int),
190 typeof(global::System.Array),
191 typeof(int)
192 }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
194 public static void Copy(global::System.IntPtr source, byte[] destination, int startIndex, int length)
195 {
196 throw null;
197 }
198
199 [global::Cpp2ILInjected.Token(Token = "0x60021B3")]
200 [global::Cpp2ILInjected.Address(RVA = "0x1B71454", Offset = "0x1B71454", Length = "0xEC")]
201 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
202 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Mono.Globalization.Unicode.MSCompatUnicodeTable), Member = "BuildTailoringTables", MemberParameters = new object[]
203 {
204 typeof(global::System.Globalization.CultureInfo),
205 typeof(global::Mono.Globalization.Unicode.TailoringInfo),
206 typeof(ref global::Mono.Globalization.Unicode.Contraction[]),
207 typeof(ref global::Mono.Globalization.Unicode.Level2Map[])
208 }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "copy_from_unmanaged", MemberParameters = new object[]
212 {
213 typeof(global::System.IntPtr),
214 typeof(int),
215 typeof(global::System.Array),
216 typeof(int)
217 }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
219 public static void Copy(global::System.IntPtr source, char[] destination, int startIndex, int length)
220 {
221 throw null;
222 }
223
224 [global::Cpp2ILInjected.Token(Token = "0x60021B4")]
225 [global::Cpp2ILInjected.Address(RVA = "0x1B71540", Offset = "0x1B71540", Length = "0xEC")]
226 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
227 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "copy_from_unmanaged", MemberParameters = new object[]
230 {
231 typeof(global::System.IntPtr),
232 typeof(int),
233 typeof(global::System.Array),
234 typeof(int)
235 }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
237 public static void Copy(global::System.IntPtr source, short[] destination, int startIndex, int length)
238 {
239 throw null;
240 }
241
242 [global::Cpp2ILInjected.Token(Token = "0x60021B5")]
243 [global::Cpp2ILInjected.Address(RVA = "0x1B7162C", Offset = "0x1B7162C", Length = "0xEC")]
244 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.MarshalUtility", Member = "Copy", MemberParameters = new object[]
246 {
247 typeof(global::System.IntPtr),
248 "System.UInt32[]",
249 typeof(int)
250 }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "copy_from_unmanaged", MemberParameters = new object[]
254 {
255 typeof(global::System.IntPtr),
256 typeof(int),
257 typeof(global::System.Array),
258 typeof(int)
259 }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
261 public static void Copy(global::System.IntPtr source, int[] destination, int startIndex, int length)
262 {
263 throw null;
264 }
265
266 [global::Cpp2ILInjected.Token(Token = "0x60021B6")]
267 [global::Cpp2ILInjected.Address(RVA = "0x1B71718", Offset = "0x1B71718", Length = "0x4")]
268 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Variant), Member = "Clear", ReturnType = typeof(void))]
269 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
270 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
271 [MethodImpl(4096)]
272 public static extern void FreeBSTR(global::System.IntPtr ptr);
273
274 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.Success)]
275 [global::Cpp2ILInjected.Token(Token = "0x60021B7")]
276 [global::Cpp2ILInjected.Address(RVA = "0x1B7171C", Offset = "0x1B7171C", Length = "0x4")]
277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "nativefiledialog", Member = "NFD_OpenDialog", MemberParameters = new object[]
278 {
279 typeof(string),
280 typeof(string),
281 typeof(ref string)
282 }, ReturnType = "nativefiledialog.nfdresult_t")]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "nativefiledialog", Member = "NFD_OpenDialogMultiple", MemberParameters = new object[]
284 {
285 typeof(string),
286 typeof(string),
287 "nfdpathset_t&"
288 }, ReturnType = "nativefiledialog.nfdresult_t")]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "nativefiledialog", Member = "NFD_SaveDialog", MemberParameters = new object[]
290 {
291 typeof(string),
292 typeof(string),
293 typeof(ref string)
294 }, ReturnType = "nativefiledialog.nfdresult_t")]
295 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "nativefiledialog", Member = "NFD_PickFolder", MemberParameters = new object[]
296 {
297 typeof(string),
298 typeof(ref string)
299 }, ReturnType = "nativefiledialog.nfdresult_t")]
300 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.Discord.DiscordRpc.RichPresence", Member = "FreeMem", ReturnType = typeof(void))]
301 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Platform", Member = "CheckOS", ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixNetworkInterfaceAPI", Member = "GetAllNetworkInterfaces", ReturnType = "System.Net.NetworkInformation.NetworkInterface[]")]
303 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
304 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
305 [MethodImpl(4096)]
306 public static extern void FreeHGlobal(global::System.IntPtr hglobal);
307
308 [global::Cpp2ILInjected.Token(Token = "0x60021B8")]
309 [global::Cpp2ILInjected.Address(RVA = "0x1B71720", Offset = "0x1B71720", Length = "0xAC")]
310 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
311 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "ZeroFreeBSTR", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
313 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "ReadInt32", MemberParameters = new object[]
314 {
315 typeof(global::System.IntPtr),
316 typeof(int)
317 }, ReturnType = typeof(int))]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "Add", MemberParameters = new object[]
319 {
320 typeof(global::System.IntPtr),
321 typeof(int)
322 }, ReturnType = typeof(global::System.IntPtr))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
325 private unsafe static void ClearBSTR(global::System.IntPtr ptr)
326 {
327 throw null;
328 }
329
330 [global::Cpp2ILInjected.Token(Token = "0x60021B9")]
331 [global::Cpp2ILInjected.Address(RVA = "0x1B7183C", Offset = "0x1B7183C", Length = "0x5C")]
332 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithShellExecuteEx", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
334 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "ClearBSTR", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
337 public static void ZeroFreeBSTR(global::System.IntPtr s)
338 {
339 throw null;
340 }
341
342 [global::Cpp2ILInjected.Token(Token = "0x60021BA")]
343 [global::Cpp2ILInjected.Address(RVA = "0x1B71898", Offset = "0x1B71898", Length = "0x9C")]
344 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "ZeroFreeGlobalAllocAnsi", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
345 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
346 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "Add", MemberParameters = new object[]
348 {
349 typeof(global::System.IntPtr),
350 typeof(int)
351 }, ReturnType = typeof(global::System.IntPtr))]
352 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
353 private unsafe static void ClearAnsi(global::System.IntPtr ptr)
354 {
355 throw null;
356 }
357
358 [global::Cpp2ILInjected.Token(Token = "0x60021BB")]
359 [global::Cpp2ILInjected.Address(RVA = "0x1B71950", Offset = "0x1B71950", Length = "0x90")]
360 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "ZeroFreeGlobalAllocUnicode", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
362 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "ReadInt16", MemberParameters = new object[]
363 {
364 typeof(global::System.IntPtr),
365 typeof(int)
366 }, ReturnType = typeof(short))]
367 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "WriteInt16", MemberParameters = new object[]
368 {
369 typeof(global::System.IntPtr),
370 typeof(int),
371 typeof(short)
372 }, ReturnType = typeof(void))]
373 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
374 private static void ClearUnicode(global::System.IntPtr ptr)
375 {
376 throw null;
377 }
378
379 [global::Cpp2ILInjected.Token(Token = "0x60021BC")]
380 [global::Cpp2ILInjected.Address(RVA = "0x1B71A74", Offset = "0x1B71A74", Length = "0x5C")]
381 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Microsoft.Win32.SafeHandles.SafePasswordHandle), Member = "FreeHandle", ReturnType = typeof(void))]
382 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
383 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "ClearAnsi", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
384 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
385 public static void ZeroFreeGlobalAllocAnsi(global::System.IntPtr s)
386 {
387 throw null;
388 }
389
390 [global::Cpp2ILInjected.Token(Token = "0x60021BD")]
391 [global::Cpp2ILInjected.Address(RVA = "0x1B71AD0", Offset = "0x1B71AD0", Length = "0x5C")]
392 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.UnsafeNclNativeMethods.SecureStringHelper", Member = "CreateString", MemberParameters = new object[] { typeof(global::System.Security.SecureString) }, ReturnType = typeof(string))]
393 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "ClearUnicode", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
395 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
396 public static void ZeroFreeGlobalAllocUnicode(global::System.IntPtr s)
397 {
398 throw null;
399 }
400
401 [global::Cpp2ILInjected.Token(Token = "0x60021BE")]
402 [global::Cpp2ILInjected.Address(RVA = "0x1B71B2C", Offset = "0x1B71B2C", Length = "0xC")]
403 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.SharedUtilities", Member = "_HRForException", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(uint))]
404 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
405 public static int GetHRForException(global::System.Exception e)
406 {
407 throw null;
408 }
409
410 [global::Cpp2ILInjected.Token(Token = "0x60021BF")]
411 [global::Cpp2ILInjected.Address(RVA = "0x1B71B38", Offset = "0x1B71B38", Length = "0x8")]
412 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.ReferenceConverter", Member = "ConvertTo", MemberParameters = new object[]
413 {
414 "System.ComponentModel.ITypeDescriptorContext",
415 typeof(global::System.Globalization.CultureInfo),
416 typeof(object),
417 typeof(global::System.Type)
418 }, ReturnType = typeof(object))]
419 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
420 public static bool IsComObject(object o)
421 {
422 throw null;
423 }
424
425 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.Success)]
426 [global::Cpp2ILInjected.Token(Token = "0x60021C0")]
427 [global::Cpp2ILInjected.Address(RVA = "0x1B70660", Offset = "0x1B70660", Length = "0x4")]
428 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.Sys), Member = "GetLastErrorInfo", ReturnType = typeof(global::Interop.ErrorInfo))]
429 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.WindowsConsoleDriver), Member = "ReadKey", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(global::System.ConsoleKeyInfo))]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.HttpListenerException", Member = ".ctor", ReturnType = typeof(void))]
431 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.NetworkInformationException", Member = ".ctor", ReturnType = typeof(void))]
432 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.Win32Exception", Member = ".ctor", ReturnType = typeof(void))]
433 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.Win32Exception", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
434 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.Win32Exception", Member = ".ctor", MemberParameters = new object[]
435 {
436 typeof(string),
437 typeof(global::System.Exception)
438 }, ReturnType = typeof(void))]
439 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.NetCfFile", Member = "SetTimes", MemberParameters = new object[]
440 {
441 typeof(string),
442 typeof(global::System.DateTime),
443 typeof(global::System.DateTime),
444 typeof(global::System.DateTime)
445 }, ReturnType = typeof(int))]
446 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.NetCfFile", Member = "SetLastWriteTime", MemberParameters = new object[]
447 {
448 typeof(string),
449 typeof(global::System.DateTime)
450 }, ReturnType = typeof(int))]
451 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
452 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
453 [MethodImpl(4096)]
454 public static extern int GetLastWin32Error();
455
456 [global::Cpp2ILInjected.Token(Token = "0x60021C1")]
457 [global::Cpp2ILInjected.Address(RVA = "0x1B71B40", Offset = "0x1B71B40", Length = "0x4")]
458 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.Sys), Member = "StrError", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
459 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Microsoft.Win32.SafeHandles.SafePasswordHandle), Member = "Mono_DangerousGetString", ReturnType = typeof(string))]
460 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Interop.NetSecurityNative.GssApiException", Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
461 {
462 "Interop.NetSecurityNative.Status",
463 typeof(bool)
464 }, ReturnType = typeof(string))]
465 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Platform", Member = "CheckOS", ReturnType = typeof(void))]
466 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixNetworkInterfaceAPI", Member = "GetAllNetworkInterfaces", ReturnType = "System.Net.NetworkInformation.NetworkInterface[]")]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
468 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
469 [MethodImpl(4096)]
470 public static extern string PtrToStringAnsi(global::System.IntPtr ptr);
471
472 [global::Cpp2ILInjected.Token(Token = "0x60021C2")]
473 [global::Cpp2ILInjected.Address(RVA = "0x1B71B44", Offset = "0x1B71B44", Length = "0x4")]
474 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.UnsafeNclNativeMethods.SecureStringHelper", Member = "CreateString", MemberParameters = new object[] { typeof(global::System.Security.SecureString) }, ReturnType = typeof(string))]
475 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
476 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
477 [MethodImpl(4096)]
478 public static extern string PtrToStringUni(global::System.IntPtr ptr);
479
480 [ComVisible(true)]
481 [global::Cpp2ILInjected.Token(Token = "0x60021C3")]
482 [global::Cpp2ILInjected.Address(RVA = "0x1B71B48", Offset = "0x1B71B48", Length = "0x4")]
483 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "PtrToStructure", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = "T")]
484 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixNetworkInterfaceAPI", Member = "GetAllNetworkInterfaces", ReturnType = "System.Net.NetworkInformation.NetworkInterface[]")]
485 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.LinuxNetworkInterfaceAPI", Member = "GetAllNetworkInterfaces", ReturnType = "System.Net.NetworkInformation.NetworkInterface[]")]
486 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.MacOsNetworkInterfaceAPI", Member = "GetAllNetworkInterfaces", ReturnType = "System.Net.NetworkInformation.NetworkInterface[]")]
487 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 13)]
488 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
489 [MethodImpl(4096)]
490 public static extern object PtrToStructure(global::System.IntPtr ptr, global::System.Type structureType);
491
492 [global::Cpp2ILInjected.Token(Token = "0x60021C4")]
493 [global::Cpp2ILInjected.Address(RVA = "0x1590384", Offset = "0x1590384", Length = "0xF0")]
494 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
495 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Unity.UnityTls", Member = "get_NativeInterface", ReturnType = "Mono.Unity.UnityTls.unitytls_interface_struct")]
496 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
497 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
498 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "PtrToStructure", MemberParameters = new object[]
499 {
500 typeof(global::System.IntPtr),
501 typeof(global::System.Type)
502 }, ReturnType = typeof(object))]
503 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
504 public static T PtrToStructure<T>(global::System.IntPtr ptr)
505 {
506 throw null;
507 }
508
509 [global::Cpp2ILInjected.Token(Token = "0x60021C5")]
510 [global::Cpp2ILInjected.Address(RVA = "0x1B71934", Offset = "0x1B71934", Length = "0x1C")]
511 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.MacOsStructs.sockaddr_dl", Member = "Read", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
512 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixStructs.sockaddr_dl", Member = "Read", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
513 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
514 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
515 public unsafe static byte ReadByte(global::System.IntPtr ptr, int ofs)
516 {
517 throw null;
518 }
519
520 [global::Cpp2ILInjected.Token(Token = "0x60021C6")]
521 [global::Cpp2ILInjected.Address(RVA = "0x1B71A2C", Offset = "0x1B71A2C", Length = "0x48")]
522 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
523 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "ClearUnicode", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
524 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.MacOsStructs.sockaddr_dl", Member = "Read", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
525 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.AixStructs.sockaddr_dl", Member = "Read", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
526 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
527 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
528 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "Memcpy", MemberParameters = new object[]
529 {
530 typeof(byte*),
531 typeof(byte*),
532 typeof(int),
533 typeof(bool)
534 }, ReturnType = typeof(void))]
535 public unsafe static short ReadInt16(global::System.IntPtr ptr, int ofs)
536 {
537 throw null;
538 }
539
540 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.Success)]
541 [global::Cpp2ILInjected.Token(Token = "0x60021C7")]
542 [global::Cpp2ILInjected.Address(RVA = "0x1B717CC", Offset = "0x1B717CC", Length = "0x4C")]
543 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "ClearBSTR", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
544 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
545 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
546 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "Memcpy", MemberParameters = new object[]
547 {
548 typeof(byte*),
549 typeof(byte*),
550 typeof(int),
551 typeof(bool)
552 }, ReturnType = typeof(void))]
553 public unsafe static int ReadInt32(global::System.IntPtr ptr, int ofs)
554 {
555 throw null;
556 }
557
558 [global::Cpp2ILInjected.Token(Token = "0x60021C8")]
559 [global::Cpp2ILInjected.Address(RVA = "0x1B71B4C", Offset = "0x1B71B4C", Length = "0x4")]
560 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
561 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
562 [MethodImpl(4096)]
563 private unsafe static extern global::System.IntPtr StringToHGlobalAnsi(char* s, int length);
564
565 [global::Cpp2ILInjected.Token(Token = "0x60021C9")]
566 [global::Cpp2ILInjected.Address(RVA = "0x1B71B50", Offset = "0x1B71B50", Length = "0x70")]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Microsoft.Win32.SafeHandles.SafePasswordHandle), Member = "CreateHandle", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IntPtr))]
568 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
569 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
570 public static global::System.IntPtr StringToHGlobalAnsi(string s)
571 {
572 throw null;
573 }
574
575 [global::Cpp2ILInjected.Token(Token = "0x60021CA")]
576 [global::Cpp2ILInjected.Address(RVA = "0x1B71BC4", Offset = "0x1B71BC4", Length = "0x150")]
577 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
578 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "FillUserInfo", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo", "ProcInfo&" }, ReturnType = typeof(void))]
579 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
580 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.SecureString), Member = "GetBuffer", ReturnType = typeof(byte[]))]
581 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.SecureString), Member = "get_Length", ReturnType = typeof(int))]
582 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
583 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
584 public static global::System.IntPtr SecureStringToBSTR(global::System.Security.SecureString s)
585 {
586 throw null;
587 }
588
589 [global::Cpp2ILInjected.Token(Token = "0x60021CB")]
590 [global::Cpp2ILInjected.Address(RVA = "0x1B71D18", Offset = "0x1B71D18", Length = "0x54")]
591 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
592 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "AllocHGlobal", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IntPtr))]
593 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
594 internal static global::System.IntPtr SecureStringGlobalAllocator(int len)
595 {
596 throw null;
597 }
598
599 [global::Cpp2ILInjected.Token(Token = "0x60021CC")]
600 [global::Cpp2ILInjected.Address(RVA = "0x1B71D6C", Offset = "0x1B71D6C", Length = "0x264")]
601 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
602 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "SecureStringToGlobalAllocUnicode", MemberParameters = new object[] { typeof(global::System.Security.SecureString) }, ReturnType = typeof(global::System.IntPtr))]
603 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
604 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.SecureString), Member = "get_Length", ReturnType = typeof(int))]
605 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.SecureString), Member = "GetBuffer", ReturnType = typeof(byte[]))]
606 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "WriteInt16", MemberParameters = new object[]
607 {
608 typeof(global::System.IntPtr),
609 typeof(int),
610 typeof(short)
611 }, ReturnType = typeof(void))]
612 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
613 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
614 internal static global::System.IntPtr SecureStringToUnicode(global::System.Security.SecureString s, Marshal.SecureStringAllocator allocator)
615 {
616 throw null;
617 }
618
619 [global::Cpp2ILInjected.Token(Token = "0x60021CD")]
620 [global::Cpp2ILInjected.Address(RVA = "0x1B71FD0", Offset = "0x1B71FD0", Length = "0xE4")]
621 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.UnsafeNclNativeMethods.SecureStringHelper", Member = "CreateString", MemberParameters = new object[] { typeof(global::System.Security.SecureString) }, ReturnType = typeof(string))]
622 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
623 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal.SecureStringAllocator), Member = ".ctor", MemberParameters = new object[]
624 {
625 typeof(object),
626 typeof(global::System.IntPtr)
627 }, ReturnType = typeof(void))]
628 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "SecureStringToUnicode", MemberParameters = new object[]
629 {
630 typeof(global::System.Security.SecureString),
631 typeof(Marshal.SecureStringAllocator)
632 }, ReturnType = typeof(global::System.IntPtr))]
633 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
634 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
635 public static global::System.IntPtr SecureStringToGlobalAllocUnicode(global::System.Security.SecureString s)
636 {
637 throw null;
638 }
639
640 [ComVisible(true)]
641 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
642 [global::Cpp2ILInjected.Token(Token = "0x60021CE")]
643 [global::Cpp2ILInjected.Address(RVA = "0x1B72178", Offset = "0x1B72178", Length = "0x8")]
644 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "StructureToPtr", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[]
645 {
646 "T",
647 typeof(global::System.IntPtr),
648 typeof(bool)
649 }, ReturnType = typeof(void))]
650 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
651 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
652 [MethodImpl(4096)]
653 public static extern void StructureToPtr(object structure, global::System.IntPtr ptr, bool fDeleteOld);
654
655 [global::Cpp2ILInjected.Token(Token = "0x60021CF")]
656 [global::Cpp2ILInjected.Address(RVA = "0x1590474", Offset = "0x1590474", Length = "0x70")]
657 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
658 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
659 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "StructureToPtr", MemberParameters = new object[]
660 {
661 typeof(object),
662 typeof(global::System.IntPtr),
663 typeof(bool)
664 }, ReturnType = typeof(void))]
665 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
666 public static void StructureToPtr<T>(T structure, global::System.IntPtr ptr, bool fDeleteOld)
667 {
668 throw null;
669 }
670
671 [global::Cpp2ILInjected.Token(Token = "0x60021D0")]
672 [global::Cpp2ILInjected.Address(RVA = "0x1B71D14", Offset = "0x1B71D14", Length = "0x4")]
673 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
674 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
675 [MethodImpl(4096)]
676 private unsafe static extern global::System.IntPtr BufferToBSTR(char* ptr, int slen);
677
678 [global::Cpp2ILInjected.Token(Token = "0x60021D1")]
679 [global::Cpp2ILInjected.Address(RVA = "0x1B72180", Offset = "0x1B72180", Length = "0x4")]
680 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "UnsafeAddrOfPinnedArrayElement", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[]
681 {
682 "T[]",
683 typeof(int)
684 }, ReturnType = typeof(global::System.IntPtr))]
685 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
686 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
687 [MethodImpl(4096)]
688 public static extern global::System.IntPtr UnsafeAddrOfPinnedArrayElement(global::System.Array arr, int index);
689
690 [global::Cpp2ILInjected.Token(Token = "0x60021D2")]
691 [global::Cpp2ILInjected.Address(RVA = "0x15904E4", Offset = "0x15904E4", Length = "0x68")]
692 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
693 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket", Member = "Receive", MemberParameters = new object[] { "System.Collections.Generic.IList`1<ArraySegment`1<Byte>>", "System.Net.Sockets.SocketFlags", "System.Net.Sockets.SocketError&" }, ReturnType = typeof(int))]
694 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket", Member = "Send", MemberParameters = new object[] { "System.Collections.Generic.IList`1<ArraySegment`1<Byte>>", "System.Net.Sockets.SocketFlags", "System.Net.Sockets.SocketError&" }, ReturnType = typeof(int))]
695 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
696 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "UnsafeAddrOfPinnedArrayElement", MemberParameters = new object[]
697 {
698 typeof(global::System.Array),
699 typeof(int)
700 }, ReturnType = typeof(global::System.IntPtr))]
701 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
702 public static global::System.IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index)
703 {
704 throw null;
705 }
706
707 [global::Cpp2ILInjected.Token(Token = "0x60021D3")]
708 [global::Cpp2ILInjected.Address(RVA = "0x1B71818", Offset = "0x1B71818", Length = "0x24")]
709 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.Discord.DiscordRpc.RichPresence", Member = "StrToPtr", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IntPtr))]
710 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
711 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "Add", MemberParameters = new object[]
712 {
713 typeof(global::System.IntPtr),
714 typeof(int)
715 }, ReturnType = typeof(global::System.IntPtr))]
716 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
717 public unsafe static void WriteByte(global::System.IntPtr ptr, int ofs, byte val)
718 {
719 throw null;
720 }
721
722 [global::Cpp2ILInjected.Token(Token = "0x60021D4")]
723 [global::Cpp2ILInjected.Address(RVA = "0x1B719E0", Offset = "0x1B719E0", Length = "0x4C")]
724 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
725 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "ClearUnicode", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
726 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "SecureStringToUnicode", MemberParameters = new object[]
727 {
728 typeof(global::System.Security.SecureString),
729 typeof(Marshal.SecureStringAllocator)
730 }, ReturnType = typeof(global::System.IntPtr))]
731 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
732 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
733 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "Memcpy", MemberParameters = new object[]
734 {
735 typeof(byte*),
736 typeof(byte*),
737 typeof(int),
738 typeof(bool)
739 }, ReturnType = typeof(void))]
740 public unsafe static void WriteInt16(global::System.IntPtr ptr, int ofs, short val)
741 {
742 throw null;
743 }
744
745 [global::Cpp2ILInjected.Token(Token = "0x60021D5")]
746 [global::Cpp2ILInjected.Address(RVA = "0x1B72184", Offset = "0x1B72184", Length = "0x4")]
747 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Marshal), Member = "GetFunctionPointerForDelegate", MemberTypeParameters = new object[] { "TDelegate" }, MemberParameters = new object[] { "TDelegate" }, ReturnType = typeof(global::System.IntPtr))]
748 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
749 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
750 [MethodImpl(4096)]
751 private static extern global::System.IntPtr GetFunctionPointerForDelegateInternal(global::System.Delegate d);
752
753 [global::Cpp2ILInjected.Token(Token = "0x60021D6")]
754 [global::Cpp2ILInjected.Address(RVA = "0x1590298", Offset = "0x1590298", Length = "0xEC")]
755 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
756 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
757 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.OSSpecificSynchronizationContext), Member = "Post", MemberParameters = new object[]
758 {
759 typeof(global::System.Threading.SendOrPostCallback),
760 typeof(object)
761 }, ReturnType = typeof(void))]
762 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
763 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "GetFunctionPointerForDelegateInternal", MemberParameters = new object[] { typeof(global::System.Delegate) }, ReturnType = typeof(global::System.IntPtr))]
764 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
765 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
766 public static global::System.IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d)
767 {
768 throw null;
769 }
770
771 [global::Cpp2ILInjected.Token(Token = "0x60021D7")]
772 [global::Cpp2ILInjected.Address(RVA = "0x1B70668", Offset = "0x1B70668", Length = "0x4")]
773 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
774 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
775 [MethodImpl(4096)]
776 internal static extern void SetLastWin32Error(int error);
777
778 [global::Cpp2ILInjected.Token(Token = "0x60021D8")]
779 [global::Cpp2ILInjected.Address(RVA = "0x1B72188", Offset = "0x1B72188", Length = "0x7A4")]
780 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
781 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
782 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ValueTuple<object, object>), Member = ".ctor", MemberParameters = new object[]
783 {
784 typeof(object),
785 typeof(object)
786 }, ReturnType = typeof(void))]
787 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object>), Member = ".ctor", MemberParameters = new object[]
788 {
789 typeof(object),
790 typeof(global::System.IntPtr)
791 }, ReturnType = typeof(void))]
792 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.LazyInitializer), Member = "EnsureInitialized", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "T&", "System.Func`1<T>" }, ReturnType = "T")]
793 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
794 {
795 typeof(object),
796 typeof(ref bool)
797 }, ReturnType = typeof(void))]
798 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = "TryGetValue", MemberParameters = new object[] { "TKey", "TValue&" }, ReturnType = typeof(bool))]
799 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
800 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
801 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetMethod", MemberParameters = new object[]
802 {
803 typeof(string),
804 typeof(global::System.Reflection.BindingFlags),
805 typeof(global::System.Reflection.Binder),
806 typeof(global::System.Type[]),
807 typeof(global::System.Reflection.ParameterModifier[])
808 }, ReturnType = typeof(global::System.Reflection.MethodInfo))]
809 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.MethodInfo), Member = "op_Equality", MemberParameters = new object[]
810 {
811 typeof(global::System.Reflection.MethodInfo),
812 typeof(global::System.Reflection.MethodInfo)
813 }, ReturnType = typeof(bool))]
814 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Inequality", MemberParameters = new object[]
815 {
816 typeof(global::System.Type),
817 typeof(global::System.Type)
818 }, ReturnType = typeof(bool))]
819 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.RuntimeMethodInfo), Member = "InternalInvoke", MemberParameters = new object[]
820 {
821 typeof(object),
822 typeof(object[]),
823 typeof(ref global::System.Exception)
824 }, ReturnType = typeof(object))]
825 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = "set_Item", MemberParameters = new object[] { "TKey", "TValue" }, ReturnType = typeof(void))]
826 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo), Member = "Capture", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo))]
827 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo), Member = "Throw", ReturnType = typeof(void))]
828 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
829 {
830 typeof(string),
831 typeof(string),
832 typeof(string)
833 }, ReturnType = typeof(string))]
834 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ApplicationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
835 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 69)]
836 internal static ICustomMarshaler GetCustomMarshalerInstance(global::System.Type type, string cookie)
837 {
838 throw null;
839 }
840
841 // Note: this type is marked as 'beforefieldinit'.
842 [global::Cpp2ILInjected.Token(Token = "0x60021D9")]
843 [global::Cpp2ILInjected.Address(RVA = "0x1B72A20", Offset = "0x1B72A20", Length = "0xA0")]
844 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
845 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
846 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_IsRunningOnWindows", ReturnType = typeof(bool))]
847 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
848 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
849 static Marshal()
850 {
851 throw null;
852 }
853
854 [global::Cpp2ILInjected.Token(Token = "0x4001284")]
856
857 [global::Cpp2ILInjected.Token(Token = "0x4001285")]
859
860 [global::Cpp2ILInjected.Token(Token = "0x4001286")]
861 internal static global::System.Collections.Generic.Dictionary<global::System.ValueTuple<global::System.Type, string>, ICustomMarshaler> MarshalerInstanceCache;
862
863 [global::Cpp2ILInjected.Token(Token = "0x4001287")]
864 internal static readonly object MarshalerInstanceCacheLock;
865
866 [global::Cpp2ILInjected.Token(Token = "0x2000451")]
867 internal delegate global::System.IntPtr SecureStringAllocator(int len);
868
869 [global::Cpp2ILInjected.Token(Token = "0x2000452")]
870 internal class MarshalerInstanceKeyComparer : global::System.Collections.Generic.IEqualityComparer<global::System.ValueTuple<global::System.Type, string>>
871 {
872 [global::Cpp2ILInjected.Token(Token = "0x60021DC")]
873 [global::Cpp2ILInjected.Address(RVA = "0x1B72AD4", Offset = "0x1B72AD4", Length = "0x74")]
874 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
875 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
876 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ValueTuple<object, object>), Member = "CompareTo", MemberParameters = new object[] { typeof(global::System.ValueTuple<object, object>) }, ReturnType = typeof(int))]
877 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
879 {
880 throw null;
881 }
882
883 [global::Cpp2ILInjected.Token(Token = "0x60021DD")]
884 [global::Cpp2ILInjected.Address(RVA = "0x1B72B48", Offset = "0x1B72B48", Length = "0x54")]
885 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
886 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ValueTuple<object, object>), Member = "GetHashCode", ReturnType = typeof(int))]
887 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
889 {
890 throw null;
891 }
892
893 [global::Cpp2ILInjected.Token(Token = "0x60021DE")]
894 [global::Cpp2ILInjected.Address(RVA = "0x1B72B9C", Offset = "0x1B72B9C", Length = "0x8")]
895 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
896 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
898 {
899 throw null;
900 }
901 }
902
903 [global::System.Runtime.CompilerServices.CompilerGenerated]
904 [global::Cpp2ILInjected.Token(Token = "0x2000453")]
905 [global::System.Serializable]
906 private sealed class <>c
907 {
908 // Note: this type is marked as 'beforefieldinit'.
909 [global::Cpp2ILInjected.Token(Token = "0x60021DF")]
910 [global::Cpp2ILInjected.Address(RVA = "0x1B72BA4", Offset = "0x1B72BA4", Length = "0x5C")]
911 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
912 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
913 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
914 static <>c()
915 {
916 throw null;
917 }
918
919 [global::Cpp2ILInjected.Token(Token = "0x60021E0")]
920 [global::Cpp2ILInjected.Address(RVA = "0x1B72C00", Offset = "0x1B72C00", Length = "0x8")]
921 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
922 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
923 public <>c()
924 {
925 throw null;
926 }
927
928 [global::Cpp2ILInjected.Token(Token = "0x60021E1")]
929 [global::Cpp2ILInjected.Address(RVA = "0x1B72C08", Offset = "0x1B72C08", Length = "0x9C")]
930 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
931 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
932 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = ".ctor", MemberParameters = new object[] { "System.Collections.Generic.IEqualityComparer`1<TKey>" }, ReturnType = typeof(void))]
933 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
934 internal global::System.Collections.Generic.Dictionary<global::System.ValueTuple<global::System.Type, string>, ICustomMarshaler> <GetCustomMarshalerInstance>b__201_0()
935 {
936 throw null;
937 }
938
939 [global::Cpp2ILInjected.Token(Token = "0x4001288")]
940 public static readonly Marshal.<>c <>9;
941
942 [global::Cpp2ILInjected.Token(Token = "0x4001289")]
943 public static global::System.Func<global::System.Collections.Generic.Dictionary<global::System.ValueTuple<global::System.Type, string>, ICustomMarshaler>> <>9__201_0;
944 }
945 }
946}
class f__AnonymousType0<< Count > j__TPar
static Runtime()
Definition Runtime.cs:16
bool Equals(global::System.ValueTuple< global::System.Type, string > lhs, global::System.ValueTuple< global::System.Type, string > rhs)
Definition Marshal.cs:878
int GetHashCode(global::System.ValueTuple< global::System.Type, string > key)
Definition Marshal.cs:888
static unsafe int ReadInt32(global::System.IntPtr ptr, int ofs)
Definition Marshal.cs:553
static object PtrToStructure(global::System.IntPtr ptr, global::System.Type structureType)
static readonly object MarshalerInstanceCacheLock
Definition Marshal.cs:864
static void ZeroFreeGlobalAllocAnsi(global::System.IntPtr s)
Definition Marshal.cs:385
static string PtrToStringAnsi(global::System.IntPtr ptr)
static void copy_from_unmanaged(global::System.IntPtr source, int startIndex, global::System.Array destination, int length)
Definition Marshal.cs:142
static global::System.IntPtr StringToHGlobalAnsi(string s)
Definition Marshal.cs:570
static void ClearUnicode(global::System.IntPtr ptr)
Definition Marshal.cs:374
static void copy_to_unmanaged(byte[] source, int startIndex, global::System.IntPtr destination, int length)
Definition Marshal.cs:75
static global::System.IntPtr SecureStringToBSTR(global::System.Security.SecureString s)
Definition Marshal.cs:584
static unsafe void WriteInt16(global::System.IntPtr ptr, int ofs, short val)
Definition Marshal.cs:740
static void ZeroFreeGlobalAllocUnicode(global::System.IntPtr s)
Definition Marshal.cs:396
static global::System.IntPtr UnsafeAddrOfPinnedArrayElement(global::System.Array arr, int index)
static int GetHRForException(global::System.Exception e)
Definition Marshal.cs:405
static void Copy(global::System.IntPtr source, short[] destination, int startIndex, int length)
Definition Marshal.cs:237
static unsafe void WriteByte(global::System.IntPtr ptr, int ofs, byte val)
Definition Marshal.cs:717
static unsafe void ClearBSTR(global::System.IntPtr ptr)
Definition Marshal.cs:325
static void Copy(global::System.IntPtr source, byte[] destination, int startIndex, int length)
Definition Marshal.cs:194
static void Copy(byte[] source, int startIndex, global::System.IntPtr destination, int length)
Definition Marshal.cs:105
static global::System.IntPtr SecureStringToUnicode(global::System.Security.SecureString s, Marshal.SecureStringAllocator allocator)
Definition Marshal.cs:614
static readonly int SystemDefaultCharSize
Definition Marshal.cs:858
static unsafe global::System.IntPtr BufferToBSTR(char *ptr, int slen)
static void StructureToPtr(object structure, global::System.IntPtr ptr, bool fDeleteOld)
static global::System.IntPtr GetFunctionPointerForDelegateInternal(global::System.Delegate d)
static unsafe short ReadInt16(global::System.IntPtr ptr, int ofs)
Definition Marshal.cs:535
static string PtrToStringUni(global::System.IntPtr ptr)
static ICustomMarshaler GetCustomMarshalerInstance(global::System.Type type, string cookie)
Definition Marshal.cs:836
delegate global::System.IntPtr SecureStringAllocator(int len)
static void Copy(global::System.IntPtr source, int[] destination, int startIndex, int length)
Definition Marshal.cs:261
static void FreeHGlobal(global::System.IntPtr hglobal)
static void Copy(global::System.IntPtr source, char[] destination, int startIndex, int length)
Definition Marshal.cs:219
static bool IsComObject(object o)
Definition Marshal.cs:420
static void SetLastWin32Error(int error)
static unsafe void copy_from_unmanaged_fixed(global::System.IntPtr source, int startIndex, global::System.Array destination, int length, void *fixed_destination_element)
static unsafe global::System.IntPtr StringToHGlobalAnsi(char *s, int length)
static global::System.IntPtr AllocHGlobal(int cb)
Definition Marshal.cs:40
static unsafe void ClearAnsi(global::System.IntPtr ptr)
Definition Marshal.cs:353
static void FreeBSTR(global::System.IntPtr ptr)
static unsafe byte ReadByte(global::System.IntPtr ptr, int ofs)
Definition Marshal.cs:515
static global::System.IntPtr SecureStringToGlobalAllocUnicode(global::System.Security.SecureString s)
Definition Marshal.cs:635
static readonly int SystemMaxDBCSCharSize
Definition Marshal.cs:855
static bool skip_fixed(global::System.Array array, int startIndex)
Definition Marshal.cs:57
static global::System.IntPtr SecureStringGlobalAllocator(int len)
Definition Marshal.cs:594
static global::System.IntPtr AllocHGlobal(global::System.IntPtr cb)
static global::System.Collections.Generic.Dictionary< global::System.ValueTuple< global::System.Type, string >, ICustomMarshaler > MarshalerInstanceCache
Definition Marshal.cs:861
static void ZeroFreeBSTR(global::System.IntPtr s)
Definition Marshal.cs:337
static unsafe void copy_to_unmanaged_fixed(global::System.Array source, int startIndex, global::System.IntPtr destination, int length, void *fixed_source_element)
IntPtr(int value)
Definition IntPtr.cs:46