Inheritance: IDisposable
Esempio n. 1
0
 private Listener(Listener.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Esempio n. 2
0
 public static Listener __CreateInstance(Listener.Internal native, bool skipVTables = false)
 {
     return new Listener(native, skipVTables);
 }
Esempio n. 3
0
 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();
 }