private static void* __CopyValue(_Rep_base.Internal native) { var ret = Marshal.AllocHGlobal(24); *(_Rep_base.Internal*) ret = native; return ret.ToPointer(); }
private _Rep_base(_Rep_base.Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public static _Rep_base __CreateInstance(_Rep_base.Internal native, bool skipVTables = false) { return new _Rep_base(native, skipVTables); }