private static void *_CopyValue(Foundation.ATJSONParseErrorUnsafe._Internal native) { var ret = Marshal.AllocHGlobal(sizeof(Foundation.ATJSONParseErrorUnsafe._Internal)); *(Foundation.ATJSONParseErrorUnsafe._Internal *)ret = native; return(ret.ToPointer()); }
private ATJSONParseErrorUnsafe(Foundation.ATJSONParseErrorUnsafe._Internal native, bool skipVTables = false) : this(_CopyValue(native), skipVTables) { _ownsNativeInstance = true; NativeToManagedMap[_Instance] = this; }
internal static Foundation.ATJSONParseErrorUnsafe _CreateInstance(Foundation.ATJSONParseErrorUnsafe._Internal native, bool skipVTables = false) { return(new Foundation.ATJSONParseErrorUnsafe(native, skipVTables)); }