private static void* __CopyValue(TypeFormat.Internal native) { var ret = Marshal.AllocHGlobal(8); LLDB.TypeFormat.Internal.cctor_3(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); }
private TypeFormat(TypeFormat.Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public static TypeFormat __CreateInstance(TypeFormat.Internal native, bool skipVTables = false) { return new TypeFormat(native, skipVTables); }