<PackageReference Include="NETStandard.Library" Version="2.0.3" />

System.Runtime.InteropServices.GCHandle

public struct GCHandle
public bool IsAllocated { get; }

public object Target { get; set; }

public static GCHandle Alloc(object value)

public static GCHandle Alloc(object value, GCHandleType type)

public static GCHandle FromIntPtr(IntPtr value)

public static bool op_Equality(GCHandle a, GCHandle b)

public static GCHandle op_Explicit(IntPtr value)

public static IntPtr op_Explicit(GCHandle value)

public static bool op_Inequality(GCHandle a, GCHandle b)

public static IntPtr ToIntPtr(GCHandle value)

public IntPtr AddrOfPinnedObject()

public void Free()