Inheritance: IDisposable
示例#1
0
 public static Target __CreateInstance(Target.Internal native, bool skipVTables = false)
 {
     return new Target(native, skipVTables);
 }
示例#2
0
 private Target(Target.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
示例#3
0
 private static void* __CopyValue(Target.Internal native)
 {
     var ret = Marshal.AllocHGlobal(8);
     LLDB.Target.Internal.cctor_1(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }