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