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