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