private SourceManager(SourceManager.Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public static SourceManager __CreateInstance(SourceManager.Internal native, bool skipVTables = false) { return new SourceManager(native, skipVTables); }
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(); }