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