Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HandleMarshaler.cs
Go to the documentation of this file.
3
4namespace System.StubHelpers;
5
6internal sealed class HandleMarshaler
7{
9 {
10 if (Unsafe.IsNullRef(ref cleanupWorkList))
11 {
13 }
14 if (handle == null)
15 {
16 throw new ArgumentNullException("handle");
17 }
18 return StubHelpers.AddToCleanupList(ref cleanupWorkList, handle);
19 }
20
25
30}
static string Interop_Marshal_CannotCreateCriticalHandleField
Definition SR.cs:1380
static string Interop_Marshal_CannotCreateSafeHandleField
Definition SR.cs:1378
static string Interop_Marshal_SafeHandle_InvalidOperation
Definition SR.cs:1376
Definition SR.cs:7
static IntPtr ConvertSafeHandleToNative(SafeHandle handle, ref CleanupWorkListElement cleanupWorkList)
static IntPtr AddToCleanupList(ref CleanupWorkListElement pCleanupWorkList, SafeHandle handle)