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