Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Target

object? System.Runtime.InteropServices.GCHandle.Target
getset

Definition at line 12 of file GCHandle.cs.

13 {
14 get
15 {
19 }
20 set
21 {
24 if (IsPinned(handle) && !Marshal.IsPinnable(value))
25 {
26 throw new ArgumentException(SR.ArgumentException_NotIsomorphic, "value");
27 }
29 }
30 }
static bool IsPinned(IntPtr handle)
Definition GCHandle.cs:174
static void InternalSet(IntPtr handle, object value)
static void ThrowIfInvalid(IntPtr handle)
Definition GCHandle.cs:180
static IntPtr GetHandleValue(IntPtr handle)
Definition GCHandle.cs:168
static unsafe object InternalGet(IntPtr handle)
Definition GCHandle.cs:40

Referenced by System.Gen2GcCallback.~Gen2GcCallback(), and System.Net.NameResolutionPal.GetAddrInfoExState.FromHandleAndFree().