From dabdb43a23d311b330124faa413b8ed1b289019f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joa=CC=83o=20Matos?= Date: Mon, 6 Apr 2020 00:54:21 +0100 Subject: [PATCH] Re-generated parser bindings on MacOS and Linux. --- .../CppSharp.CppParser.cs | 1700 +++++++---------- .../CSharp/i686-apple-darwin12.4.0/Std.cs | 21 +- .../CppSharp.CppParser.cs | 1700 +++++++---------- .../CSharp/x86_64-apple-darwin12.4.0/Std.cs | 21 +- .../CppSharp.CppParser.cs | 1690 +++++++--------- .../CSharp/x86_64-linux-gnu-cxx11abi/Std.cs | 32 +- .../x86_64-linux-gnu/CppSharp.CppParser.cs | 1690 +++++++--------- .../Bindings/CSharp/x86_64-linux-gnu/Std.cs | 32 +- 8 files changed, 2980 insertions(+), 3906 deletions(-) diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs index e0f69b0c..ce2224c1 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs @@ -130,7 +130,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -172,7 +171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NativeLibrary.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) @@ -183,7 +182,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -198,7 +197,7 @@ namespace CppSharp global::CppSharp.Parser.AST.NativeLibrary __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -206,7 +205,7 @@ namespace CppSharp public string GetSymbols(uint i) { - var __ret = __Internal.GetSymbols((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSymbols(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -217,17 +216,17 @@ namespace CppSharp public void AddSymbols(string s) { - __Internal.AddSymbols((__Instance + __PointerAdjustment), s); + __Internal.AddSymbols(__Instance, s); } public void ClearSymbols() { - __Internal.ClearSymbols((__Instance + __PointerAdjustment)); + __Internal.ClearSymbols(__Instance); } public string GetDependencies(uint i) { - var __ret = __Internal.GetDependencies((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDependencies(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -238,12 +237,12 @@ namespace CppSharp public void AddDependencies(string s) { - __Internal.AddDependencies((__Instance + __PointerAdjustment), s); + __Internal.AddDependencies(__Instance, s); } public void ClearDependencies() { - __Internal.ClearDependencies((__Instance + __PointerAdjustment)); + __Internal.ClearDependencies(__Instance); } public string FileName @@ -277,7 +276,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSymbolsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSymbolsCount(__Instance); return __ret; } } @@ -286,7 +285,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDependenciesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDependenciesCount(__Instance); return __ret; } } @@ -313,7 +312,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -355,7 +353,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Comment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Comment(global::CppSharp.Parser.AST.Comment _0) @@ -452,7 +450,6 @@ namespace CppSharp protected BlockContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -464,7 +461,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -473,7 +470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) @@ -565,7 +562,6 @@ namespace CppSharp protected FullComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -577,7 +573,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullComment(global::CppSharp.Parser.AST.FullComment _0) @@ -589,7 +585,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -599,7 +595,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -607,7 +603,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockContentComment GetBlocks(uint i) { - var __ret = __Internal.GetBlocks((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBlocks(__Instance, i); global::CppSharp.Parser.AST.BlockContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BlockContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -622,19 +618,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBlocks((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBlocks(__Instance, __arg0); } public void ClearBlocks() { - __Internal.ClearBlocks((__Instance + __PointerAdjustment)); + __Internal.ClearBlocks(__Instance); } public uint BlocksCount { get { - var __ret = __Internal.GetBlocksCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBlocksCount(__Instance); return __ret; } } @@ -694,7 +690,6 @@ namespace CppSharp protected InlineContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -706,7 +701,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -715,7 +710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public InlineContentComment(global::CppSharp.Parser.AST.InlineContentComment _0) @@ -823,7 +818,6 @@ namespace CppSharp protected ParagraphComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -835,7 +829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParagraphComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) @@ -847,7 +841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -857,7 +851,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -865,7 +859,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineContentComment GetContent(uint i) { - var __ret = __Internal.GetContent((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetContent(__Instance, i); global::CppSharp.Parser.AST.InlineContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.InlineContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -880,12 +874,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddContent((__Instance + __PointerAdjustment), __arg0); + __Internal.AddContent(__Instance, __arg0); } public void ClearContent() { - __Internal.ClearContent((__Instance + __PointerAdjustment)); + __Internal.ClearContent(__Instance); } public bool IsWhitespace @@ -905,7 +899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetContentCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetContentCount(__Instance); return __ret; } } @@ -995,7 +989,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -1037,7 +1030,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) @@ -1048,7 +1041,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -1063,7 +1056,7 @@ namespace CppSharp global::CppSharp.Parser.AST.BlockCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1111,7 +1104,6 @@ namespace CppSharp protected BlockCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1123,7 +1115,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1132,7 +1124,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) @@ -1144,7 +1136,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1154,7 +1146,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1163,7 +1155,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.BlockCommandComment.Argument.__CreateInstance(__ret); } @@ -1172,12 +1164,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1220,7 +1212,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -1299,7 +1291,6 @@ namespace CppSharp protected ParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1311,7 +1302,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) @@ -1323,7 +1314,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1333,7 +1324,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1449,7 +1440,6 @@ namespace CppSharp protected TParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1461,7 +1451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) @@ -1473,7 +1463,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1483,7 +1473,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1491,7 +1481,7 @@ namespace CppSharp public uint GetPosition(uint i) { - var __ret = __Internal.GetPosition((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPosition(__Instance, i); return __ret; } @@ -1500,20 +1490,20 @@ namespace CppSharp fixed (uint* __s0 = &s) { var __arg0 = __s0; - __Internal.AddPosition((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPosition(__Instance, __arg0); } } public void ClearPosition() { - __Internal.ClearPosition((__Instance + __PointerAdjustment)); + __Internal.ClearPosition(__Instance); } public uint PositionCount { get { - var __ret = __Internal.GetPositionCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPositionCount(__Instance); return __ret; } } @@ -1573,7 +1563,6 @@ namespace CppSharp protected VerbatimBlockLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1585,7 +1574,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineComment _0) @@ -1597,7 +1586,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1607,7 +1596,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1711,7 +1700,6 @@ namespace CppSharp protected VerbatimBlockComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1723,7 +1711,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) @@ -1735,7 +1723,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1745,7 +1733,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1753,7 +1741,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VerbatimBlockLineComment GetLines(uint i) { - var __ret = __Internal.GetLines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLines(__Instance, i); global::CppSharp.Parser.AST.VerbatimBlockLineComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VerbatimBlockLineComment.NativeToManagedMap.ContainsKey(__ret)) @@ -1768,19 +1756,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddLines((__Instance + __PointerAdjustment), __arg0); + __Internal.AddLines(__Instance, __arg0); } public void ClearLines() { - __Internal.ClearLines((__Instance + __PointerAdjustment)); + __Internal.ClearLines(__Instance); } public uint LinesCount { get { - var __ret = __Internal.GetLinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLinesCount(__Instance); return __ret; } } @@ -1849,7 +1837,6 @@ namespace CppSharp protected VerbatimLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1861,7 +1848,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) @@ -1873,7 +1860,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1883,7 +1870,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1994,7 +1981,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2036,7 +2022,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) @@ -2047,7 +2033,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2062,7 +2048,7 @@ namespace CppSharp global::CppSharp.Parser.AST.InlineCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2110,7 +2096,6 @@ namespace CppSharp protected InlineCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2122,7 +2107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) @@ -2134,7 +2119,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2144,7 +2129,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2153,7 +2138,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.InlineCommandComment.Argument.__CreateInstance(__ret); } @@ -2162,12 +2147,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint CommandId @@ -2200,7 +2185,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -2260,7 +2245,6 @@ namespace CppSharp protected HTMLTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2272,7 +2256,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLTagComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -2281,7 +2265,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) @@ -2381,7 +2365,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2423,7 +2406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) @@ -2434,7 +2417,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2449,7 +2432,7 @@ namespace CppSharp global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2511,7 +2494,6 @@ namespace CppSharp protected HTMLStartTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2523,7 +2505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) @@ -2535,7 +2517,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2545,7 +2527,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2554,7 +2536,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute GetAttributes(uint i) { var __ret = new global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal(); - __Internal.GetAttributes(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetAttributes(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__CreateInstance(__ret); } @@ -2563,12 +2545,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddAttributes((__Instance + __PointerAdjustment), __arg0); + __Internal.AddAttributes(__Instance, __arg0); } public void ClearAttributes() { - __Internal.ClearAttributes((__Instance + __PointerAdjustment)); + __Internal.ClearAttributes(__Instance); } public string TagName @@ -2589,7 +2571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetAttributesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetAttributesCount(__Instance); return __ret; } } @@ -2652,7 +2634,6 @@ namespace CppSharp protected HTMLEndTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2664,7 +2645,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLEndTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) @@ -2676,7 +2657,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2686,7 +2667,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2764,7 +2745,6 @@ namespace CppSharp protected TextComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2776,7 +2756,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TextComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TextComment(global::CppSharp.Parser.AST.TextComment _0) @@ -2788,7 +2768,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2798,7 +2778,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2854,7 +2834,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2896,7 +2875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.RawComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public RawComment(global::CppSharp.Parser.AST.RawComment _0) @@ -2907,7 +2886,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2922,7 +2901,7 @@ namespace CppSharp global::CppSharp.Parser.AST.RawComment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -3106,7 +3085,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3156,7 +3134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.SourceRange.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public void Dispose() @@ -3311,7 +3289,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3353,7 +3330,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Type.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Type(global::CppSharp.Parser.AST.Type _0) @@ -3364,7 +3341,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -3437,7 +3414,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3569,7 +3545,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3611,7 +3586,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.QualifiedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) @@ -3724,7 +3699,6 @@ namespace CppSharp protected TagType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3736,7 +3710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TagType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TagType(global::CppSharp.Parser.AST.TagType _0) @@ -3748,7 +3722,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.Declaration Declaration @@ -3839,7 +3813,6 @@ namespace CppSharp protected ArrayType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3851,7 +3824,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayType(global::CppSharp.Parser.AST.ArrayType _0) @@ -3863,7 +3836,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedType @@ -4007,7 +3980,6 @@ namespace CppSharp protected FunctionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4019,7 +3991,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) @@ -4031,7 +4003,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4041,7 +4013,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4049,7 +4021,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -4064,12 +4036,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -4117,7 +4089,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -4186,7 +4158,6 @@ namespace CppSharp protected PointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4198,7 +4169,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PointerType(global::CppSharp.Parser.AST.PointerType _0) @@ -4210,7 +4181,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedPointee @@ -4294,7 +4265,6 @@ namespace CppSharp protected MemberPointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4306,7 +4276,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberPointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) @@ -4318,7 +4288,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Pointee @@ -4389,7 +4359,6 @@ namespace CppSharp protected TypedefType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4401,7 +4370,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) @@ -4413,7 +4382,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.TypedefNameDecl Declaration @@ -4490,7 +4459,6 @@ namespace CppSharp protected AttributedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4502,7 +4470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) @@ -4514,7 +4482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Modified @@ -4606,7 +4574,6 @@ namespace CppSharp protected DecayedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4618,7 +4585,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DecayedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) @@ -4630,7 +4597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Decayed @@ -4721,7 +4688,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -4763,7 +4729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateArgument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) @@ -4933,7 +4899,6 @@ namespace CppSharp protected TemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4945,7 +4910,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializationType _0) @@ -4957,7 +4922,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4967,7 +4932,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4976,7 +4941,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -4985,12 +4950,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.Template Template @@ -5030,7 +4995,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5116,7 +5081,6 @@ namespace CppSharp protected DependentTemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5128,7 +5092,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentTemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.DependentTemplateSpecializationType _0) @@ -5140,7 +5104,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5150,7 +5114,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5159,7 +5123,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -5168,12 +5132,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5195,7 +5159,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5267,7 +5231,6 @@ namespace CppSharp protected TemplateParameterType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5279,7 +5242,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _0) @@ -5291,7 +5254,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5301,7 +5264,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5420,7 +5383,6 @@ namespace CppSharp protected TemplateParameterSubstitutionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5432,7 +5394,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType _0) @@ -5444,7 +5406,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Replacement @@ -5536,7 +5498,6 @@ namespace CppSharp protected InjectedClassNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5548,7 +5509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InjectedClassNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _0) @@ -5560,7 +5521,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType InjectedSpecializationType @@ -5657,7 +5618,6 @@ namespace CppSharp protected DependentNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5669,7 +5629,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) @@ -5681,7 +5641,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5691,7 +5651,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5776,7 +5736,6 @@ namespace CppSharp protected PackExpansionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5788,7 +5747,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) @@ -5800,7 +5759,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } } @@ -5859,7 +5818,6 @@ namespace CppSharp protected UnaryTransformType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5871,7 +5829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryTransformType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) @@ -5883,7 +5841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5969,7 +5927,6 @@ namespace CppSharp protected UnresolvedUsingType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5981,7 +5938,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) @@ -5993,7 +5950,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.UnresolvedUsingTypename Declaration @@ -6070,7 +6027,6 @@ namespace CppSharp protected VectorType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6082,7 +6038,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VectorType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VectorType(global::CppSharp.Parser.AST.VectorType _0) @@ -6094,7 +6050,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType ElementType @@ -6178,7 +6134,6 @@ namespace CppSharp protected BuiltinType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6190,7 +6145,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BuiltinType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BuiltinType(global::CppSharp.Parser.AST.BuiltinType _0) @@ -6202,7 +6157,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.PrimitiveType Type @@ -6538,7 +6493,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -6580,7 +6534,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Declaration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Declaration(global::CppSharp.Parser.AST.Declaration _0) @@ -6591,7 +6545,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -6606,7 +6560,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -6614,7 +6568,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.PreprocessedEntity GetPreprocessedEntities(uint i) { - var __ret = __Internal.GetPreprocessedEntities((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPreprocessedEntities(__Instance, i); global::CppSharp.Parser.AST.PreprocessedEntity __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret)) @@ -6629,17 +6583,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddPreprocessedEntities((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPreprocessedEntities(__Instance, __arg0); } public void ClearPreprocessedEntities() { - __Internal.ClearPreprocessedEntities((__Instance + __PointerAdjustment)); + __Internal.ClearPreprocessedEntities(__Instance); } public global::CppSharp.Parser.AST.Declaration GetRedeclarations(uint i) { - var __ret = __Internal.GetRedeclarations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetRedeclarations(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -6654,12 +6608,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddRedeclarations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddRedeclarations(__Instance, __arg0); } public void ClearRedeclarations() { - __Internal.ClearRedeclarations((__Instance + __PointerAdjustment)); + __Internal.ClearRedeclarations(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Declaration(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -6923,7 +6877,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetPreprocessedEntitiesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPreprocessedEntitiesCount(__Instance); return __ret; } } @@ -6932,7 +6886,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetRedeclarationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetRedeclarationsCount(__Instance); return __ret; } } @@ -7259,7 +7213,6 @@ namespace CppSharp protected DeclarationContext(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7271,7 +7224,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclarationContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) @@ -7283,7 +7236,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7293,7 +7246,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7301,7 +7254,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Namespace GetNamespaces(uint i) { - var __ret = __Internal.GetNamespaces((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetNamespaces(__Instance, i); global::CppSharp.Parser.AST.Namespace __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret)) @@ -7316,17 +7269,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddNamespaces((__Instance + __PointerAdjustment), __arg0); + __Internal.AddNamespaces(__Instance, __arg0); } public void ClearNamespaces() { - __Internal.ClearNamespaces((__Instance + __PointerAdjustment)); + __Internal.ClearNamespaces(__Instance); } public global::CppSharp.Parser.AST.Enumeration GetEnums(uint i) { - var __ret = __Internal.GetEnums((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetEnums(__Instance, i); global::CppSharp.Parser.AST.Enumeration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret)) @@ -7341,17 +7294,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddEnums((__Instance + __PointerAdjustment), __arg0); + __Internal.AddEnums(__Instance, __arg0); } public void ClearEnums() { - __Internal.ClearEnums((__Instance + __PointerAdjustment)); + __Internal.ClearEnums(__Instance); } public global::CppSharp.Parser.AST.Function GetFunctions(uint i) { - var __ret = __Internal.GetFunctions((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFunctions(__Instance, i); global::CppSharp.Parser.AST.Function __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret)) @@ -7366,17 +7319,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFunctions((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFunctions(__Instance, __arg0); } public void ClearFunctions() { - __Internal.ClearFunctions((__Instance + __PointerAdjustment)); + __Internal.ClearFunctions(__Instance); } public global::CppSharp.Parser.AST.Class GetClasses(uint i) { - var __ret = __Internal.GetClasses((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetClasses(__Instance, i); global::CppSharp.Parser.AST.Class __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret)) @@ -7391,17 +7344,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddClasses((__Instance + __PointerAdjustment), __arg0); + __Internal.AddClasses(__Instance, __arg0); } public void ClearClasses() { - __Internal.ClearClasses((__Instance + __PointerAdjustment)); + __Internal.ClearClasses(__Instance); } public global::CppSharp.Parser.AST.Template GetTemplates(uint i) { - var __ret = __Internal.GetTemplates((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTemplates(__Instance, i); global::CppSharp.Parser.AST.Template __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret)) @@ -7416,17 +7369,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTemplates((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTemplates(__Instance, __arg0); } public void ClearTemplates() { - __Internal.ClearTemplates((__Instance + __PointerAdjustment)); + __Internal.ClearTemplates(__Instance); } public global::CppSharp.Parser.AST.TypedefDecl GetTypedefs(uint i) { - var __ret = __Internal.GetTypedefs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypedefs(__Instance, i); global::CppSharp.Parser.AST.TypedefDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -7441,17 +7394,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypedefs((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypedefs(__Instance, __arg0); } public void ClearTypedefs() { - __Internal.ClearTypedefs((__Instance + __PointerAdjustment)); + __Internal.ClearTypedefs(__Instance); } public global::CppSharp.Parser.AST.TypeAlias GetTypeAliases(uint i) { - var __ret = __Internal.GetTypeAliases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypeAliases(__Instance, i); global::CppSharp.Parser.AST.TypeAlias __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypeAlias.NativeToManagedMap.ContainsKey(__ret)) @@ -7466,17 +7419,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypeAliases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypeAliases(__Instance, __arg0); } public void ClearTypeAliases() { - __Internal.ClearTypeAliases((__Instance + __PointerAdjustment)); + __Internal.ClearTypeAliases(__Instance); } public global::CppSharp.Parser.AST.Variable GetVariables(uint i) { - var __ret = __Internal.GetVariables((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetVariables(__Instance, i); global::CppSharp.Parser.AST.Variable __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret)) @@ -7491,17 +7444,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddVariables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVariables(__Instance, __arg0); } public void ClearVariables() { - __Internal.ClearVariables((__Instance + __PointerAdjustment)); + __Internal.ClearVariables(__Instance); } public global::CppSharp.Parser.AST.Friend GetFriends(uint i) { - var __ret = __Internal.GetFriends((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFriends(__Instance, i); global::CppSharp.Parser.AST.Friend __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret)) @@ -7516,12 +7469,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFriends((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFriends(__Instance, __arg0); } public void ClearFriends() { - __Internal.ClearFriends((__Instance + __PointerAdjustment)); + __Internal.ClearFriends(__Instance); } public static implicit operator global::CppSharp.Parser.AST.DeclarationContext(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -7546,7 +7499,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetNamespacesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetNamespacesCount(__Instance); return __ret; } } @@ -7555,7 +7508,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetEnumsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetEnumsCount(__Instance); return __ret; } } @@ -7564,7 +7517,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFunctionsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFunctionsCount(__Instance); return __ret; } } @@ -7573,7 +7526,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetClassesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetClassesCount(__Instance); return __ret; } } @@ -7582,7 +7535,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTemplatesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTemplatesCount(__Instance); return __ret; } } @@ -7591,7 +7544,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypedefsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypedefsCount(__Instance); return __ret; } } @@ -7600,7 +7553,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypeAliasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypeAliasesCount(__Instance); return __ret; } } @@ -7609,7 +7562,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVariablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVariablesCount(__Instance); return __ret; } } @@ -7618,7 +7571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFriendsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFriendsCount(__Instance); return __ret; } } @@ -7735,7 +7688,6 @@ namespace CppSharp protected TypedefNameDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7747,7 +7699,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefNameDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) @@ -7759,7 +7711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7769,7 +7721,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7907,7 +7859,6 @@ namespace CppSharp protected TypedefDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7919,7 +7870,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) @@ -7931,7 +7882,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7941,7 +7892,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8062,7 +8013,6 @@ namespace CppSharp protected TypeAlias(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8074,7 +8024,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAlias.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) @@ -8086,7 +8036,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8096,7 +8046,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8232,7 +8182,6 @@ namespace CppSharp protected Friend(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8244,7 +8193,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Friend.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Friend(global::CppSharp.Parser.AST.Friend _0) @@ -8256,7 +8205,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8266,7 +8215,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8323,7 +8272,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -8369,7 +8317,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8381,7 +8329,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -8396,7 +8344,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8505,7 +8453,6 @@ namespace CppSharp protected ExpressionObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8521,7 +8468,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8534,7 +8481,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8544,7 +8491,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8617,7 +8564,6 @@ namespace CppSharp protected BinaryOperatorObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8637,7 +8583,7 @@ namespace CppSharp var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); var __arg3 = __basicString3.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1, __arg2, __arg3); + __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); __basicString0.Dispose(); __basicString3.Dispose(); } @@ -8651,7 +8597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8661,7 +8607,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8798,7 +8744,6 @@ namespace CppSharp protected CallExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8814,7 +8759,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8827,7 +8772,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8837,7 +8782,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8845,7 +8790,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -8860,19 +8805,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -8958,7 +8903,6 @@ namespace CppSharp protected CXXConstructExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8974,7 +8918,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8987,7 +8931,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8997,7 +8941,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9005,7 +8949,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -9020,19 +8964,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -9164,7 +9108,6 @@ namespace CppSharp protected Parameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9176,7 +9119,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Parameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Parameter(global::CppSharp.Parser.AST.Parameter _0) @@ -9188,7 +9131,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9198,7 +9141,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9516,7 +9459,6 @@ namespace CppSharp protected Function(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9528,7 +9470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Function.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Function(global::CppSharp.Parser.AST.Function _0) @@ -9540,7 +9482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9550,7 +9492,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9558,7 +9500,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -9573,12 +9515,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -9854,7 +9796,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -10114,7 +10056,6 @@ namespace CppSharp protected Method(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10126,7 +10067,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Method.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Method(global::CppSharp.Parser.AST.Method _0) @@ -10138,7 +10079,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10148,7 +10089,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10156,7 +10097,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Method GetOverriddenMethods(uint i) { - var __ret = __Internal.GetOverriddenMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetOverriddenMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -10171,12 +10112,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddOverriddenMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddOverriddenMethods(__Instance, __arg0); } public void ClearOverriddenMethods() { - __Internal.ClearOverriddenMethods((__Instance + __PointerAdjustment)); + __Internal.ClearOverriddenMethods(__Instance); } public bool IsVirtual @@ -10315,7 +10256,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetOverriddenMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetOverriddenMethodsCount(__Instance); return __ret; } } @@ -10594,7 +10535,6 @@ namespace CppSharp protected Item(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10606,7 +10546,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.Item.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) @@ -10618,7 +10558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10628,7 +10568,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10689,7 +10629,6 @@ namespace CppSharp protected Enumeration(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10701,7 +10640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) @@ -10713,7 +10652,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10723,7 +10662,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10731,7 +10670,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Enumeration.Item GetItems(uint i) { - var __ret = __Internal.GetItems((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetItems(__Instance, i); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.Item.NativeToManagedMap.ContainsKey(__ret)) @@ -10746,12 +10685,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddItems((__Instance + __PointerAdjustment), __arg0); + __Internal.AddItems(__Instance, __arg0); } public void ClearItems() { - __Internal.ClearItems((__Instance + __PointerAdjustment)); + __Internal.ClearItems(__Instance); } public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) @@ -10759,7 +10698,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, Name); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindItemByName((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindItemByName(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -10822,7 +10761,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetItemsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetItemsCount(__Instance); return __ret; } } @@ -10942,7 +10881,6 @@ namespace CppSharp protected Variable(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10954,7 +10892,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Variable.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Variable(global::CppSharp.Parser.AST.Variable _0) @@ -10966,7 +10904,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10976,7 +10914,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11042,7 +10980,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11084,7 +11021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BaseClassSpecifier.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) @@ -11289,7 +11226,6 @@ namespace CppSharp protected Field(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11301,7 +11237,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Field.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Field(global::CppSharp.Parser.AST.Field _0) @@ -11313,7 +11249,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11323,7 +11259,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11497,7 +11433,6 @@ namespace CppSharp protected AccessSpecifierDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11509,7 +11444,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AccessSpecifierDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) @@ -11521,7 +11456,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11531,7 +11466,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11565,7 +11500,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11607,7 +11541,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableComponent.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) @@ -11725,7 +11659,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11767,7 +11700,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) @@ -11778,7 +11711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11793,7 +11726,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VTableLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11802,7 +11735,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VTableComponent GetComponents(uint i) { var __ret = new global::CppSharp.Parser.AST.VTableComponent.__Internal(); - __Internal.GetComponents(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetComponents(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.VTableComponent.__CreateInstance(__ret); } @@ -11811,19 +11744,19 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddComponents((__Instance + __PointerAdjustment), __arg0); + __Internal.AddComponents(__Instance, __arg0); } public void ClearComponents() { - __Internal.ClearComponents((__Instance + __PointerAdjustment)); + __Internal.ClearComponents(__Instance); } public uint ComponentsCount { get { - var __ret = __Internal.GetComponentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetComponentsCount(__Instance); return __ret; } } @@ -11864,7 +11797,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11906,7 +11838,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VFTableInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) @@ -11917,7 +11849,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11932,7 +11864,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VFTableInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12028,7 +11960,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12070,7 +12001,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutField.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutField(global::CppSharp.Parser.AST.LayoutField other) @@ -12081,7 +12012,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12096,7 +12027,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutField __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12187,7 +12118,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12229,7 +12159,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutBase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) @@ -12240,7 +12170,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12255,7 +12185,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutBase __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12409,7 +12339,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12451,7 +12380,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) @@ -12462,7 +12391,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12477,7 +12406,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ClassLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12486,7 +12415,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VFTableInfo GetVFTables(uint i) { var __ret = new global::CppSharp.Parser.AST.VFTableInfo.__Internal(); - __Internal.GetVFTables(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetVFTables(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.VFTableInfo.__CreateInstance(__ret); } @@ -12495,18 +12424,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddVFTables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVFTables(__Instance, __arg0); } public void ClearVFTables() { - __Internal.ClearVFTables((__Instance + __PointerAdjustment)); + __Internal.ClearVFTables(__Instance); } public global::CppSharp.Parser.AST.LayoutField GetFields(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutField.__Internal(); - __Internal.GetFields(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetFields(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutField.__CreateInstance(__ret); } @@ -12515,18 +12444,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.LayoutBase GetBases(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutBase.__Internal(); - __Internal.GetBases(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetBases(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutBase.__CreateInstance(__ret); } @@ -12535,12 +12464,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.CppAbi ABI @@ -12653,7 +12582,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVFTablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVFTablesCount(__Instance); return __ret; } } @@ -12662,7 +12591,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -12671,7 +12600,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -12943,7 +12872,6 @@ namespace CppSharp protected Class(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -12955,7 +12883,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Class.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Class(global::CppSharp.Parser.AST.Class _0) @@ -12967,7 +12895,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -12977,7 +12905,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12985,7 +12913,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BaseClassSpecifier GetBases(uint i) { - var __ret = __Internal.GetBases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBases(__Instance, i); global::CppSharp.Parser.AST.BaseClassSpecifier __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret)) @@ -13000,17 +12928,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.Field GetFields(uint i) { - var __ret = __Internal.GetFields((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFields(__Instance, i); global::CppSharp.Parser.AST.Field __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret)) @@ -13025,17 +12953,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.Method GetMethods(uint i) { - var __ret = __Internal.GetMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -13050,17 +12978,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMethods(__Instance, __arg0); } public void ClearMethods() { - __Internal.ClearMethods((__Instance + __PointerAdjustment)); + __Internal.ClearMethods(__Instance); } public global::CppSharp.Parser.AST.AccessSpecifierDecl GetSpecifiers(uint i) { - var __ret = __Internal.GetSpecifiers((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecifiers(__Instance, i); global::CppSharp.Parser.AST.AccessSpecifierDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -13075,12 +13003,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecifiers((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecifiers(__Instance, __arg0); } public void ClearSpecifiers() { - __Internal.ClearSpecifiers((__Instance + __PointerAdjustment)); + __Internal.ClearSpecifiers(__Instance); } public bool IsPOD @@ -13235,7 +13163,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -13244,7 +13172,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -13253,7 +13181,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMethodsCount(__Instance); return __ret; } } @@ -13262,7 +13190,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecifiersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecifiersCount(__Instance); return __ret; } } @@ -13407,7 +13335,6 @@ namespace CppSharp protected Template(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13419,7 +13346,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Template() @@ -13428,7 +13355,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Template(global::CppSharp.Parser.AST.Template _0) @@ -13440,7 +13367,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13450,7 +13377,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13458,7 +13385,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -13473,12 +13400,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Template(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -13508,7 +13435,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -13628,7 +13555,6 @@ namespace CppSharp protected TypeAliasTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13640,7 +13566,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAliasTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) @@ -13652,7 +13578,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13662,7 +13588,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13786,7 +13712,6 @@ namespace CppSharp protected TemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13798,7 +13723,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) @@ -13810,7 +13735,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13820,7 +13745,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13994,7 +13919,6 @@ namespace CppSharp protected TemplateTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14006,7 +13930,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplateParameter _0) @@ -14018,7 +13942,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14028,7 +13952,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14194,7 +14118,6 @@ namespace CppSharp protected TypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14206,7 +14129,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _0) @@ -14218,7 +14141,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14228,7 +14151,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14382,7 +14305,6 @@ namespace CppSharp protected NonTypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14394,7 +14316,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NonTypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParameter _0) @@ -14406,7 +14328,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14416,7 +14338,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14645,7 +14567,6 @@ namespace CppSharp protected ClassTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14657,7 +14578,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) @@ -14669,7 +14590,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14679,7 +14600,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14687,7 +14608,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ClassTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -14702,12 +14623,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) @@ -14715,7 +14636,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14730,7 +14651,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14744,7 +14665,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -14965,7 +14886,6 @@ namespace CppSharp protected ClassTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14977,7 +14897,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpecialization _0) @@ -14989,7 +14909,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14999,7 +14919,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15008,7 +14928,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15017,12 +14937,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.ClassTemplate TemplatedDecl @@ -15060,7 +14980,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15261,7 +15181,6 @@ namespace CppSharp protected ClassTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15273,7 +15192,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization _0) @@ -15285,7 +15204,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15295,7 +15214,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15444,7 +15363,6 @@ namespace CppSharp protected FunctionTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15456,7 +15374,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) @@ -15468,7 +15386,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15478,7 +15396,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15486,7 +15404,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.FunctionTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15501,12 +15419,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) @@ -15514,7 +15432,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15528,7 +15446,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -15589,7 +15507,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -15631,7 +15548,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTemplateSpecialization _0) @@ -15642,7 +15559,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -15657,7 +15574,7 @@ namespace CppSharp global::CppSharp.Parser.AST.FunctionTemplateSpecialization __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15666,7 +15583,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15675,12 +15592,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplate Template @@ -15736,7 +15653,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15889,7 +15806,6 @@ namespace CppSharp protected VarTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15901,7 +15817,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) @@ -15913,7 +15829,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15923,7 +15839,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15931,7 +15847,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VarTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VarTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15946,12 +15862,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) @@ -15959,7 +15875,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15974,7 +15890,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15988,7 +15904,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -16137,7 +16053,6 @@ namespace CppSharp protected VarTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16149,7 +16064,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpecialization _0) @@ -16161,7 +16076,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16171,7 +16086,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16180,7 +16095,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -16189,12 +16104,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.VarTemplate TemplatedDecl @@ -16232,7 +16147,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -16361,7 +16276,6 @@ namespace CppSharp protected VarTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16373,7 +16287,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization _0) @@ -16385,7 +16299,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16395,7 +16309,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16510,7 +16424,6 @@ namespace CppSharp protected UnresolvedUsingTypename(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16522,7 +16435,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingTypename.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypename _0) @@ -16534,7 +16447,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16544,7 +16457,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16695,7 +16608,6 @@ namespace CppSharp protected Namespace(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16707,7 +16619,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Namespace.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Namespace(global::CppSharp.Parser.AST.Namespace _0) @@ -16719,7 +16631,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16729,7 +16641,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16776,7 +16688,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -16818,7 +16729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PreprocessedEntity.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) @@ -16954,7 +16865,6 @@ namespace CppSharp protected MacroDefinition(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16966,7 +16876,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroDefinition.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) @@ -16978,7 +16888,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16988,7 +16898,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17115,7 +17025,6 @@ namespace CppSharp protected MacroExpansion(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17127,7 +17036,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroExpansion.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) @@ -17139,7 +17048,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17149,7 +17058,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17375,7 +17284,6 @@ namespace CppSharp protected TranslationUnit(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17387,7 +17295,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TranslationUnit.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) @@ -17399,7 +17307,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17409,7 +17317,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17417,7 +17325,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.MacroDefinition GetMacros(uint i) { - var __ret = __Internal.GetMacros((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMacros(__Instance, i); global::CppSharp.Parser.AST.MacroDefinition __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret)) @@ -17432,12 +17340,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMacros((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMacros(__Instance, __arg0); } public void ClearMacros() { - __Internal.ClearMacros((__Instance + __PointerAdjustment)); + __Internal.ClearMacros(__Instance); } public string FileName @@ -17471,7 +17379,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMacrosCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMacrosCount(__Instance); return __ret; } } @@ -17528,7 +17436,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17570,7 +17477,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ASTContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) @@ -17581,7 +17488,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -17596,7 +17503,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ASTContext __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17607,7 +17514,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, File); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindOrCreateModule((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindOrCreateModule(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -17619,7 +17526,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { - var __ret = __Internal.GetTranslationUnits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTranslationUnits(__Instance, i); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret)) @@ -17634,19 +17541,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTranslationUnits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTranslationUnits(__Instance, __arg0); } public void ClearTranslationUnits() { - __Internal.ClearTranslationUnits((__Instance + __PointerAdjustment)); + __Internal.ClearTranslationUnits(__Instance); } public uint TranslationUnitsCount { get { - var __ret = __Internal.GetTranslationUnitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTranslationUnitsCount(__Instance); return __ret; } } @@ -17826,7 +17733,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17868,7 +17774,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Stmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -17876,7 +17782,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Stmt(global::CppSharp.Parser.AST.Stmt _0) @@ -18052,7 +17958,6 @@ namespace CppSharp protected DeclStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18064,7 +17969,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) @@ -18076,7 +17981,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18086,7 +17991,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18094,7 +17999,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration Getdecls(uint i) { - var __ret = __Internal.Getdecls((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getdecls(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -18109,12 +18014,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Adddecls((__Instance + __PointerAdjustment), __arg0); + __Internal.Adddecls(__Instance, __arg0); } public void Cleardecls() { - __Internal.Cleardecls((__Instance + __PointerAdjustment)); + __Internal.Cleardecls(__Instance); } public bool IsSingleDecl @@ -18152,7 +18057,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetdeclsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetdeclsCount(__Instance); return __ret; } } @@ -18219,7 +18124,6 @@ namespace CppSharp protected NullStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18231,7 +18135,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NullStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NullStmt(global::CppSharp.Parser.AST.NullStmt _0) @@ -18371,7 +18275,6 @@ namespace CppSharp protected CompoundStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18383,7 +18286,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) @@ -18395,7 +18298,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18405,7 +18308,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18413,7 +18316,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Stmt Getbody(uint i) { - var __ret = __Internal.Getbody((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getbody(__Instance, i); global::CppSharp.Parser.AST.Stmt __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Stmt.NativeToManagedMap.ContainsKey(__ret)) @@ -18428,12 +18331,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addbody((__Instance + __PointerAdjustment), __arg0); + __Internal.Addbody(__Instance, __arg0); } public void Clearbody() { - __Internal.Clearbody((__Instance + __PointerAdjustment)); + __Internal.Clearbody(__Instance); } public bool BodyEmpty @@ -18528,7 +18431,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetbodyCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetbodyCount(__Instance); return __ret; } } @@ -18603,7 +18506,6 @@ namespace CppSharp protected SwitchCase(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18615,7 +18517,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchCase(global::CppSharp.Parser.AST.StmtClass klass) @@ -18624,7 +18526,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) @@ -18765,7 +18667,6 @@ namespace CppSharp protected CaseStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18777,7 +18678,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CaseStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CaseStmt(global::CppSharp.Parser.AST.CaseStmt _0) @@ -18932,7 +18833,6 @@ namespace CppSharp protected DefaultStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18944,7 +18844,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DefaultStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) @@ -19034,7 +18934,6 @@ namespace CppSharp protected LabelStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19046,7 +18945,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LabelStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LabelStmt(global::CppSharp.Parser.AST.LabelStmt _0) @@ -19173,7 +19072,6 @@ namespace CppSharp protected AttributedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19185,7 +19083,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) @@ -19320,7 +19218,6 @@ namespace CppSharp protected IfStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19332,7 +19229,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IfStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IfStmt(global::CppSharp.Parser.AST.IfStmt _0) @@ -19605,7 +19502,6 @@ namespace CppSharp protected SwitchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19617,7 +19513,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchStmt(global::CppSharp.Parser.AST.SwitchStmt _0) @@ -19824,7 +19720,6 @@ namespace CppSharp protected WhileStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19836,7 +19731,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.WhileStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public WhileStmt(global::CppSharp.Parser.AST.WhileStmt _0) @@ -19999,7 +19894,6 @@ namespace CppSharp protected DoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20011,7 +19905,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) @@ -20178,7 +20072,6 @@ namespace CppSharp protected ForStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20190,7 +20083,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ForStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) @@ -20393,7 +20286,6 @@ namespace CppSharp protected GotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20405,7 +20297,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) @@ -20508,7 +20400,6 @@ namespace CppSharp protected IndirectGotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20520,7 +20411,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IndirectGotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) @@ -20635,7 +20526,6 @@ namespace CppSharp protected ContinueStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20647,7 +20537,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ContinueStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) @@ -20731,7 +20621,6 @@ namespace CppSharp protected BreakStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20743,7 +20632,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BreakStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) @@ -20830,7 +20719,6 @@ namespace CppSharp protected ReturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20842,7 +20730,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ReturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) @@ -21018,7 +20906,6 @@ namespace CppSharp protected AsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21030,7 +20917,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21039,7 +20926,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) @@ -21051,7 +20938,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21061,7 +20948,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21069,7 +20956,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getinputs(uint i) { - var __ret = __Internal.Getinputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getinputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21084,17 +20971,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addinputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addinputs(__Instance, __arg0); } public void Clearinputs() { - __Internal.Clearinputs((__Instance + __PointerAdjustment)); + __Internal.Clearinputs(__Instance); } public global::CppSharp.Parser.AST.Expr Getoutputs(uint i) { - var __ret = __Internal.Getoutputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getoutputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21109,12 +20996,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addoutputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addoutputs(__Instance, __arg0); } public void Clearoutputs() { - __Internal.Clearoutputs((__Instance + __PointerAdjustment)); + __Internal.Clearoutputs(__Instance); } public static implicit operator global::CppSharp.Parser.AST.AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21217,7 +21104,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetinputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetinputsCount(__Instance); return __ret; } } @@ -21226,7 +21113,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetoutputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetoutputsCount(__Instance); return __ret; } } @@ -21339,7 +21226,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -21381,7 +21267,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) @@ -21392,7 +21278,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -21407,7 +21293,7 @@ namespace CppSharp global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21507,7 +21393,6 @@ namespace CppSharp protected GCCAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21519,7 +21404,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) @@ -21531,7 +21416,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21541,7 +21426,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21660,7 +21545,6 @@ namespace CppSharp protected MSAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21672,7 +21556,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) @@ -21684,7 +21568,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21694,7 +21578,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21818,7 +21702,6 @@ namespace CppSharp protected SEHExceptStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21830,7 +21713,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHExceptStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) @@ -21953,7 +21836,6 @@ namespace CppSharp protected SEHFinallyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21965,7 +21847,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHFinallyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) @@ -22082,7 +21964,6 @@ namespace CppSharp protected SEHTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22094,7 +21975,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHTryStmt(global::CppSharp.Parser.AST.SEHTryStmt _0) @@ -22263,7 +22144,6 @@ namespace CppSharp protected SEHLeaveStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22275,7 +22155,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHLeaveStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) @@ -22407,7 +22287,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -22449,7 +22328,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.Capture.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) @@ -22582,7 +22461,6 @@ namespace CppSharp protected CapturedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22594,7 +22472,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) @@ -22606,7 +22484,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -22616,7 +22494,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -22624,7 +22502,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -22639,12 +22517,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.AST.Stmt capturedStmt @@ -22682,7 +22560,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -22752,7 +22630,6 @@ namespace CppSharp protected CXXCatchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22764,7 +22641,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXCatchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) @@ -22887,7 +22764,6 @@ namespace CppSharp protected CXXTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22899,7 +22775,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTryStmt(global::CppSharp.Parser.AST.CXXTryStmt _0) @@ -23050,7 +22926,6 @@ namespace CppSharp protected CXXForRangeStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23062,7 +22937,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXForRangeStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) @@ -23356,7 +23231,6 @@ namespace CppSharp protected MSDependentExistsStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23368,7 +23242,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSDependentExistsStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSDependentExistsStmt(global::CppSharp.Parser.AST.MSDependentExistsStmt _0) @@ -23540,7 +23414,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -23582,7 +23455,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) @@ -23637,7 +23510,6 @@ namespace CppSharp protected CoroutineBodyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23649,7 +23521,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineBodyStmt(global::CppSharp.Parser.AST.CoroutineBodyStmt _0) @@ -23965,7 +23837,6 @@ namespace CppSharp protected CoreturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23977,7 +23848,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoreturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoreturnStmt(global::CppSharp.Parser.AST.CoreturnStmt _0) @@ -24457,7 +24328,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -24499,7 +24369,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.Classification.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) @@ -24658,7 +24528,6 @@ namespace CppSharp protected Expr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -24670,7 +24539,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Expr(global::CppSharp.Parser.AST.StmtClass klass) @@ -24679,7 +24548,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Expr(global::CppSharp.Parser.AST.Expr _0) @@ -24996,7 +24865,6 @@ namespace CppSharp protected FullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25008,7 +24876,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -25017,7 +24885,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) @@ -25153,7 +25021,6 @@ namespace CppSharp protected ConstantExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25165,7 +25032,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConstantExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) @@ -25284,7 +25151,6 @@ namespace CppSharp protected OpaqueValueExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25296,7 +25162,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OpaqueValueExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OpaqueValueExpr(global::CppSharp.Parser.AST.OpaqueValueExpr _0) @@ -25486,7 +25352,6 @@ namespace CppSharp protected DeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25498,7 +25363,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclRefExpr(global::CppSharp.Parser.AST.DeclRefExpr _0) @@ -25775,7 +25640,6 @@ namespace CppSharp protected IntegerLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25787,7 +25651,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IntegerLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IntegerLiteral(global::CppSharp.Parser.AST.IntegerLiteral _0) @@ -25929,7 +25793,6 @@ namespace CppSharp protected FixedPointLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25941,7 +25804,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FixedPointLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FixedPointLiteral(global::CppSharp.Parser.AST.FixedPointLiteral _0) @@ -26095,7 +25958,6 @@ namespace CppSharp protected CharacterLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26107,7 +25969,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CharacterLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CharacterLiteral(global::CppSharp.Parser.AST.CharacterLiteral _0) @@ -26265,7 +26127,6 @@ namespace CppSharp protected FloatingLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26277,7 +26138,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FloatingLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FloatingLiteral(global::CppSharp.Parser.AST.FloatingLiteral _0) @@ -26429,7 +26290,6 @@ namespace CppSharp protected ImaginaryLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26441,7 +26301,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImaginaryLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) @@ -26628,7 +26488,6 @@ namespace CppSharp protected StringLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26640,7 +26499,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StringLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) @@ -26652,7 +26511,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -26662,7 +26521,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -26981,7 +26840,6 @@ namespace CppSharp protected PredefinedExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26993,7 +26851,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PredefinedExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) @@ -27138,7 +26996,6 @@ namespace CppSharp protected ParenExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27150,7 +27007,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) @@ -27334,7 +27191,6 @@ namespace CppSharp protected UnaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27346,7 +27202,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryOperator(global::CppSharp.Parser.AST.UnaryOperator _0) @@ -27603,7 +27459,6 @@ namespace CppSharp protected OffsetOfExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27615,7 +27470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OffsetOfExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OffsetOfExpr(global::CppSharp.Parser.AST.OffsetOfExpr _0) @@ -27798,7 +27653,6 @@ namespace CppSharp protected UnaryExprOrTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27810,7 +27664,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryExprOrTypeTraitExpr(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr _0) @@ -28035,7 +27889,6 @@ namespace CppSharp protected ArraySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28047,7 +27900,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArraySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) @@ -28299,7 +28152,6 @@ namespace CppSharp protected CallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28311,7 +28163,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28320,7 +28172,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) @@ -28332,7 +28184,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -28342,7 +28194,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -28350,7 +28202,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -28365,12 +28217,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28501,7 +28353,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -28643,7 +28495,6 @@ namespace CppSharp protected MemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28655,7 +28506,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberExpr(global::CppSharp.Parser.AST.MemberExpr _0) @@ -28948,7 +28799,6 @@ namespace CppSharp protected CompoundLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28960,7 +28810,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundLiteralExpr(global::CppSharp.Parser.AST.CompoundLiteralExpr _0) @@ -29140,7 +28990,6 @@ namespace CppSharp protected CastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29152,7 +29001,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29161,7 +29010,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CastExpr(global::CppSharp.Parser.AST.CastExpr _0) @@ -29420,7 +29269,6 @@ namespace CppSharp protected ImplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29432,7 +29280,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitCastExpr(global::CppSharp.Parser.AST.ImplicitCastExpr _0) @@ -29584,7 +29432,6 @@ namespace CppSharp protected ExplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29596,7 +29443,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExplicitCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29605,7 +29452,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) @@ -29765,7 +29612,6 @@ namespace CppSharp protected CStyleCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29777,7 +29623,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CStyleCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) @@ -29980,7 +29826,6 @@ namespace CppSharp protected BinaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29992,7 +29837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30001,7 +29846,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) @@ -30013,7 +29858,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30023,7 +29868,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30458,7 +30303,6 @@ namespace CppSharp protected CompoundAssignOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30470,7 +30314,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundAssignOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator _0) @@ -30482,7 +30326,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30492,7 +30336,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30646,7 +30490,6 @@ namespace CppSharp protected AbstractConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30658,7 +30501,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30667,7 +30510,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractConditionalOperator _0) @@ -30883,7 +30726,6 @@ namespace CppSharp protected ConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30895,7 +30737,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) @@ -31062,7 +30904,6 @@ namespace CppSharp protected BinaryConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31074,7 +30915,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOperator _0) @@ -31226,7 +31067,6 @@ namespace CppSharp protected AddrLabelExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31238,7 +31078,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AddrLabelExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) @@ -31383,7 +31223,6 @@ namespace CppSharp protected StmtExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31395,7 +31234,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StmtExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) @@ -31558,7 +31397,6 @@ namespace CppSharp protected ShuffleVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31570,7 +31408,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ShuffleVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ShuffleVectorExpr(global::CppSharp.Parser.AST.ShuffleVectorExpr _0) @@ -31728,7 +31566,6 @@ namespace CppSharp protected ConvertVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31740,7 +31577,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConvertVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) @@ -31918,7 +31755,6 @@ namespace CppSharp protected ChooseExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31930,7 +31766,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ChooseExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ChooseExpr(global::CppSharp.Parser.AST.ChooseExpr _0) @@ -32167,7 +32003,6 @@ namespace CppSharp protected GNUNullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32179,7 +32014,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GNUNullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) @@ -32314,7 +32149,6 @@ namespace CppSharp protected VAArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32326,7 +32160,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VAArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VAArgExpr(global::CppSharp.Parser.AST.VAArgExpr _0) @@ -32529,7 +32363,6 @@ namespace CppSharp protected InitListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32541,7 +32374,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InitListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InitListExpr(global::CppSharp.Parser.AST.InitListExpr _0) @@ -32864,7 +32697,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -32906,7 +32738,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) @@ -33102,7 +32934,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33144,7 +32975,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator _0) @@ -33190,7 +33021,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33232,7 +33062,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator _0) @@ -33287,7 +33117,6 @@ namespace CppSharp protected DesignatedInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33299,7 +33128,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitExpr(global::CppSharp.Parser.AST.DesignatedInitExpr _0) @@ -33494,7 +33323,6 @@ namespace CppSharp protected NoInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33506,7 +33334,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NoInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) @@ -33622,7 +33450,6 @@ namespace CppSharp protected DesignatedInitUpdateExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33634,7 +33461,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr _0) @@ -33786,7 +33613,6 @@ namespace CppSharp protected ArrayInitLoopExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33798,7 +33624,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitLoopExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) @@ -33944,7 +33770,6 @@ namespace CppSharp protected ArrayInitIndexExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33956,7 +33781,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitIndexExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) @@ -34066,7 +33891,6 @@ namespace CppSharp protected ImplicitValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34078,7 +33902,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _0) @@ -34197,7 +34021,6 @@ namespace CppSharp protected ParenListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34209,7 +34032,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenListExpr(global::CppSharp.Parser.AST.ParenListExpr _0) @@ -34382,7 +34205,6 @@ namespace CppSharp protected GenericSelectionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34394,7 +34216,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GenericSelectionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GenericSelectionExpr(global::CppSharp.Parser.AST.GenericSelectionExpr _0) @@ -34633,7 +34455,6 @@ namespace CppSharp protected ExtVectorElementExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34645,7 +34466,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExtVectorElementExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtVectorElementExpr(global::CppSharp.Parser.AST.ExtVectorElementExpr _0) @@ -34831,7 +34652,6 @@ namespace CppSharp protected BlockExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34843,7 +34663,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) @@ -34993,7 +34813,6 @@ namespace CppSharp protected AsTypeExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35005,7 +34824,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsTypeExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) @@ -35171,7 +34990,6 @@ namespace CppSharp protected PseudoObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35183,7 +35001,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PseudoObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PseudoObjectExpr(global::CppSharp.Parser.AST.PseudoObjectExpr _0) @@ -35450,7 +35268,6 @@ namespace CppSharp protected AtomicExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35462,7 +35279,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AtomicExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AtomicExpr(global::CppSharp.Parser.AST.AtomicExpr _0) @@ -35804,7 +35621,6 @@ namespace CppSharp protected TypoExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35816,7 +35632,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypoExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) @@ -35973,7 +35789,6 @@ namespace CppSharp protected CXXOperatorCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35985,7 +35800,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXOperatorCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) @@ -35997,7 +35812,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36007,7 +35822,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36214,7 +36029,6 @@ namespace CppSharp protected CXXMemberCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36226,7 +36040,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXMemberCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) @@ -36238,7 +36052,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36248,7 +36062,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36423,7 +36237,6 @@ namespace CppSharp protected CUDAKernelCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36435,7 +36248,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CUDAKernelCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) @@ -36447,7 +36260,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36457,7 +36270,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36620,7 +36433,6 @@ namespace CppSharp protected CXXNamedCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36632,7 +36444,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -36641,7 +36453,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.CXXNamedCastExpr _0) @@ -36855,7 +36667,6 @@ namespace CppSharp protected CXXStaticCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36867,7 +36678,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStaticCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) @@ -37016,7 +36827,6 @@ namespace CppSharp protected CXXDynamicCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37028,7 +36838,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDynamicCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDynamicCastExpr(global::CppSharp.Parser.AST.CXXDynamicCastExpr _0) @@ -37187,7 +36997,6 @@ namespace CppSharp protected CXXReinterpretCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37199,7 +37008,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXReinterpretCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr _0) @@ -37345,7 +37154,6 @@ namespace CppSharp protected CXXConstCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37357,7 +37165,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) @@ -37518,7 +37326,6 @@ namespace CppSharp protected UserDefinedLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37530,7 +37337,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UserDefinedLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) @@ -37542,7 +37349,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -37552,7 +37359,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -37706,7 +37513,6 @@ namespace CppSharp protected CXXBoolLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37718,7 +37524,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBoolLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBoolLiteralExpr(global::CppSharp.Parser.AST.CXXBoolLiteralExpr _0) @@ -37857,7 +37663,6 @@ namespace CppSharp protected CXXNullPtrLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37869,7 +37674,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _0) @@ -37995,7 +37800,6 @@ namespace CppSharp protected CXXStdInitializerListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38007,7 +37811,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStdInitializerListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerListExpr _0) @@ -38144,7 +37948,6 @@ namespace CppSharp protected CXXTypeidExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38156,7 +37959,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTypeidExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTypeidExpr(global::CppSharp.Parser.AST.CXXTypeidExpr _0) @@ -38322,7 +38125,6 @@ namespace CppSharp protected MSPropertyRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38334,7 +38136,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertyRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertyRefExpr(global::CppSharp.Parser.AST.MSPropertyRefExpr _0) @@ -38510,7 +38312,6 @@ namespace CppSharp protected MSPropertySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38522,7 +38323,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptExpr _0) @@ -38695,7 +38496,6 @@ namespace CppSharp protected CXXUuidofExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38707,7 +38507,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUuidofExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) @@ -38719,7 +38519,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -38729,7 +38529,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -38884,7 +38684,6 @@ namespace CppSharp protected CXXThisExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38896,7 +38695,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThisExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThisExpr(global::CppSharp.Parser.AST.CXXThisExpr _0) @@ -39041,7 +38840,6 @@ namespace CppSharp protected CXXThrowExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39053,7 +38851,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThrowExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThrowExpr(global::CppSharp.Parser.AST.CXXThrowExpr _0) @@ -39213,7 +39011,6 @@ namespace CppSharp protected CXXDefaultArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39225,7 +39022,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) @@ -39372,7 +39169,6 @@ namespace CppSharp protected CXXDefaultInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39384,7 +39180,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) @@ -39533,7 +39329,6 @@ namespace CppSharp protected CXXBindTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39545,7 +39340,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBindTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) @@ -39738,7 +39533,6 @@ namespace CppSharp protected CXXConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39750,7 +39544,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39759,7 +39553,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) @@ -39771,7 +39565,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -39781,7 +39575,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -39789,7 +39583,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -39804,12 +39598,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39927,7 +39721,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -40039,7 +39833,6 @@ namespace CppSharp protected CXXInheritedCtorInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40051,7 +39844,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXInheritedCtorInitExpr(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr _0) @@ -40233,7 +40026,6 @@ namespace CppSharp protected CXXFunctionalCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40245,7 +40037,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFunctionalCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFunctionalCastExpr(global::CppSharp.Parser.AST.CXXFunctionalCastExpr _0) @@ -40426,7 +40218,6 @@ namespace CppSharp protected CXXTemporaryObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40438,7 +40229,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr _0) @@ -40450,7 +40241,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40460,7 +40251,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40619,7 +40410,6 @@ namespace CppSharp protected LambdaExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40631,7 +40421,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LambdaExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) @@ -40643,7 +40433,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40653,7 +40443,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40661,7 +40451,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -40676,12 +40466,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.SourceLocation CaptureDefaultLoc @@ -40817,7 +40607,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -40923,7 +40713,6 @@ namespace CppSharp protected CXXScalarValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40935,7 +40724,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXScalarValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr _0) @@ -41135,7 +40924,6 @@ namespace CppSharp protected CXXNewExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41147,7 +40935,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNewExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) @@ -41159,7 +40947,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -41169,7 +40957,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -41177,7 +40965,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetplacementArguments(uint i) { - var __ret = __Internal.GetplacementArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetplacementArguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -41192,12 +40980,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddplacementArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddplacementArguments(__Instance, __arg0); } public void ClearplacementArguments() { - __Internal.ClearplacementArguments((__Instance + __PointerAdjustment)); + __Internal.ClearplacementArguments(__Instance); } public global::CppSharp.Parser.AST.Function OperatorNew @@ -41417,7 +41205,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetplacementArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetplacementArgumentsCount(__Instance); return __ret; } } @@ -41538,7 +41326,6 @@ namespace CppSharp protected CXXDeleteExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41550,7 +41337,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDeleteExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDeleteExpr(global::CppSharp.Parser.AST.CXXDeleteExpr _0) @@ -41774,7 +41561,6 @@ namespace CppSharp protected CXXPseudoDestructorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41786,7 +41572,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXPseudoDestructorExpr(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr _0) @@ -42013,7 +41799,6 @@ namespace CppSharp protected TypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42025,7 +41810,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTraitExpr(global::CppSharp.Parser.AST.TypeTraitExpr _0) @@ -42170,7 +41955,6 @@ namespace CppSharp protected ArrayTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42182,7 +41966,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayTypeTraitExpr(global::CppSharp.Parser.AST.ArrayTypeTraitExpr _0) @@ -42344,7 +42128,6 @@ namespace CppSharp protected ExpressionTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42356,7 +42139,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExpressionTraitExpr(global::CppSharp.Parser.AST.ExpressionTraitExpr _0) @@ -42517,7 +42300,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -42559,7 +42341,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.FindResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) @@ -42614,7 +42396,6 @@ namespace CppSharp protected OverloadExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42626,7 +42407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OverloadExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -42635,7 +42416,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public OverloadExpr(global::CppSharp.Parser.AST.OverloadExpr _0) @@ -42884,7 +42665,6 @@ namespace CppSharp protected UnresolvedLookupExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42896,7 +42676,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedLookupExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedLookupExpr(global::CppSharp.Parser.AST.UnresolvedLookupExpr _0) @@ -43053,7 +42833,6 @@ namespace CppSharp protected DependentScopeDeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43065,7 +42844,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentScopeDeclRefExpr(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr _0) @@ -43275,7 +43054,6 @@ namespace CppSharp protected ExprWithCleanups(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43287,7 +43065,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExprWithCleanups.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExprWithCleanups(global::CppSharp.Parser.AST.ExprWithCleanups _0) @@ -43466,7 +43244,6 @@ namespace CppSharp protected CXXUnresolvedConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43478,7 +43255,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr _0) @@ -43490,7 +43267,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -43500,7 +43277,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -43508,7 +43285,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -43523,12 +43300,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public global::CppSharp.Parser.SourceLocation LParenLoc @@ -43602,7 +43379,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -43744,7 +43521,6 @@ namespace CppSharp protected CXXDependentScopeMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43756,7 +43532,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDependentScopeMemberExpr(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr _0) @@ -44092,7 +43868,6 @@ namespace CppSharp protected UnresolvedMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44104,7 +43879,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedMemberExpr(global::CppSharp.Parser.AST.UnresolvedMemberExpr _0) @@ -44318,7 +44093,6 @@ namespace CppSharp protected CXXNoexceptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44330,7 +44104,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNoexceptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNoexceptExpr(global::CppSharp.Parser.AST.CXXNoexceptExpr _0) @@ -44477,7 +44251,6 @@ namespace CppSharp protected PackExpansionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44489,7 +44262,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) @@ -44648,7 +44421,6 @@ namespace CppSharp protected SizeOfPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44660,7 +44432,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SizeOfPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SizeOfPackExpr(global::CppSharp.Parser.AST.SizeOfPackExpr _0) @@ -44859,7 +44631,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44871,7 +44642,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr _0) @@ -45018,7 +44789,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45030,7 +44800,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr _0) @@ -45174,7 +44944,6 @@ namespace CppSharp protected FunctionParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45186,7 +44955,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionParmPackExpr(global::CppSharp.Parser.AST.FunctionParmPackExpr _0) @@ -45325,7 +45094,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -45367,7 +45135,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState _0) @@ -45422,7 +45190,6 @@ namespace CppSharp protected MaterializeTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45434,7 +45201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MaterializeTemporaryExpr(global::CppSharp.Parser.AST.MaterializeTemporaryExpr _0) @@ -45630,7 +45397,6 @@ namespace CppSharp protected CXXFoldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45642,7 +45408,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFoldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFoldExpr(global::CppSharp.Parser.AST.CXXFoldExpr _0) @@ -45908,7 +45674,6 @@ namespace CppSharp protected CoroutineSuspendExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45920,7 +45685,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -45929,7 +45694,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) @@ -46171,7 +45936,6 @@ namespace CppSharp protected CoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46183,7 +45947,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoawaitExpr(global::CppSharp.Parser.AST.CoawaitExpr _0) @@ -46333,7 +46097,6 @@ namespace CppSharp protected DependentCoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46345,7 +46108,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentCoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) @@ -46525,7 +46288,6 @@ namespace CppSharp protected CoyieldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46537,7 +46299,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoyieldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoyieldExpr(global::CppSharp.Parser.AST.CoyieldExpr _0) @@ -46736,7 +46498,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -46778,7 +46539,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserTargetInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) @@ -46789,7 +46550,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -46804,7 +46565,7 @@ namespace CppSharp global::CppSharp.Parser.ParserTargetInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47385,7 +47146,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47674,7 +47434,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47716,7 +47475,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.CppParserOptions.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) @@ -47727,7 +47486,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -47742,7 +47501,7 @@ namespace CppSharp global::CppSharp.Parser.CppParserOptions __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47750,7 +47509,7 @@ namespace CppSharp public string GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47761,17 +47520,17 @@ namespace CppSharp public void AddArguments(string s) { - __Internal.AddArguments((__Instance + __PointerAdjustment), s); + __Internal.AddArguments(__Instance, s); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public string GetSourceFiles(uint i) { - var __ret = __Internal.GetSourceFiles((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSourceFiles(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47782,17 +47541,17 @@ namespace CppSharp public void AddSourceFiles(string s) { - __Internal.AddSourceFiles((__Instance + __PointerAdjustment), s); + __Internal.AddSourceFiles(__Instance, s); } public void ClearSourceFiles() { - __Internal.ClearSourceFiles((__Instance + __PointerAdjustment)); + __Internal.ClearSourceFiles(__Instance); } public string GetIncludeDirs(uint i) { - var __ret = __Internal.GetIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47803,17 +47562,17 @@ namespace CppSharp public void AddIncludeDirs(string s) { - __Internal.AddIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddIncludeDirs(__Instance, s); } public void ClearIncludeDirs() { - __Internal.ClearIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearIncludeDirs(__Instance); } public string GetSystemIncludeDirs(uint i) { - var __ret = __Internal.GetSystemIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSystemIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47824,17 +47583,17 @@ namespace CppSharp public void AddSystemIncludeDirs(string s) { - __Internal.AddSystemIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddSystemIncludeDirs(__Instance, s); } public void ClearSystemIncludeDirs() { - __Internal.ClearSystemIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearSystemIncludeDirs(__Instance); } public string GetDefines(uint i) { - var __ret = __Internal.GetDefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47845,17 +47604,17 @@ namespace CppSharp public void AddDefines(string s) { - __Internal.AddDefines((__Instance + __PointerAdjustment), s); + __Internal.AddDefines(__Instance, s); } public void ClearDefines() { - __Internal.ClearDefines((__Instance + __PointerAdjustment)); + __Internal.ClearDefines(__Instance); } public string GetUndefines(uint i) { - var __ret = __Internal.GetUndefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetUndefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47866,17 +47625,17 @@ namespace CppSharp public void AddUndefines(string s) { - __Internal.AddUndefines((__Instance + __PointerAdjustment), s); + __Internal.AddUndefines(__Instance, s); } public void ClearUndefines() { - __Internal.ClearUndefines((__Instance + __PointerAdjustment)); + __Internal.ClearUndefines(__Instance); } public string GetLibraryDirs(uint i) { - var __ret = __Internal.GetLibraryDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLibraryDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47887,17 +47646,17 @@ namespace CppSharp public void AddLibraryDirs(string s) { - __Internal.AddLibraryDirs((__Instance + __PointerAdjustment), s); + __Internal.AddLibraryDirs(__Instance, s); } public void ClearLibraryDirs() { - __Internal.ClearLibraryDirs((__Instance + __PointerAdjustment)); + __Internal.ClearLibraryDirs(__Instance); } public string GetSupportedStdTypes(uint i) { - var __ret = __Internal.GetSupportedStdTypes((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSupportedStdTypes(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47908,12 +47667,12 @@ namespace CppSharp public void AddSupportedStdTypes(string s) { - __Internal.AddSupportedStdTypes((__Instance + __PointerAdjustment), s); + __Internal.AddSupportedStdTypes(__Instance, s); } public void ClearSupportedStdTypes() { - __Internal.ClearSupportedStdTypes((__Instance + __PointerAdjustment)); + __Internal.ClearSupportedStdTypes(__Instance); } public string LibraryFile @@ -48084,7 +47843,7 @@ namespace CppSharp get { var __ret = new global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&__ret), (__Instance + __PointerAdjustment)); + __Internal.GetClangVersion(new IntPtr(&__ret), __Instance); var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new global::System.IntPtr(&__ret)); var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); __basicStringRet0.Dispose(); @@ -48096,7 +47855,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -48105,7 +47864,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSourceFilesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSourceFilesCount(__Instance); return __ret; } } @@ -48114,7 +47873,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetIncludeDirsCount(__Instance); return __ret; } } @@ -48123,7 +47882,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSystemIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSystemIncludeDirsCount(__Instance); return __ret; } } @@ -48132,7 +47891,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDefinesCount(__Instance); return __ret; } } @@ -48141,7 +47900,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetUndefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetUndefinesCount(__Instance); return __ret; } } @@ -48150,7 +47909,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetLibraryDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLibraryDirsCount(__Instance); return __ret; } } @@ -48159,7 +47918,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSupportedStdTypesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSupportedStdTypesCount(__Instance); return __ret; } } @@ -48203,7 +47962,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48245,7 +48003,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserDiagnostic.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) @@ -48256,7 +48014,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48271,7 +48029,7 @@ namespace CppSharp global::CppSharp.Parser.ParserDiagnostic __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48403,7 +48161,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48445,7 +48202,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserResult(global::CppSharp.Parser.ParserResult _0) @@ -48456,7 +48213,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48471,7 +48228,7 @@ namespace CppSharp global::CppSharp.Parser.ParserResult __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48480,7 +48237,7 @@ namespace CppSharp public global::CppSharp.Parser.ParserDiagnostic GetDiagnostics(uint i) { var __ret = new global::CppSharp.Parser.ParserDiagnostic.__Internal(); - __Internal.GetDiagnostics(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetDiagnostics(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.ParserDiagnostic.__CreateInstance(__ret); } @@ -48489,12 +48246,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddDiagnostics((__Instance + __PointerAdjustment), __arg0); + __Internal.AddDiagnostics(__Instance, __arg0); } public void ClearDiagnostics() { - __Internal.ClearDiagnostics((__Instance + __PointerAdjustment)); + __Internal.ClearDiagnostics(__Instance); } public global::CppSharp.Parser.ParserResultKind Kind @@ -48568,7 +48325,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDiagnosticsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDiagnosticsCount(__Instance); return __ret; } } @@ -48597,7 +48354,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48698,6 +48454,16 @@ namespace Std { namespace Pair { + [StructLayout(LayoutKind.Explicit, Size = 16)] + public unsafe partial struct __Internalc__N_std_N___1_S_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration + { + [FieldOffset(0)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C first; + + [FieldOffset(12)] + internal global::System.IntPtr second; + } + [StructLayout(LayoutKind.Explicit, Size = 16)] public unsafe partial struct __Internalc__N_std_N___1_S_pair__1__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration { diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs index 31a0b9e6..4874a754 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs @@ -97,14 +97,14 @@ namespace Std } [StructLayout(LayoutKind.Explicit, Size = 4)] - public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ + public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ { [FieldOffset(0)] internal global::Std.TreeEndNode.__Internal_Ptr __value_; } [StructLayout(LayoutKind.Explicit, Size = 4)] - public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 + public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_U___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 { [FieldOffset(0)] internal uint __value_; @@ -344,7 +344,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -389,7 +388,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.Allocator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.Allocator.__Internal.ctorc__N_std_N___1_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.Allocator.__Internal.ctorc__N_std_N___1_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_Tp", string.Join(", ", new[] { typeof(_Tp).FullName }), "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); @@ -931,16 +930,16 @@ namespace Std namespace Tree { [StructLayout(LayoutKind.Explicit, Size = 12)] - public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ + public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ { [FieldOffset(0)] internal global::System.IntPtr __begin_node_; [FieldOffset(4)] - internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; + internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; [FieldOffset(8)] - internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; + internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_U___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; } } @@ -963,7 +962,7 @@ namespace Std public unsafe partial struct __Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ { [FieldOffset(0)] - internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; + internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; } } } @@ -982,7 +981,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -1147,7 +1145,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -1194,7 +1191,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.ctorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.ctorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Allocator", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Allocator).FullName }), "global::Std.BasicString<_CharT, _Traits, _Allocator> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); @@ -1218,7 +1215,7 @@ namespace Std var ___Allocator = typeof(_Allocator); if (___CharT.IsAssignableFrom(typeof(sbyte)) && ___Traits.IsAssignableFrom(typeof(global::Std.CharTraits)) && ___Allocator.IsAssignableFrom(typeof(global::Std.Allocator))) { - global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Allocator", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Allocator).FullName }), "global::Std.BasicString<_CharT, _Traits, _Allocator> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs index 643da34c..9bf9ceea 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs @@ -130,7 +130,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -172,7 +171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NativeLibrary.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) @@ -183,7 +182,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -198,7 +197,7 @@ namespace CppSharp global::CppSharp.Parser.AST.NativeLibrary __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -206,7 +205,7 @@ namespace CppSharp public string GetSymbols(uint i) { - var __ret = __Internal.GetSymbols((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSymbols(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -217,17 +216,17 @@ namespace CppSharp public void AddSymbols(string s) { - __Internal.AddSymbols((__Instance + __PointerAdjustment), s); + __Internal.AddSymbols(__Instance, s); } public void ClearSymbols() { - __Internal.ClearSymbols((__Instance + __PointerAdjustment)); + __Internal.ClearSymbols(__Instance); } public string GetDependencies(uint i) { - var __ret = __Internal.GetDependencies((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDependencies(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -238,12 +237,12 @@ namespace CppSharp public void AddDependencies(string s) { - __Internal.AddDependencies((__Instance + __PointerAdjustment), s); + __Internal.AddDependencies(__Instance, s); } public void ClearDependencies() { - __Internal.ClearDependencies((__Instance + __PointerAdjustment)); + __Internal.ClearDependencies(__Instance); } public string FileName @@ -277,7 +276,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSymbolsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSymbolsCount(__Instance); return __ret; } } @@ -286,7 +285,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDependenciesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDependenciesCount(__Instance); return __ret; } } @@ -313,7 +312,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -355,7 +353,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Comment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Comment(global::CppSharp.Parser.AST.Comment _0) @@ -452,7 +450,6 @@ namespace CppSharp protected BlockContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -464,7 +461,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -473,7 +470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) @@ -565,7 +562,6 @@ namespace CppSharp protected FullComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -577,7 +573,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullComment(global::CppSharp.Parser.AST.FullComment _0) @@ -589,7 +585,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -599,7 +595,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -607,7 +603,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockContentComment GetBlocks(uint i) { - var __ret = __Internal.GetBlocks((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBlocks(__Instance, i); global::CppSharp.Parser.AST.BlockContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BlockContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -622,19 +618,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBlocks((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBlocks(__Instance, __arg0); } public void ClearBlocks() { - __Internal.ClearBlocks((__Instance + __PointerAdjustment)); + __Internal.ClearBlocks(__Instance); } public uint BlocksCount { get { - var __ret = __Internal.GetBlocksCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBlocksCount(__Instance); return __ret; } } @@ -694,7 +690,6 @@ namespace CppSharp protected InlineContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -706,7 +701,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -715,7 +710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public InlineContentComment(global::CppSharp.Parser.AST.InlineContentComment _0) @@ -823,7 +818,6 @@ namespace CppSharp protected ParagraphComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -835,7 +829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParagraphComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) @@ -847,7 +841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -857,7 +851,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -865,7 +859,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineContentComment GetContent(uint i) { - var __ret = __Internal.GetContent((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetContent(__Instance, i); global::CppSharp.Parser.AST.InlineContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.InlineContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -880,12 +874,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddContent((__Instance + __PointerAdjustment), __arg0); + __Internal.AddContent(__Instance, __arg0); } public void ClearContent() { - __Internal.ClearContent((__Instance + __PointerAdjustment)); + __Internal.ClearContent(__Instance); } public bool IsWhitespace @@ -905,7 +899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetContentCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetContentCount(__Instance); return __ret; } } @@ -995,7 +989,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -1037,7 +1030,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) @@ -1048,7 +1041,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -1063,7 +1056,7 @@ namespace CppSharp global::CppSharp.Parser.AST.BlockCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1111,7 +1104,6 @@ namespace CppSharp protected BlockCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1123,7 +1115,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1132,7 +1124,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) @@ -1144,7 +1136,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1154,7 +1146,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1163,7 +1155,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.BlockCommandComment.Argument.__CreateInstance(__ret); } @@ -1172,12 +1164,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1220,7 +1212,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -1299,7 +1291,6 @@ namespace CppSharp protected ParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1311,7 +1302,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) @@ -1323,7 +1314,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1333,7 +1324,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1449,7 +1440,6 @@ namespace CppSharp protected TParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1461,7 +1451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) @@ -1473,7 +1463,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1483,7 +1473,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1491,7 +1481,7 @@ namespace CppSharp public uint GetPosition(uint i) { - var __ret = __Internal.GetPosition((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPosition(__Instance, i); return __ret; } @@ -1500,20 +1490,20 @@ namespace CppSharp fixed (uint* __s0 = &s) { var __arg0 = __s0; - __Internal.AddPosition((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPosition(__Instance, __arg0); } } public void ClearPosition() { - __Internal.ClearPosition((__Instance + __PointerAdjustment)); + __Internal.ClearPosition(__Instance); } public uint PositionCount { get { - var __ret = __Internal.GetPositionCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPositionCount(__Instance); return __ret; } } @@ -1573,7 +1563,6 @@ namespace CppSharp protected VerbatimBlockLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1585,7 +1574,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineComment _0) @@ -1597,7 +1586,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1607,7 +1596,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1711,7 +1700,6 @@ namespace CppSharp protected VerbatimBlockComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1723,7 +1711,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) @@ -1735,7 +1723,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1745,7 +1733,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1753,7 +1741,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VerbatimBlockLineComment GetLines(uint i) { - var __ret = __Internal.GetLines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLines(__Instance, i); global::CppSharp.Parser.AST.VerbatimBlockLineComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VerbatimBlockLineComment.NativeToManagedMap.ContainsKey(__ret)) @@ -1768,19 +1756,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddLines((__Instance + __PointerAdjustment), __arg0); + __Internal.AddLines(__Instance, __arg0); } public void ClearLines() { - __Internal.ClearLines((__Instance + __PointerAdjustment)); + __Internal.ClearLines(__Instance); } public uint LinesCount { get { - var __ret = __Internal.GetLinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLinesCount(__Instance); return __ret; } } @@ -1849,7 +1837,6 @@ namespace CppSharp protected VerbatimLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1861,7 +1848,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) @@ -1873,7 +1860,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1883,7 +1870,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1994,7 +1981,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2036,7 +2022,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) @@ -2047,7 +2033,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2062,7 +2048,7 @@ namespace CppSharp global::CppSharp.Parser.AST.InlineCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2110,7 +2096,6 @@ namespace CppSharp protected InlineCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2122,7 +2107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) @@ -2134,7 +2119,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2144,7 +2129,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2153,7 +2138,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.InlineCommandComment.Argument.__CreateInstance(__ret); } @@ -2162,12 +2147,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint CommandId @@ -2200,7 +2185,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -2260,7 +2245,6 @@ namespace CppSharp protected HTMLTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2272,7 +2256,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLTagComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -2281,7 +2265,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) @@ -2381,7 +2365,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2423,7 +2406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) @@ -2434,7 +2417,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2449,7 +2432,7 @@ namespace CppSharp global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2511,7 +2494,6 @@ namespace CppSharp protected HTMLStartTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2523,7 +2505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) @@ -2535,7 +2517,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2545,7 +2527,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2554,7 +2536,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute GetAttributes(uint i) { var __ret = new global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal(); - __Internal.GetAttributes(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetAttributes(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__CreateInstance(__ret); } @@ -2563,12 +2545,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddAttributes((__Instance + __PointerAdjustment), __arg0); + __Internal.AddAttributes(__Instance, __arg0); } public void ClearAttributes() { - __Internal.ClearAttributes((__Instance + __PointerAdjustment)); + __Internal.ClearAttributes(__Instance); } public string TagName @@ -2589,7 +2571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetAttributesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetAttributesCount(__Instance); return __ret; } } @@ -2652,7 +2634,6 @@ namespace CppSharp protected HTMLEndTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2664,7 +2645,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLEndTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) @@ -2676,7 +2657,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2686,7 +2667,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2764,7 +2745,6 @@ namespace CppSharp protected TextComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2776,7 +2756,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TextComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TextComment(global::CppSharp.Parser.AST.TextComment _0) @@ -2788,7 +2768,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2798,7 +2778,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2854,7 +2834,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2896,7 +2875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.RawComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public RawComment(global::CppSharp.Parser.AST.RawComment _0) @@ -2907,7 +2886,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2922,7 +2901,7 @@ namespace CppSharp global::CppSharp.Parser.AST.RawComment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -3106,7 +3085,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3156,7 +3134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.SourceRange.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public void Dispose() @@ -3311,7 +3289,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3353,7 +3330,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Type.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Type(global::CppSharp.Parser.AST.Type _0) @@ -3364,7 +3341,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -3437,7 +3414,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3569,7 +3545,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3611,7 +3586,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.QualifiedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) @@ -3724,7 +3699,6 @@ namespace CppSharp protected TagType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3736,7 +3710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TagType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TagType(global::CppSharp.Parser.AST.TagType _0) @@ -3748,7 +3722,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.Declaration Declaration @@ -3839,7 +3813,6 @@ namespace CppSharp protected ArrayType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3851,7 +3824,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayType(global::CppSharp.Parser.AST.ArrayType _0) @@ -3863,7 +3836,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedType @@ -4007,7 +3980,6 @@ namespace CppSharp protected FunctionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4019,7 +3991,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) @@ -4031,7 +4003,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4041,7 +4013,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4049,7 +4021,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -4064,12 +4036,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -4117,7 +4089,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -4186,7 +4158,6 @@ namespace CppSharp protected PointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4198,7 +4169,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PointerType(global::CppSharp.Parser.AST.PointerType _0) @@ -4210,7 +4181,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedPointee @@ -4294,7 +4265,6 @@ namespace CppSharp protected MemberPointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4306,7 +4276,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberPointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) @@ -4318,7 +4288,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Pointee @@ -4389,7 +4359,6 @@ namespace CppSharp protected TypedefType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4401,7 +4370,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) @@ -4413,7 +4382,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.TypedefNameDecl Declaration @@ -4490,7 +4459,6 @@ namespace CppSharp protected AttributedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4502,7 +4470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) @@ -4514,7 +4482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Modified @@ -4606,7 +4574,6 @@ namespace CppSharp protected DecayedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4618,7 +4585,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DecayedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) @@ -4630,7 +4597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Decayed @@ -4721,7 +4688,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -4763,7 +4729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateArgument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) @@ -4933,7 +4899,6 @@ namespace CppSharp protected TemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4945,7 +4910,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializationType _0) @@ -4957,7 +4922,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4967,7 +4932,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4976,7 +4941,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -4985,12 +4950,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.Template Template @@ -5030,7 +4995,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5116,7 +5081,6 @@ namespace CppSharp protected DependentTemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5128,7 +5092,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentTemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.DependentTemplateSpecializationType _0) @@ -5140,7 +5104,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5150,7 +5114,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5159,7 +5123,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -5168,12 +5132,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5195,7 +5159,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5267,7 +5231,6 @@ namespace CppSharp protected TemplateParameterType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5279,7 +5242,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _0) @@ -5291,7 +5254,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5301,7 +5264,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5420,7 +5383,6 @@ namespace CppSharp protected TemplateParameterSubstitutionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5432,7 +5394,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType _0) @@ -5444,7 +5406,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Replacement @@ -5536,7 +5498,6 @@ namespace CppSharp protected InjectedClassNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5548,7 +5509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InjectedClassNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _0) @@ -5560,7 +5521,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType InjectedSpecializationType @@ -5657,7 +5618,6 @@ namespace CppSharp protected DependentNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5669,7 +5629,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) @@ -5681,7 +5641,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5691,7 +5651,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5776,7 +5736,6 @@ namespace CppSharp protected PackExpansionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5788,7 +5747,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) @@ -5800,7 +5759,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } } @@ -5859,7 +5818,6 @@ namespace CppSharp protected UnaryTransformType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5871,7 +5829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryTransformType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) @@ -5883,7 +5841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5969,7 +5927,6 @@ namespace CppSharp protected UnresolvedUsingType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5981,7 +5938,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) @@ -5993,7 +5950,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.UnresolvedUsingTypename Declaration @@ -6070,7 +6027,6 @@ namespace CppSharp protected VectorType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6082,7 +6038,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VectorType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VectorType(global::CppSharp.Parser.AST.VectorType _0) @@ -6094,7 +6050,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType ElementType @@ -6178,7 +6134,6 @@ namespace CppSharp protected BuiltinType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6190,7 +6145,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BuiltinType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BuiltinType(global::CppSharp.Parser.AST.BuiltinType _0) @@ -6202,7 +6157,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.PrimitiveType Type @@ -6538,7 +6493,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -6580,7 +6534,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Declaration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Declaration(global::CppSharp.Parser.AST.Declaration _0) @@ -6591,7 +6545,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -6606,7 +6560,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -6614,7 +6568,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.PreprocessedEntity GetPreprocessedEntities(uint i) { - var __ret = __Internal.GetPreprocessedEntities((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPreprocessedEntities(__Instance, i); global::CppSharp.Parser.AST.PreprocessedEntity __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret)) @@ -6629,17 +6583,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddPreprocessedEntities((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPreprocessedEntities(__Instance, __arg0); } public void ClearPreprocessedEntities() { - __Internal.ClearPreprocessedEntities((__Instance + __PointerAdjustment)); + __Internal.ClearPreprocessedEntities(__Instance); } public global::CppSharp.Parser.AST.Declaration GetRedeclarations(uint i) { - var __ret = __Internal.GetRedeclarations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetRedeclarations(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -6654,12 +6608,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddRedeclarations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddRedeclarations(__Instance, __arg0); } public void ClearRedeclarations() { - __Internal.ClearRedeclarations((__Instance + __PointerAdjustment)); + __Internal.ClearRedeclarations(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Declaration(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -6923,7 +6877,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetPreprocessedEntitiesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPreprocessedEntitiesCount(__Instance); return __ret; } } @@ -6932,7 +6886,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetRedeclarationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetRedeclarationsCount(__Instance); return __ret; } } @@ -7259,7 +7213,6 @@ namespace CppSharp protected DeclarationContext(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7271,7 +7224,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclarationContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) @@ -7283,7 +7236,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7293,7 +7246,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7301,7 +7254,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Namespace GetNamespaces(uint i) { - var __ret = __Internal.GetNamespaces((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetNamespaces(__Instance, i); global::CppSharp.Parser.AST.Namespace __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret)) @@ -7316,17 +7269,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddNamespaces((__Instance + __PointerAdjustment), __arg0); + __Internal.AddNamespaces(__Instance, __arg0); } public void ClearNamespaces() { - __Internal.ClearNamespaces((__Instance + __PointerAdjustment)); + __Internal.ClearNamespaces(__Instance); } public global::CppSharp.Parser.AST.Enumeration GetEnums(uint i) { - var __ret = __Internal.GetEnums((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetEnums(__Instance, i); global::CppSharp.Parser.AST.Enumeration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret)) @@ -7341,17 +7294,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddEnums((__Instance + __PointerAdjustment), __arg0); + __Internal.AddEnums(__Instance, __arg0); } public void ClearEnums() { - __Internal.ClearEnums((__Instance + __PointerAdjustment)); + __Internal.ClearEnums(__Instance); } public global::CppSharp.Parser.AST.Function GetFunctions(uint i) { - var __ret = __Internal.GetFunctions((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFunctions(__Instance, i); global::CppSharp.Parser.AST.Function __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret)) @@ -7366,17 +7319,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFunctions((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFunctions(__Instance, __arg0); } public void ClearFunctions() { - __Internal.ClearFunctions((__Instance + __PointerAdjustment)); + __Internal.ClearFunctions(__Instance); } public global::CppSharp.Parser.AST.Class GetClasses(uint i) { - var __ret = __Internal.GetClasses((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetClasses(__Instance, i); global::CppSharp.Parser.AST.Class __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret)) @@ -7391,17 +7344,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddClasses((__Instance + __PointerAdjustment), __arg0); + __Internal.AddClasses(__Instance, __arg0); } public void ClearClasses() { - __Internal.ClearClasses((__Instance + __PointerAdjustment)); + __Internal.ClearClasses(__Instance); } public global::CppSharp.Parser.AST.Template GetTemplates(uint i) { - var __ret = __Internal.GetTemplates((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTemplates(__Instance, i); global::CppSharp.Parser.AST.Template __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret)) @@ -7416,17 +7369,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTemplates((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTemplates(__Instance, __arg0); } public void ClearTemplates() { - __Internal.ClearTemplates((__Instance + __PointerAdjustment)); + __Internal.ClearTemplates(__Instance); } public global::CppSharp.Parser.AST.TypedefDecl GetTypedefs(uint i) { - var __ret = __Internal.GetTypedefs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypedefs(__Instance, i); global::CppSharp.Parser.AST.TypedefDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -7441,17 +7394,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypedefs((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypedefs(__Instance, __arg0); } public void ClearTypedefs() { - __Internal.ClearTypedefs((__Instance + __PointerAdjustment)); + __Internal.ClearTypedefs(__Instance); } public global::CppSharp.Parser.AST.TypeAlias GetTypeAliases(uint i) { - var __ret = __Internal.GetTypeAliases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypeAliases(__Instance, i); global::CppSharp.Parser.AST.TypeAlias __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypeAlias.NativeToManagedMap.ContainsKey(__ret)) @@ -7466,17 +7419,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypeAliases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypeAliases(__Instance, __arg0); } public void ClearTypeAliases() { - __Internal.ClearTypeAliases((__Instance + __PointerAdjustment)); + __Internal.ClearTypeAliases(__Instance); } public global::CppSharp.Parser.AST.Variable GetVariables(uint i) { - var __ret = __Internal.GetVariables((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetVariables(__Instance, i); global::CppSharp.Parser.AST.Variable __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret)) @@ -7491,17 +7444,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddVariables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVariables(__Instance, __arg0); } public void ClearVariables() { - __Internal.ClearVariables((__Instance + __PointerAdjustment)); + __Internal.ClearVariables(__Instance); } public global::CppSharp.Parser.AST.Friend GetFriends(uint i) { - var __ret = __Internal.GetFriends((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFriends(__Instance, i); global::CppSharp.Parser.AST.Friend __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret)) @@ -7516,12 +7469,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFriends((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFriends(__Instance, __arg0); } public void ClearFriends() { - __Internal.ClearFriends((__Instance + __PointerAdjustment)); + __Internal.ClearFriends(__Instance); } public static implicit operator global::CppSharp.Parser.AST.DeclarationContext(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -7546,7 +7499,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetNamespacesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetNamespacesCount(__Instance); return __ret; } } @@ -7555,7 +7508,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetEnumsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetEnumsCount(__Instance); return __ret; } } @@ -7564,7 +7517,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFunctionsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFunctionsCount(__Instance); return __ret; } } @@ -7573,7 +7526,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetClassesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetClassesCount(__Instance); return __ret; } } @@ -7582,7 +7535,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTemplatesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTemplatesCount(__Instance); return __ret; } } @@ -7591,7 +7544,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypedefsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypedefsCount(__Instance); return __ret; } } @@ -7600,7 +7553,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypeAliasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypeAliasesCount(__Instance); return __ret; } } @@ -7609,7 +7562,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVariablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVariablesCount(__Instance); return __ret; } } @@ -7618,7 +7571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFriendsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFriendsCount(__Instance); return __ret; } } @@ -7735,7 +7688,6 @@ namespace CppSharp protected TypedefNameDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7747,7 +7699,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefNameDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) @@ -7759,7 +7711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7769,7 +7721,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7907,7 +7859,6 @@ namespace CppSharp protected TypedefDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7919,7 +7870,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) @@ -7931,7 +7882,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7941,7 +7892,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8062,7 +8013,6 @@ namespace CppSharp protected TypeAlias(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8074,7 +8024,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAlias.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) @@ -8086,7 +8036,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8096,7 +8046,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8232,7 +8182,6 @@ namespace CppSharp protected Friend(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8244,7 +8193,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Friend.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Friend(global::CppSharp.Parser.AST.Friend _0) @@ -8256,7 +8205,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8266,7 +8215,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8323,7 +8272,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -8369,7 +8317,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8381,7 +8329,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -8396,7 +8344,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8505,7 +8453,6 @@ namespace CppSharp protected ExpressionObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8521,7 +8468,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8534,7 +8481,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8544,7 +8491,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8617,7 +8564,6 @@ namespace CppSharp protected BinaryOperatorObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8637,7 +8583,7 @@ namespace CppSharp var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); var __arg3 = __basicString3.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1, __arg2, __arg3); + __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); __basicString0.Dispose(); __basicString3.Dispose(); } @@ -8651,7 +8597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8661,7 +8607,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8798,7 +8744,6 @@ namespace CppSharp protected CallExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8814,7 +8759,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8827,7 +8772,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8837,7 +8782,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8845,7 +8790,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -8860,19 +8805,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -8958,7 +8903,6 @@ namespace CppSharp protected CXXConstructExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8974,7 +8918,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8987,7 +8931,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8997,7 +8941,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9005,7 +8949,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -9020,19 +8964,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -9164,7 +9108,6 @@ namespace CppSharp protected Parameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9176,7 +9119,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Parameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Parameter(global::CppSharp.Parser.AST.Parameter _0) @@ -9188,7 +9131,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9198,7 +9141,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9516,7 +9459,6 @@ namespace CppSharp protected Function(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9528,7 +9470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Function.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Function(global::CppSharp.Parser.AST.Function _0) @@ -9540,7 +9482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9550,7 +9492,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9558,7 +9500,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -9573,12 +9515,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -9854,7 +9796,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -10114,7 +10056,6 @@ namespace CppSharp protected Method(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10126,7 +10067,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Method.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Method(global::CppSharp.Parser.AST.Method _0) @@ -10138,7 +10079,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10148,7 +10089,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10156,7 +10097,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Method GetOverriddenMethods(uint i) { - var __ret = __Internal.GetOverriddenMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetOverriddenMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -10171,12 +10112,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddOverriddenMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddOverriddenMethods(__Instance, __arg0); } public void ClearOverriddenMethods() { - __Internal.ClearOverriddenMethods((__Instance + __PointerAdjustment)); + __Internal.ClearOverriddenMethods(__Instance); } public bool IsVirtual @@ -10315,7 +10256,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetOverriddenMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetOverriddenMethodsCount(__Instance); return __ret; } } @@ -10594,7 +10535,6 @@ namespace CppSharp protected Item(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10606,7 +10546,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.Item.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) @@ -10618,7 +10558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10628,7 +10568,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10689,7 +10629,6 @@ namespace CppSharp protected Enumeration(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10701,7 +10640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) @@ -10713,7 +10652,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10723,7 +10662,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10731,7 +10670,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Enumeration.Item GetItems(uint i) { - var __ret = __Internal.GetItems((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetItems(__Instance, i); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.Item.NativeToManagedMap.ContainsKey(__ret)) @@ -10746,12 +10685,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddItems((__Instance + __PointerAdjustment), __arg0); + __Internal.AddItems(__Instance, __arg0); } public void ClearItems() { - __Internal.ClearItems((__Instance + __PointerAdjustment)); + __Internal.ClearItems(__Instance); } public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) @@ -10759,7 +10698,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, Name); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindItemByName((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindItemByName(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -10822,7 +10761,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetItemsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetItemsCount(__Instance); return __ret; } } @@ -10942,7 +10881,6 @@ namespace CppSharp protected Variable(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10954,7 +10892,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Variable.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Variable(global::CppSharp.Parser.AST.Variable _0) @@ -10966,7 +10904,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10976,7 +10914,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11042,7 +10980,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11084,7 +11021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BaseClassSpecifier.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) @@ -11289,7 +11226,6 @@ namespace CppSharp protected Field(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11301,7 +11237,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Field.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Field(global::CppSharp.Parser.AST.Field _0) @@ -11313,7 +11249,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11323,7 +11259,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11497,7 +11433,6 @@ namespace CppSharp protected AccessSpecifierDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11509,7 +11444,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AccessSpecifierDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) @@ -11521,7 +11456,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11531,7 +11466,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11565,7 +11500,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11607,7 +11541,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableComponent.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) @@ -11725,7 +11659,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11767,7 +11700,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) @@ -11778,7 +11711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11793,7 +11726,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VTableLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11801,7 +11734,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VTableComponent GetComponents(uint i) { - var __ret = __Internal.GetComponents((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetComponents(__Instance, i); return global::CppSharp.Parser.AST.VTableComponent.__CreateInstance(__ret); } @@ -11810,19 +11743,19 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddComponents((__Instance + __PointerAdjustment), __arg0); + __Internal.AddComponents(__Instance, __arg0); } public void ClearComponents() { - __Internal.ClearComponents((__Instance + __PointerAdjustment)); + __Internal.ClearComponents(__Instance); } public uint ComponentsCount { get { - var __ret = __Internal.GetComponentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetComponentsCount(__Instance); return __ret; } } @@ -11863,7 +11796,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11905,7 +11837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VFTableInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) @@ -11916,7 +11848,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11931,7 +11863,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VFTableInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12027,7 +11959,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12069,7 +12000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutField.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutField(global::CppSharp.Parser.AST.LayoutField other) @@ -12080,7 +12011,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12095,7 +12026,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutField __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12186,7 +12117,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12228,7 +12158,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutBase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) @@ -12239,7 +12169,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12254,7 +12184,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutBase __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12408,7 +12338,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12450,7 +12379,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) @@ -12461,7 +12390,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12476,7 +12405,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ClassLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12485,7 +12414,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VFTableInfo GetVFTables(uint i) { var __ret = new global::CppSharp.Parser.AST.VFTableInfo.__Internal(); - __Internal.GetVFTables(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetVFTables(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.VFTableInfo.__CreateInstance(__ret); } @@ -12494,18 +12423,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddVFTables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVFTables(__Instance, __arg0); } public void ClearVFTables() { - __Internal.ClearVFTables((__Instance + __PointerAdjustment)); + __Internal.ClearVFTables(__Instance); } public global::CppSharp.Parser.AST.LayoutField GetFields(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutField.__Internal(); - __Internal.GetFields(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetFields(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutField.__CreateInstance(__ret); } @@ -12514,18 +12443,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.LayoutBase GetBases(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutBase.__Internal(); - __Internal.GetBases(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetBases(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutBase.__CreateInstance(__ret); } @@ -12534,12 +12463,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.CppAbi ABI @@ -12652,7 +12581,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVFTablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVFTablesCount(__Instance); return __ret; } } @@ -12661,7 +12590,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -12670,7 +12599,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -12942,7 +12871,6 @@ namespace CppSharp protected Class(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -12954,7 +12882,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Class.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Class(global::CppSharp.Parser.AST.Class _0) @@ -12966,7 +12894,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -12976,7 +12904,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12984,7 +12912,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BaseClassSpecifier GetBases(uint i) { - var __ret = __Internal.GetBases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBases(__Instance, i); global::CppSharp.Parser.AST.BaseClassSpecifier __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret)) @@ -12999,17 +12927,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.Field GetFields(uint i) { - var __ret = __Internal.GetFields((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFields(__Instance, i); global::CppSharp.Parser.AST.Field __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret)) @@ -13024,17 +12952,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.Method GetMethods(uint i) { - var __ret = __Internal.GetMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -13049,17 +12977,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMethods(__Instance, __arg0); } public void ClearMethods() { - __Internal.ClearMethods((__Instance + __PointerAdjustment)); + __Internal.ClearMethods(__Instance); } public global::CppSharp.Parser.AST.AccessSpecifierDecl GetSpecifiers(uint i) { - var __ret = __Internal.GetSpecifiers((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecifiers(__Instance, i); global::CppSharp.Parser.AST.AccessSpecifierDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -13074,12 +13002,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecifiers((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecifiers(__Instance, __arg0); } public void ClearSpecifiers() { - __Internal.ClearSpecifiers((__Instance + __PointerAdjustment)); + __Internal.ClearSpecifiers(__Instance); } public bool IsPOD @@ -13234,7 +13162,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -13243,7 +13171,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -13252,7 +13180,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMethodsCount(__Instance); return __ret; } } @@ -13261,7 +13189,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecifiersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecifiersCount(__Instance); return __ret; } } @@ -13406,7 +13334,6 @@ namespace CppSharp protected Template(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13418,7 +13345,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Template() @@ -13427,7 +13354,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Template(global::CppSharp.Parser.AST.Template _0) @@ -13439,7 +13366,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13449,7 +13376,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13457,7 +13384,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -13472,12 +13399,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Template(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -13507,7 +13434,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -13627,7 +13554,6 @@ namespace CppSharp protected TypeAliasTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13639,7 +13565,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAliasTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) @@ -13651,7 +13577,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13661,7 +13587,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13785,7 +13711,6 @@ namespace CppSharp protected TemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13797,7 +13722,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) @@ -13809,7 +13734,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13819,7 +13744,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13993,7 +13918,6 @@ namespace CppSharp protected TemplateTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14005,7 +13929,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplateParameter _0) @@ -14017,7 +13941,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14027,7 +13951,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14193,7 +14117,6 @@ namespace CppSharp protected TypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14205,7 +14128,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _0) @@ -14217,7 +14140,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14227,7 +14150,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14381,7 +14304,6 @@ namespace CppSharp protected NonTypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14393,7 +14315,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NonTypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParameter _0) @@ -14405,7 +14327,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14415,7 +14337,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14644,7 +14566,6 @@ namespace CppSharp protected ClassTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14656,7 +14577,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) @@ -14668,7 +14589,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14678,7 +14599,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14686,7 +14607,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ClassTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -14701,12 +14622,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) @@ -14714,7 +14635,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14729,7 +14650,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14743,7 +14664,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -14964,7 +14885,6 @@ namespace CppSharp protected ClassTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14976,7 +14896,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpecialization _0) @@ -14988,7 +14908,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14998,7 +14918,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15007,7 +14927,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15016,12 +14936,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.ClassTemplate TemplatedDecl @@ -15059,7 +14979,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15260,7 +15180,6 @@ namespace CppSharp protected ClassTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15272,7 +15191,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization _0) @@ -15284,7 +15203,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15294,7 +15213,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15443,7 +15362,6 @@ namespace CppSharp protected FunctionTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15455,7 +15373,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) @@ -15467,7 +15385,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15477,7 +15395,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15485,7 +15403,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.FunctionTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15500,12 +15418,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) @@ -15513,7 +15431,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15527,7 +15445,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -15588,7 +15506,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -15630,7 +15547,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTemplateSpecialization _0) @@ -15641,7 +15558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -15656,7 +15573,7 @@ namespace CppSharp global::CppSharp.Parser.AST.FunctionTemplateSpecialization __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15665,7 +15582,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15674,12 +15591,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplate Template @@ -15735,7 +15652,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15888,7 +15805,6 @@ namespace CppSharp protected VarTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15900,7 +15816,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) @@ -15912,7 +15828,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15922,7 +15838,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15930,7 +15846,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VarTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VarTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15945,12 +15861,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) @@ -15958,7 +15874,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15973,7 +15889,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15987,7 +15903,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -16136,7 +16052,6 @@ namespace CppSharp protected VarTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16148,7 +16063,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpecialization _0) @@ -16160,7 +16075,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16170,7 +16085,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16179,7 +16094,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -16188,12 +16103,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.VarTemplate TemplatedDecl @@ -16231,7 +16146,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -16360,7 +16275,6 @@ namespace CppSharp protected VarTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16372,7 +16286,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization _0) @@ -16384,7 +16298,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16394,7 +16308,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16509,7 +16423,6 @@ namespace CppSharp protected UnresolvedUsingTypename(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16521,7 +16434,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingTypename.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypename _0) @@ -16533,7 +16446,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16543,7 +16456,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16694,7 +16607,6 @@ namespace CppSharp protected Namespace(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16706,7 +16618,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Namespace.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Namespace(global::CppSharp.Parser.AST.Namespace _0) @@ -16718,7 +16630,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16728,7 +16640,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16775,7 +16687,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -16817,7 +16728,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PreprocessedEntity.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) @@ -16953,7 +16864,6 @@ namespace CppSharp protected MacroDefinition(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16965,7 +16875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroDefinition.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) @@ -16977,7 +16887,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16987,7 +16897,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17114,7 +17024,6 @@ namespace CppSharp protected MacroExpansion(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17126,7 +17035,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroExpansion.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) @@ -17138,7 +17047,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17148,7 +17057,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17374,7 +17283,6 @@ namespace CppSharp protected TranslationUnit(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17386,7 +17294,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TranslationUnit.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) @@ -17398,7 +17306,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17408,7 +17316,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17416,7 +17324,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.MacroDefinition GetMacros(uint i) { - var __ret = __Internal.GetMacros((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMacros(__Instance, i); global::CppSharp.Parser.AST.MacroDefinition __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret)) @@ -17431,12 +17339,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMacros((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMacros(__Instance, __arg0); } public void ClearMacros() { - __Internal.ClearMacros((__Instance + __PointerAdjustment)); + __Internal.ClearMacros(__Instance); } public string FileName @@ -17470,7 +17378,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMacrosCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMacrosCount(__Instance); return __ret; } } @@ -17527,7 +17435,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17569,7 +17476,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ASTContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) @@ -17580,7 +17487,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -17595,7 +17502,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ASTContext __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17606,7 +17513,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, File); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindOrCreateModule((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindOrCreateModule(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -17618,7 +17525,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { - var __ret = __Internal.GetTranslationUnits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTranslationUnits(__Instance, i); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret)) @@ -17633,19 +17540,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTranslationUnits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTranslationUnits(__Instance, __arg0); } public void ClearTranslationUnits() { - __Internal.ClearTranslationUnits((__Instance + __PointerAdjustment)); + __Internal.ClearTranslationUnits(__Instance); } public uint TranslationUnitsCount { get { - var __ret = __Internal.GetTranslationUnitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTranslationUnitsCount(__Instance); return __ret; } } @@ -17825,7 +17732,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17867,7 +17773,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Stmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -17875,7 +17781,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Stmt(global::CppSharp.Parser.AST.Stmt _0) @@ -18051,7 +17957,6 @@ namespace CppSharp protected DeclStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18063,7 +17968,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) @@ -18075,7 +17980,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18085,7 +17990,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18093,7 +17998,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration Getdecls(uint i) { - var __ret = __Internal.Getdecls((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getdecls(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -18108,12 +18013,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Adddecls((__Instance + __PointerAdjustment), __arg0); + __Internal.Adddecls(__Instance, __arg0); } public void Cleardecls() { - __Internal.Cleardecls((__Instance + __PointerAdjustment)); + __Internal.Cleardecls(__Instance); } public bool IsSingleDecl @@ -18151,7 +18056,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetdeclsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetdeclsCount(__Instance); return __ret; } } @@ -18218,7 +18123,6 @@ namespace CppSharp protected NullStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18230,7 +18134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NullStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NullStmt(global::CppSharp.Parser.AST.NullStmt _0) @@ -18370,7 +18274,6 @@ namespace CppSharp protected CompoundStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18382,7 +18285,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) @@ -18394,7 +18297,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18404,7 +18307,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18412,7 +18315,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Stmt Getbody(uint i) { - var __ret = __Internal.Getbody((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getbody(__Instance, i); global::CppSharp.Parser.AST.Stmt __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Stmt.NativeToManagedMap.ContainsKey(__ret)) @@ -18427,12 +18330,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addbody((__Instance + __PointerAdjustment), __arg0); + __Internal.Addbody(__Instance, __arg0); } public void Clearbody() { - __Internal.Clearbody((__Instance + __PointerAdjustment)); + __Internal.Clearbody(__Instance); } public bool BodyEmpty @@ -18527,7 +18430,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetbodyCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetbodyCount(__Instance); return __ret; } } @@ -18602,7 +18505,6 @@ namespace CppSharp protected SwitchCase(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18614,7 +18516,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchCase(global::CppSharp.Parser.AST.StmtClass klass) @@ -18623,7 +18525,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) @@ -18764,7 +18666,6 @@ namespace CppSharp protected CaseStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18776,7 +18677,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CaseStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CaseStmt(global::CppSharp.Parser.AST.CaseStmt _0) @@ -18931,7 +18832,6 @@ namespace CppSharp protected DefaultStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18943,7 +18843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DefaultStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) @@ -19033,7 +18933,6 @@ namespace CppSharp protected LabelStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19045,7 +18944,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LabelStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LabelStmt(global::CppSharp.Parser.AST.LabelStmt _0) @@ -19172,7 +19071,6 @@ namespace CppSharp protected AttributedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19184,7 +19082,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) @@ -19319,7 +19217,6 @@ namespace CppSharp protected IfStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19331,7 +19228,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IfStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IfStmt(global::CppSharp.Parser.AST.IfStmt _0) @@ -19604,7 +19501,6 @@ namespace CppSharp protected SwitchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19616,7 +19512,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchStmt(global::CppSharp.Parser.AST.SwitchStmt _0) @@ -19823,7 +19719,6 @@ namespace CppSharp protected WhileStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19835,7 +19730,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.WhileStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public WhileStmt(global::CppSharp.Parser.AST.WhileStmt _0) @@ -19998,7 +19893,6 @@ namespace CppSharp protected DoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20010,7 +19904,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) @@ -20177,7 +20071,6 @@ namespace CppSharp protected ForStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20189,7 +20082,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ForStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) @@ -20392,7 +20285,6 @@ namespace CppSharp protected GotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20404,7 +20296,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) @@ -20507,7 +20399,6 @@ namespace CppSharp protected IndirectGotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20519,7 +20410,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IndirectGotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) @@ -20634,7 +20525,6 @@ namespace CppSharp protected ContinueStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20646,7 +20536,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ContinueStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) @@ -20730,7 +20620,6 @@ namespace CppSharp protected BreakStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20742,7 +20631,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BreakStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) @@ -20829,7 +20718,6 @@ namespace CppSharp protected ReturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20841,7 +20729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ReturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) @@ -21017,7 +20905,6 @@ namespace CppSharp protected AsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21029,7 +20916,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21038,7 +20925,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) @@ -21050,7 +20937,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21060,7 +20947,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21068,7 +20955,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getinputs(uint i) { - var __ret = __Internal.Getinputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getinputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21083,17 +20970,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addinputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addinputs(__Instance, __arg0); } public void Clearinputs() { - __Internal.Clearinputs((__Instance + __PointerAdjustment)); + __Internal.Clearinputs(__Instance); } public global::CppSharp.Parser.AST.Expr Getoutputs(uint i) { - var __ret = __Internal.Getoutputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getoutputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21108,12 +20995,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addoutputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addoutputs(__Instance, __arg0); } public void Clearoutputs() { - __Internal.Clearoutputs((__Instance + __PointerAdjustment)); + __Internal.Clearoutputs(__Instance); } public static implicit operator global::CppSharp.Parser.AST.AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21216,7 +21103,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetinputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetinputsCount(__Instance); return __ret; } } @@ -21225,7 +21112,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetoutputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetoutputsCount(__Instance); return __ret; } } @@ -21338,7 +21225,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -21380,7 +21266,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) @@ -21391,7 +21277,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -21406,7 +21292,7 @@ namespace CppSharp global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21506,7 +21392,6 @@ namespace CppSharp protected GCCAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21518,7 +21403,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) @@ -21530,7 +21415,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21540,7 +21425,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21659,7 +21544,6 @@ namespace CppSharp protected MSAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21671,7 +21555,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) @@ -21683,7 +21567,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21693,7 +21577,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21817,7 +21701,6 @@ namespace CppSharp protected SEHExceptStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21829,7 +21712,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHExceptStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) @@ -21952,7 +21835,6 @@ namespace CppSharp protected SEHFinallyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21964,7 +21846,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHFinallyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) @@ -22081,7 +21963,6 @@ namespace CppSharp protected SEHTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22093,7 +21974,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHTryStmt(global::CppSharp.Parser.AST.SEHTryStmt _0) @@ -22262,7 +22143,6 @@ namespace CppSharp protected SEHLeaveStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22274,7 +22154,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHLeaveStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) @@ -22406,7 +22286,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -22448,7 +22327,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.Capture.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) @@ -22581,7 +22460,6 @@ namespace CppSharp protected CapturedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22593,7 +22471,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) @@ -22605,7 +22483,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -22615,7 +22493,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -22623,7 +22501,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -22638,12 +22516,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.AST.Stmt capturedStmt @@ -22681,7 +22559,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -22751,7 +22629,6 @@ namespace CppSharp protected CXXCatchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22763,7 +22640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXCatchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) @@ -22886,7 +22763,6 @@ namespace CppSharp protected CXXTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22898,7 +22774,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTryStmt(global::CppSharp.Parser.AST.CXXTryStmt _0) @@ -23049,7 +22925,6 @@ namespace CppSharp protected CXXForRangeStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23061,7 +22936,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXForRangeStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) @@ -23355,7 +23230,6 @@ namespace CppSharp protected MSDependentExistsStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23367,7 +23241,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSDependentExistsStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSDependentExistsStmt(global::CppSharp.Parser.AST.MSDependentExistsStmt _0) @@ -23539,7 +23413,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -23581,7 +23454,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) @@ -23636,7 +23509,6 @@ namespace CppSharp protected CoroutineBodyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23648,7 +23520,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineBodyStmt(global::CppSharp.Parser.AST.CoroutineBodyStmt _0) @@ -23964,7 +23836,6 @@ namespace CppSharp protected CoreturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23976,7 +23847,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoreturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoreturnStmt(global::CppSharp.Parser.AST.CoreturnStmt _0) @@ -24456,7 +24327,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -24498,7 +24368,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.Classification.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) @@ -24657,7 +24527,6 @@ namespace CppSharp protected Expr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -24669,7 +24538,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Expr(global::CppSharp.Parser.AST.StmtClass klass) @@ -24678,7 +24547,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Expr(global::CppSharp.Parser.AST.Expr _0) @@ -24995,7 +24864,6 @@ namespace CppSharp protected FullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25007,7 +24875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -25016,7 +24884,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) @@ -25152,7 +25020,6 @@ namespace CppSharp protected ConstantExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25164,7 +25031,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConstantExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) @@ -25283,7 +25150,6 @@ namespace CppSharp protected OpaqueValueExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25295,7 +25161,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OpaqueValueExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OpaqueValueExpr(global::CppSharp.Parser.AST.OpaqueValueExpr _0) @@ -25485,7 +25351,6 @@ namespace CppSharp protected DeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25497,7 +25362,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclRefExpr(global::CppSharp.Parser.AST.DeclRefExpr _0) @@ -25774,7 +25639,6 @@ namespace CppSharp protected IntegerLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25786,7 +25650,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IntegerLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IntegerLiteral(global::CppSharp.Parser.AST.IntegerLiteral _0) @@ -25928,7 +25792,6 @@ namespace CppSharp protected FixedPointLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25940,7 +25803,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FixedPointLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FixedPointLiteral(global::CppSharp.Parser.AST.FixedPointLiteral _0) @@ -26094,7 +25957,6 @@ namespace CppSharp protected CharacterLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26106,7 +25968,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CharacterLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CharacterLiteral(global::CppSharp.Parser.AST.CharacterLiteral _0) @@ -26264,7 +26126,6 @@ namespace CppSharp protected FloatingLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26276,7 +26137,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FloatingLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FloatingLiteral(global::CppSharp.Parser.AST.FloatingLiteral _0) @@ -26428,7 +26289,6 @@ namespace CppSharp protected ImaginaryLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26440,7 +26300,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImaginaryLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) @@ -26627,7 +26487,6 @@ namespace CppSharp protected StringLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26639,7 +26498,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StringLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) @@ -26651,7 +26510,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -26661,7 +26520,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -26980,7 +26839,6 @@ namespace CppSharp protected PredefinedExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26992,7 +26850,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PredefinedExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) @@ -27137,7 +26995,6 @@ namespace CppSharp protected ParenExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27149,7 +27006,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) @@ -27333,7 +27190,6 @@ namespace CppSharp protected UnaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27345,7 +27201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryOperator(global::CppSharp.Parser.AST.UnaryOperator _0) @@ -27602,7 +27458,6 @@ namespace CppSharp protected OffsetOfExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27614,7 +27469,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OffsetOfExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OffsetOfExpr(global::CppSharp.Parser.AST.OffsetOfExpr _0) @@ -27797,7 +27652,6 @@ namespace CppSharp protected UnaryExprOrTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27809,7 +27663,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryExprOrTypeTraitExpr(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr _0) @@ -28034,7 +27888,6 @@ namespace CppSharp protected ArraySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28046,7 +27899,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArraySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) @@ -28298,7 +28151,6 @@ namespace CppSharp protected CallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28310,7 +28162,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28319,7 +28171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) @@ -28331,7 +28183,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -28341,7 +28193,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -28349,7 +28201,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -28364,12 +28216,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28500,7 +28352,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -28642,7 +28494,6 @@ namespace CppSharp protected MemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28654,7 +28505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberExpr(global::CppSharp.Parser.AST.MemberExpr _0) @@ -28947,7 +28798,6 @@ namespace CppSharp protected CompoundLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28959,7 +28809,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundLiteralExpr(global::CppSharp.Parser.AST.CompoundLiteralExpr _0) @@ -29139,7 +28989,6 @@ namespace CppSharp protected CastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29151,7 +29000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29160,7 +29009,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CastExpr(global::CppSharp.Parser.AST.CastExpr _0) @@ -29419,7 +29268,6 @@ namespace CppSharp protected ImplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29431,7 +29279,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitCastExpr(global::CppSharp.Parser.AST.ImplicitCastExpr _0) @@ -29583,7 +29431,6 @@ namespace CppSharp protected ExplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29595,7 +29442,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExplicitCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29604,7 +29451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) @@ -29764,7 +29611,6 @@ namespace CppSharp protected CStyleCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29776,7 +29622,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CStyleCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) @@ -29979,7 +29825,6 @@ namespace CppSharp protected BinaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29991,7 +29836,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30000,7 +29845,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) @@ -30012,7 +29857,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30022,7 +29867,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30457,7 +30302,6 @@ namespace CppSharp protected CompoundAssignOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30469,7 +30313,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundAssignOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator _0) @@ -30481,7 +30325,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30491,7 +30335,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30645,7 +30489,6 @@ namespace CppSharp protected AbstractConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30657,7 +30500,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30666,7 +30509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractConditionalOperator _0) @@ -30882,7 +30725,6 @@ namespace CppSharp protected ConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30894,7 +30736,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) @@ -31061,7 +30903,6 @@ namespace CppSharp protected BinaryConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31073,7 +30914,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOperator _0) @@ -31225,7 +31066,6 @@ namespace CppSharp protected AddrLabelExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31237,7 +31077,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AddrLabelExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) @@ -31382,7 +31222,6 @@ namespace CppSharp protected StmtExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31394,7 +31233,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StmtExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) @@ -31557,7 +31396,6 @@ namespace CppSharp protected ShuffleVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31569,7 +31407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ShuffleVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ShuffleVectorExpr(global::CppSharp.Parser.AST.ShuffleVectorExpr _0) @@ -31727,7 +31565,6 @@ namespace CppSharp protected ConvertVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31739,7 +31576,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConvertVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) @@ -31917,7 +31754,6 @@ namespace CppSharp protected ChooseExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31929,7 +31765,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ChooseExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ChooseExpr(global::CppSharp.Parser.AST.ChooseExpr _0) @@ -32166,7 +32002,6 @@ namespace CppSharp protected GNUNullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32178,7 +32013,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GNUNullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) @@ -32313,7 +32148,6 @@ namespace CppSharp protected VAArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32325,7 +32159,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VAArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VAArgExpr(global::CppSharp.Parser.AST.VAArgExpr _0) @@ -32528,7 +32362,6 @@ namespace CppSharp protected InitListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32540,7 +32373,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InitListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InitListExpr(global::CppSharp.Parser.AST.InitListExpr _0) @@ -32863,7 +32696,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -32905,7 +32737,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) @@ -33101,7 +32933,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33143,7 +32974,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator _0) @@ -33189,7 +33020,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33231,7 +33061,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator _0) @@ -33286,7 +33116,6 @@ namespace CppSharp protected DesignatedInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33298,7 +33127,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitExpr(global::CppSharp.Parser.AST.DesignatedInitExpr _0) @@ -33493,7 +33322,6 @@ namespace CppSharp protected NoInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33505,7 +33333,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NoInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) @@ -33621,7 +33449,6 @@ namespace CppSharp protected DesignatedInitUpdateExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33633,7 +33460,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr _0) @@ -33785,7 +33612,6 @@ namespace CppSharp protected ArrayInitLoopExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33797,7 +33623,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitLoopExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) @@ -33943,7 +33769,6 @@ namespace CppSharp protected ArrayInitIndexExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33955,7 +33780,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitIndexExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) @@ -34065,7 +33890,6 @@ namespace CppSharp protected ImplicitValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34077,7 +33901,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _0) @@ -34196,7 +34020,6 @@ namespace CppSharp protected ParenListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34208,7 +34031,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenListExpr(global::CppSharp.Parser.AST.ParenListExpr _0) @@ -34381,7 +34204,6 @@ namespace CppSharp protected GenericSelectionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34393,7 +34215,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GenericSelectionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GenericSelectionExpr(global::CppSharp.Parser.AST.GenericSelectionExpr _0) @@ -34632,7 +34454,6 @@ namespace CppSharp protected ExtVectorElementExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34644,7 +34465,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExtVectorElementExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtVectorElementExpr(global::CppSharp.Parser.AST.ExtVectorElementExpr _0) @@ -34830,7 +34651,6 @@ namespace CppSharp protected BlockExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34842,7 +34662,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) @@ -34992,7 +34812,6 @@ namespace CppSharp protected AsTypeExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35004,7 +34823,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsTypeExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) @@ -35170,7 +34989,6 @@ namespace CppSharp protected PseudoObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35182,7 +35000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PseudoObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PseudoObjectExpr(global::CppSharp.Parser.AST.PseudoObjectExpr _0) @@ -35449,7 +35267,6 @@ namespace CppSharp protected AtomicExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35461,7 +35278,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AtomicExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AtomicExpr(global::CppSharp.Parser.AST.AtomicExpr _0) @@ -35803,7 +35620,6 @@ namespace CppSharp protected TypoExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35815,7 +35631,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypoExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) @@ -35972,7 +35788,6 @@ namespace CppSharp protected CXXOperatorCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35984,7 +35799,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXOperatorCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) @@ -35996,7 +35811,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36006,7 +35821,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36213,7 +36028,6 @@ namespace CppSharp protected CXXMemberCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36225,7 +36039,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXMemberCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) @@ -36237,7 +36051,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36247,7 +36061,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36422,7 +36236,6 @@ namespace CppSharp protected CUDAKernelCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36434,7 +36247,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CUDAKernelCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) @@ -36446,7 +36259,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36456,7 +36269,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36619,7 +36432,6 @@ namespace CppSharp protected CXXNamedCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36631,7 +36443,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -36640,7 +36452,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.CXXNamedCastExpr _0) @@ -36854,7 +36666,6 @@ namespace CppSharp protected CXXStaticCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36866,7 +36677,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStaticCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) @@ -37015,7 +36826,6 @@ namespace CppSharp protected CXXDynamicCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37027,7 +36837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDynamicCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDynamicCastExpr(global::CppSharp.Parser.AST.CXXDynamicCastExpr _0) @@ -37186,7 +36996,6 @@ namespace CppSharp protected CXXReinterpretCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37198,7 +37007,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXReinterpretCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr _0) @@ -37344,7 +37153,6 @@ namespace CppSharp protected CXXConstCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37356,7 +37164,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) @@ -37517,7 +37325,6 @@ namespace CppSharp protected UserDefinedLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37529,7 +37336,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UserDefinedLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) @@ -37541,7 +37348,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -37551,7 +37358,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -37705,7 +37512,6 @@ namespace CppSharp protected CXXBoolLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37717,7 +37523,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBoolLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBoolLiteralExpr(global::CppSharp.Parser.AST.CXXBoolLiteralExpr _0) @@ -37856,7 +37662,6 @@ namespace CppSharp protected CXXNullPtrLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37868,7 +37673,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _0) @@ -37994,7 +37799,6 @@ namespace CppSharp protected CXXStdInitializerListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38006,7 +37810,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStdInitializerListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerListExpr _0) @@ -38143,7 +37947,6 @@ namespace CppSharp protected CXXTypeidExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38155,7 +37958,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTypeidExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTypeidExpr(global::CppSharp.Parser.AST.CXXTypeidExpr _0) @@ -38321,7 +38124,6 @@ namespace CppSharp protected MSPropertyRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38333,7 +38135,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertyRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertyRefExpr(global::CppSharp.Parser.AST.MSPropertyRefExpr _0) @@ -38509,7 +38311,6 @@ namespace CppSharp protected MSPropertySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38521,7 +38322,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptExpr _0) @@ -38694,7 +38495,6 @@ namespace CppSharp protected CXXUuidofExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38706,7 +38506,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUuidofExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) @@ -38718,7 +38518,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -38728,7 +38528,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -38883,7 +38683,6 @@ namespace CppSharp protected CXXThisExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38895,7 +38694,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThisExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThisExpr(global::CppSharp.Parser.AST.CXXThisExpr _0) @@ -39040,7 +38839,6 @@ namespace CppSharp protected CXXThrowExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39052,7 +38850,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThrowExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThrowExpr(global::CppSharp.Parser.AST.CXXThrowExpr _0) @@ -39212,7 +39010,6 @@ namespace CppSharp protected CXXDefaultArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39224,7 +39021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) @@ -39371,7 +39168,6 @@ namespace CppSharp protected CXXDefaultInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39383,7 +39179,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) @@ -39532,7 +39328,6 @@ namespace CppSharp protected CXXBindTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39544,7 +39339,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBindTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) @@ -39737,7 +39532,6 @@ namespace CppSharp protected CXXConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39749,7 +39543,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39758,7 +39552,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) @@ -39770,7 +39564,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -39780,7 +39574,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -39788,7 +39582,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -39803,12 +39597,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39926,7 +39720,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -40038,7 +39832,6 @@ namespace CppSharp protected CXXInheritedCtorInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40050,7 +39843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXInheritedCtorInitExpr(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr _0) @@ -40232,7 +40025,6 @@ namespace CppSharp protected CXXFunctionalCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40244,7 +40036,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFunctionalCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFunctionalCastExpr(global::CppSharp.Parser.AST.CXXFunctionalCastExpr _0) @@ -40425,7 +40217,6 @@ namespace CppSharp protected CXXTemporaryObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40437,7 +40228,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr _0) @@ -40449,7 +40240,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40459,7 +40250,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40618,7 +40409,6 @@ namespace CppSharp protected LambdaExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40630,7 +40420,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LambdaExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) @@ -40642,7 +40432,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40652,7 +40442,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40660,7 +40450,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -40675,12 +40465,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.SourceLocation CaptureDefaultLoc @@ -40816,7 +40606,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -40922,7 +40712,6 @@ namespace CppSharp protected CXXScalarValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40934,7 +40723,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXScalarValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr _0) @@ -41134,7 +40923,6 @@ namespace CppSharp protected CXXNewExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41146,7 +40934,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNewExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) @@ -41158,7 +40946,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -41168,7 +40956,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -41176,7 +40964,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetplacementArguments(uint i) { - var __ret = __Internal.GetplacementArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetplacementArguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -41191,12 +40979,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddplacementArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddplacementArguments(__Instance, __arg0); } public void ClearplacementArguments() { - __Internal.ClearplacementArguments((__Instance + __PointerAdjustment)); + __Internal.ClearplacementArguments(__Instance); } public global::CppSharp.Parser.AST.Function OperatorNew @@ -41416,7 +41204,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetplacementArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetplacementArgumentsCount(__Instance); return __ret; } } @@ -41537,7 +41325,6 @@ namespace CppSharp protected CXXDeleteExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41549,7 +41336,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDeleteExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDeleteExpr(global::CppSharp.Parser.AST.CXXDeleteExpr _0) @@ -41773,7 +41560,6 @@ namespace CppSharp protected CXXPseudoDestructorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41785,7 +41571,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXPseudoDestructorExpr(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr _0) @@ -42012,7 +41798,6 @@ namespace CppSharp protected TypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42024,7 +41809,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTraitExpr(global::CppSharp.Parser.AST.TypeTraitExpr _0) @@ -42169,7 +41954,6 @@ namespace CppSharp protected ArrayTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42181,7 +41965,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayTypeTraitExpr(global::CppSharp.Parser.AST.ArrayTypeTraitExpr _0) @@ -42343,7 +42127,6 @@ namespace CppSharp protected ExpressionTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42355,7 +42138,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExpressionTraitExpr(global::CppSharp.Parser.AST.ExpressionTraitExpr _0) @@ -42516,7 +42299,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -42558,7 +42340,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.FindResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) @@ -42613,7 +42395,6 @@ namespace CppSharp protected OverloadExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42625,7 +42406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OverloadExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -42634,7 +42415,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public OverloadExpr(global::CppSharp.Parser.AST.OverloadExpr _0) @@ -42883,7 +42664,6 @@ namespace CppSharp protected UnresolvedLookupExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42895,7 +42675,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedLookupExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedLookupExpr(global::CppSharp.Parser.AST.UnresolvedLookupExpr _0) @@ -43052,7 +42832,6 @@ namespace CppSharp protected DependentScopeDeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43064,7 +42843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentScopeDeclRefExpr(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr _0) @@ -43274,7 +43053,6 @@ namespace CppSharp protected ExprWithCleanups(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43286,7 +43064,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExprWithCleanups.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExprWithCleanups(global::CppSharp.Parser.AST.ExprWithCleanups _0) @@ -43465,7 +43243,6 @@ namespace CppSharp protected CXXUnresolvedConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43477,7 +43254,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr _0) @@ -43489,7 +43266,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -43499,7 +43276,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -43507,7 +43284,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -43522,12 +43299,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public global::CppSharp.Parser.SourceLocation LParenLoc @@ -43601,7 +43378,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -43743,7 +43520,6 @@ namespace CppSharp protected CXXDependentScopeMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43755,7 +43531,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDependentScopeMemberExpr(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr _0) @@ -44091,7 +43867,6 @@ namespace CppSharp protected UnresolvedMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44103,7 +43878,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedMemberExpr(global::CppSharp.Parser.AST.UnresolvedMemberExpr _0) @@ -44317,7 +44092,6 @@ namespace CppSharp protected CXXNoexceptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44329,7 +44103,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNoexceptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNoexceptExpr(global::CppSharp.Parser.AST.CXXNoexceptExpr _0) @@ -44476,7 +44250,6 @@ namespace CppSharp protected PackExpansionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44488,7 +44261,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) @@ -44647,7 +44420,6 @@ namespace CppSharp protected SizeOfPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44659,7 +44431,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SizeOfPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SizeOfPackExpr(global::CppSharp.Parser.AST.SizeOfPackExpr _0) @@ -44858,7 +44630,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44870,7 +44641,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr _0) @@ -45017,7 +44788,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45029,7 +44799,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr _0) @@ -45173,7 +44943,6 @@ namespace CppSharp protected FunctionParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45185,7 +44954,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionParmPackExpr(global::CppSharp.Parser.AST.FunctionParmPackExpr _0) @@ -45324,7 +45093,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -45366,7 +45134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState _0) @@ -45421,7 +45189,6 @@ namespace CppSharp protected MaterializeTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45433,7 +45200,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MaterializeTemporaryExpr(global::CppSharp.Parser.AST.MaterializeTemporaryExpr _0) @@ -45629,7 +45396,6 @@ namespace CppSharp protected CXXFoldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45641,7 +45407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFoldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFoldExpr(global::CppSharp.Parser.AST.CXXFoldExpr _0) @@ -45907,7 +45673,6 @@ namespace CppSharp protected CoroutineSuspendExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45919,7 +45684,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -45928,7 +45693,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) @@ -46170,7 +45935,6 @@ namespace CppSharp protected CoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46182,7 +45946,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoawaitExpr(global::CppSharp.Parser.AST.CoawaitExpr _0) @@ -46332,7 +46096,6 @@ namespace CppSharp protected DependentCoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46344,7 +46107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentCoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) @@ -46524,7 +46287,6 @@ namespace CppSharp protected CoyieldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46536,7 +46298,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoyieldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoyieldExpr(global::CppSharp.Parser.AST.CoyieldExpr _0) @@ -46735,7 +46497,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -46777,7 +46538,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserTargetInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) @@ -46788,7 +46549,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -46803,7 +46564,7 @@ namespace CppSharp global::CppSharp.Parser.ParserTargetInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47384,7 +47145,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47673,7 +47433,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47715,7 +47474,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.CppParserOptions.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) @@ -47726,7 +47485,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -47741,7 +47500,7 @@ namespace CppSharp global::CppSharp.Parser.CppParserOptions __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47749,7 +47508,7 @@ namespace CppSharp public string GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47760,17 +47519,17 @@ namespace CppSharp public void AddArguments(string s) { - __Internal.AddArguments((__Instance + __PointerAdjustment), s); + __Internal.AddArguments(__Instance, s); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public string GetSourceFiles(uint i) { - var __ret = __Internal.GetSourceFiles((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSourceFiles(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47781,17 +47540,17 @@ namespace CppSharp public void AddSourceFiles(string s) { - __Internal.AddSourceFiles((__Instance + __PointerAdjustment), s); + __Internal.AddSourceFiles(__Instance, s); } public void ClearSourceFiles() { - __Internal.ClearSourceFiles((__Instance + __PointerAdjustment)); + __Internal.ClearSourceFiles(__Instance); } public string GetIncludeDirs(uint i) { - var __ret = __Internal.GetIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47802,17 +47561,17 @@ namespace CppSharp public void AddIncludeDirs(string s) { - __Internal.AddIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddIncludeDirs(__Instance, s); } public void ClearIncludeDirs() { - __Internal.ClearIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearIncludeDirs(__Instance); } public string GetSystemIncludeDirs(uint i) { - var __ret = __Internal.GetSystemIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSystemIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47823,17 +47582,17 @@ namespace CppSharp public void AddSystemIncludeDirs(string s) { - __Internal.AddSystemIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddSystemIncludeDirs(__Instance, s); } public void ClearSystemIncludeDirs() { - __Internal.ClearSystemIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearSystemIncludeDirs(__Instance); } public string GetDefines(uint i) { - var __ret = __Internal.GetDefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47844,17 +47603,17 @@ namespace CppSharp public void AddDefines(string s) { - __Internal.AddDefines((__Instance + __PointerAdjustment), s); + __Internal.AddDefines(__Instance, s); } public void ClearDefines() { - __Internal.ClearDefines((__Instance + __PointerAdjustment)); + __Internal.ClearDefines(__Instance); } public string GetUndefines(uint i) { - var __ret = __Internal.GetUndefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetUndefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47865,17 +47624,17 @@ namespace CppSharp public void AddUndefines(string s) { - __Internal.AddUndefines((__Instance + __PointerAdjustment), s); + __Internal.AddUndefines(__Instance, s); } public void ClearUndefines() { - __Internal.ClearUndefines((__Instance + __PointerAdjustment)); + __Internal.ClearUndefines(__Instance); } public string GetLibraryDirs(uint i) { - var __ret = __Internal.GetLibraryDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLibraryDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47886,17 +47645,17 @@ namespace CppSharp public void AddLibraryDirs(string s) { - __Internal.AddLibraryDirs((__Instance + __PointerAdjustment), s); + __Internal.AddLibraryDirs(__Instance, s); } public void ClearLibraryDirs() { - __Internal.ClearLibraryDirs((__Instance + __PointerAdjustment)); + __Internal.ClearLibraryDirs(__Instance); } public string GetSupportedStdTypes(uint i) { - var __ret = __Internal.GetSupportedStdTypes((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSupportedStdTypes(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47907,12 +47666,12 @@ namespace CppSharp public void AddSupportedStdTypes(string s) { - __Internal.AddSupportedStdTypes((__Instance + __PointerAdjustment), s); + __Internal.AddSupportedStdTypes(__Instance, s); } public void ClearSupportedStdTypes() { - __Internal.ClearSupportedStdTypes((__Instance + __PointerAdjustment)); + __Internal.ClearSupportedStdTypes(__Instance); } public string LibraryFile @@ -48083,7 +47842,7 @@ namespace CppSharp get { var __ret = new global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&__ret), (__Instance + __PointerAdjustment)); + __Internal.GetClangVersion(new IntPtr(&__ret), __Instance); var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new global::System.IntPtr(&__ret)); var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); __basicStringRet0.Dispose(); @@ -48095,7 +47854,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -48104,7 +47863,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSourceFilesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSourceFilesCount(__Instance); return __ret; } } @@ -48113,7 +47872,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetIncludeDirsCount(__Instance); return __ret; } } @@ -48122,7 +47881,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSystemIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSystemIncludeDirsCount(__Instance); return __ret; } } @@ -48131,7 +47890,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDefinesCount(__Instance); return __ret; } } @@ -48140,7 +47899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetUndefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetUndefinesCount(__Instance); return __ret; } } @@ -48149,7 +47908,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetLibraryDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLibraryDirsCount(__Instance); return __ret; } } @@ -48158,7 +47917,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSupportedStdTypesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSupportedStdTypesCount(__Instance); return __ret; } } @@ -48202,7 +47961,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48244,7 +48002,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserDiagnostic.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) @@ -48255,7 +48013,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48270,7 +48028,7 @@ namespace CppSharp global::CppSharp.Parser.ParserDiagnostic __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48402,7 +48160,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48444,7 +48201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserResult(global::CppSharp.Parser.ParserResult _0) @@ -48455,7 +48212,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48470,7 +48227,7 @@ namespace CppSharp global::CppSharp.Parser.ParserResult __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48479,7 +48236,7 @@ namespace CppSharp public global::CppSharp.Parser.ParserDiagnostic GetDiagnostics(uint i) { var __ret = new global::CppSharp.Parser.ParserDiagnostic.__Internal(); - __Internal.GetDiagnostics(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetDiagnostics(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.ParserDiagnostic.__CreateInstance(__ret); } @@ -48488,12 +48245,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddDiagnostics((__Instance + __PointerAdjustment), __arg0); + __Internal.AddDiagnostics(__Instance, __arg0); } public void ClearDiagnostics() { - __Internal.ClearDiagnostics((__Instance + __PointerAdjustment)); + __Internal.ClearDiagnostics(__Instance); } public global::CppSharp.Parser.ParserResultKind Kind @@ -48567,7 +48324,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDiagnosticsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDiagnosticsCount(__Instance); return __ret; } } @@ -48596,7 +48353,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48697,6 +48453,16 @@ namespace Std { namespace Pair { + [StructLayout(LayoutKind.Explicit, Size = 32)] + public unsafe partial struct __Internalc__N_std_N___1_S_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration + { + [FieldOffset(0)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C first; + + [FieldOffset(24)] + internal global::System.IntPtr second; + } + [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct __Internalc__N_std_N___1_S_pair__1__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration { diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs index 7ae75baa..f946a08a 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs @@ -97,14 +97,14 @@ namespace Std } [StructLayout(LayoutKind.Explicit, Size = 8)] - public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ + public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ { [FieldOffset(0)] internal global::Std.TreeEndNode.__Internal_Ptr __value_; } [StructLayout(LayoutKind.Explicit, Size = 8)] - public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 + public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_U___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 { [FieldOffset(0)] internal ulong __value_; @@ -344,7 +344,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -389,7 +388,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.Allocator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.Allocator.__Internal.ctorc__N_std_N___1_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.Allocator.__Internal.ctorc__N_std_N___1_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_Tp", string.Join(", ", new[] { typeof(_Tp).FullName }), "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); @@ -931,16 +930,16 @@ namespace Std namespace Tree { [StructLayout(LayoutKind.Explicit, Size = 24)] - public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ + public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ { [FieldOffset(0)] internal global::System.IntPtr __begin_node_; [FieldOffset(8)] - internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; + internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; [FieldOffset(16)] - internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; + internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_U___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; } } @@ -963,7 +962,7 @@ namespace Std public unsafe partial struct __Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ { [FieldOffset(0)] - internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; + internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; } } } @@ -982,7 +981,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -1147,7 +1145,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -1194,7 +1191,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.ctorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.ctorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Allocator", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Allocator).FullName }), "global::Std.BasicString<_CharT, _Traits, _Allocator> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); @@ -1218,7 +1215,7 @@ namespace Std var ___Allocator = typeof(_Allocator); if (___CharT.IsAssignableFrom(typeof(sbyte)) && ___Traits.IsAssignableFrom(typeof(global::Std.CharTraits)) && ___Allocator.IsAssignableFrom(typeof(global::Std.Allocator))) { - global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C.dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Allocator", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Allocator).FullName }), "global::Std.BasicString<_CharT, _Traits, _Allocator> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs index 29887a27..98ac198a 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs @@ -130,7 +130,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -172,7 +171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NativeLibrary.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) @@ -183,7 +182,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -198,7 +197,7 @@ namespace CppSharp global::CppSharp.Parser.AST.NativeLibrary __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -206,7 +205,7 @@ namespace CppSharp public string GetSymbols(uint i) { - var __ret = __Internal.GetSymbols((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSymbols(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -217,17 +216,17 @@ namespace CppSharp public void AddSymbols(string s) { - __Internal.AddSymbols((__Instance + __PointerAdjustment), s); + __Internal.AddSymbols(__Instance, s); } public void ClearSymbols() { - __Internal.ClearSymbols((__Instance + __PointerAdjustment)); + __Internal.ClearSymbols(__Instance); } public string GetDependencies(uint i) { - var __ret = __Internal.GetDependencies((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDependencies(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -238,12 +237,12 @@ namespace CppSharp public void AddDependencies(string s) { - __Internal.AddDependencies((__Instance + __PointerAdjustment), s); + __Internal.AddDependencies(__Instance, s); } public void ClearDependencies() { - __Internal.ClearDependencies((__Instance + __PointerAdjustment)); + __Internal.ClearDependencies(__Instance); } public string FileName @@ -277,7 +276,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSymbolsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSymbolsCount(__Instance); return __ret; } } @@ -286,7 +285,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDependenciesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDependenciesCount(__Instance); return __ret; } } @@ -313,7 +312,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -355,7 +353,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Comment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Comment(global::CppSharp.Parser.AST.Comment _0) @@ -452,7 +450,6 @@ namespace CppSharp protected BlockContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -464,7 +461,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -473,7 +470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) @@ -565,7 +562,6 @@ namespace CppSharp protected FullComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -577,7 +573,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullComment(global::CppSharp.Parser.AST.FullComment _0) @@ -589,7 +585,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -599,7 +595,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -607,7 +603,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockContentComment GetBlocks(uint i) { - var __ret = __Internal.GetBlocks((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBlocks(__Instance, i); global::CppSharp.Parser.AST.BlockContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BlockContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -622,19 +618,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBlocks((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBlocks(__Instance, __arg0); } public void ClearBlocks() { - __Internal.ClearBlocks((__Instance + __PointerAdjustment)); + __Internal.ClearBlocks(__Instance); } public uint BlocksCount { get { - var __ret = __Internal.GetBlocksCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBlocksCount(__Instance); return __ret; } } @@ -694,7 +690,6 @@ namespace CppSharp protected InlineContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -706,7 +701,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -715,7 +710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public InlineContentComment(global::CppSharp.Parser.AST.InlineContentComment _0) @@ -823,7 +818,6 @@ namespace CppSharp protected ParagraphComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -835,7 +829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParagraphComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) @@ -847,7 +841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -857,7 +851,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -865,7 +859,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineContentComment GetContent(uint i) { - var __ret = __Internal.GetContent((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetContent(__Instance, i); global::CppSharp.Parser.AST.InlineContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.InlineContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -880,12 +874,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddContent((__Instance + __PointerAdjustment), __arg0); + __Internal.AddContent(__Instance, __arg0); } public void ClearContent() { - __Internal.ClearContent((__Instance + __PointerAdjustment)); + __Internal.ClearContent(__Instance); } public bool IsWhitespace @@ -905,7 +899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetContentCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetContentCount(__Instance); return __ret; } } @@ -995,7 +989,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -1037,7 +1030,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) @@ -1048,7 +1041,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -1063,7 +1056,7 @@ namespace CppSharp global::CppSharp.Parser.AST.BlockCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1111,7 +1104,6 @@ namespace CppSharp protected BlockCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1123,7 +1115,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1132,7 +1124,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) @@ -1144,7 +1136,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1154,7 +1146,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1163,7 +1155,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.BlockCommandComment.Argument.__CreateInstance(__ret); } @@ -1172,12 +1164,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1220,7 +1212,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -1299,7 +1291,6 @@ namespace CppSharp protected ParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1311,7 +1302,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) @@ -1323,7 +1314,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1333,7 +1324,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1449,7 +1440,6 @@ namespace CppSharp protected TParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1461,7 +1451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) @@ -1473,7 +1463,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1483,7 +1473,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1491,7 +1481,7 @@ namespace CppSharp public uint GetPosition(uint i) { - var __ret = __Internal.GetPosition((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPosition(__Instance, i); return __ret; } @@ -1500,20 +1490,20 @@ namespace CppSharp fixed (uint* __s0 = &s) { var __arg0 = __s0; - __Internal.AddPosition((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPosition(__Instance, __arg0); } } public void ClearPosition() { - __Internal.ClearPosition((__Instance + __PointerAdjustment)); + __Internal.ClearPosition(__Instance); } public uint PositionCount { get { - var __ret = __Internal.GetPositionCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPositionCount(__Instance); return __ret; } } @@ -1573,7 +1563,6 @@ namespace CppSharp protected VerbatimBlockLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1585,7 +1574,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineComment _0) @@ -1597,7 +1586,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1607,7 +1596,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1711,7 +1700,6 @@ namespace CppSharp protected VerbatimBlockComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1723,7 +1711,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) @@ -1735,7 +1723,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1745,7 +1733,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1753,7 +1741,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VerbatimBlockLineComment GetLines(uint i) { - var __ret = __Internal.GetLines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLines(__Instance, i); global::CppSharp.Parser.AST.VerbatimBlockLineComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VerbatimBlockLineComment.NativeToManagedMap.ContainsKey(__ret)) @@ -1768,19 +1756,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddLines((__Instance + __PointerAdjustment), __arg0); + __Internal.AddLines(__Instance, __arg0); } public void ClearLines() { - __Internal.ClearLines((__Instance + __PointerAdjustment)); + __Internal.ClearLines(__Instance); } public uint LinesCount { get { - var __ret = __Internal.GetLinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLinesCount(__Instance); return __ret; } } @@ -1849,7 +1837,6 @@ namespace CppSharp protected VerbatimLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1861,7 +1848,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) @@ -1873,7 +1860,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1883,7 +1870,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1994,7 +1981,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2036,7 +2022,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) @@ -2047,7 +2033,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2062,7 +2048,7 @@ namespace CppSharp global::CppSharp.Parser.AST.InlineCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2110,7 +2096,6 @@ namespace CppSharp protected InlineCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2122,7 +2107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) @@ -2134,7 +2119,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2144,7 +2129,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2153,7 +2138,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.InlineCommandComment.Argument.__CreateInstance(__ret); } @@ -2162,12 +2147,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint CommandId @@ -2200,7 +2185,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -2260,7 +2245,6 @@ namespace CppSharp protected HTMLTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2272,7 +2256,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLTagComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -2281,7 +2265,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) @@ -2381,7 +2365,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2423,7 +2406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) @@ -2434,7 +2417,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2449,7 +2432,7 @@ namespace CppSharp global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2511,7 +2494,6 @@ namespace CppSharp protected HTMLStartTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2523,7 +2505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) @@ -2535,7 +2517,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2545,7 +2527,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2554,7 +2536,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute GetAttributes(uint i) { var __ret = new global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal(); - __Internal.GetAttributes(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetAttributes(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__CreateInstance(__ret); } @@ -2563,12 +2545,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddAttributes((__Instance + __PointerAdjustment), __arg0); + __Internal.AddAttributes(__Instance, __arg0); } public void ClearAttributes() { - __Internal.ClearAttributes((__Instance + __PointerAdjustment)); + __Internal.ClearAttributes(__Instance); } public string TagName @@ -2589,7 +2571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetAttributesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetAttributesCount(__Instance); return __ret; } } @@ -2652,7 +2634,6 @@ namespace CppSharp protected HTMLEndTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2664,7 +2645,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLEndTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) @@ -2676,7 +2657,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2686,7 +2667,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2764,7 +2745,6 @@ namespace CppSharp protected TextComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2776,7 +2756,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TextComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TextComment(global::CppSharp.Parser.AST.TextComment _0) @@ -2788,7 +2768,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2798,7 +2778,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2854,7 +2834,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2896,7 +2875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.RawComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public RawComment(global::CppSharp.Parser.AST.RawComment _0) @@ -2907,7 +2886,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2922,7 +2901,7 @@ namespace CppSharp global::CppSharp.Parser.AST.RawComment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -3106,7 +3085,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3156,7 +3134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.SourceRange.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public void Dispose() @@ -3311,7 +3289,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3353,7 +3330,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Type.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Type(global::CppSharp.Parser.AST.Type _0) @@ -3364,7 +3341,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -3437,7 +3414,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3569,7 +3545,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3611,7 +3586,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.QualifiedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) @@ -3724,7 +3699,6 @@ namespace CppSharp protected TagType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3736,7 +3710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TagType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TagType(global::CppSharp.Parser.AST.TagType _0) @@ -3748,7 +3722,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.Declaration Declaration @@ -3839,7 +3813,6 @@ namespace CppSharp protected ArrayType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3851,7 +3824,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayType(global::CppSharp.Parser.AST.ArrayType _0) @@ -3863,7 +3836,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedType @@ -4007,7 +3980,6 @@ namespace CppSharp protected FunctionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4019,7 +3991,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) @@ -4031,7 +4003,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4041,7 +4013,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4049,7 +4021,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -4064,12 +4036,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -4117,7 +4089,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -4186,7 +4158,6 @@ namespace CppSharp protected PointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4198,7 +4169,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PointerType(global::CppSharp.Parser.AST.PointerType _0) @@ -4210,7 +4181,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedPointee @@ -4294,7 +4265,6 @@ namespace CppSharp protected MemberPointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4306,7 +4276,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberPointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) @@ -4318,7 +4288,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Pointee @@ -4389,7 +4359,6 @@ namespace CppSharp protected TypedefType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4401,7 +4370,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) @@ -4413,7 +4382,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.TypedefNameDecl Declaration @@ -4490,7 +4459,6 @@ namespace CppSharp protected AttributedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4502,7 +4470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) @@ -4514,7 +4482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Modified @@ -4606,7 +4574,6 @@ namespace CppSharp protected DecayedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4618,7 +4585,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DecayedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) @@ -4630,7 +4597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Decayed @@ -4721,7 +4688,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -4763,7 +4729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateArgument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) @@ -4933,7 +4899,6 @@ namespace CppSharp protected TemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4945,7 +4910,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializationType _0) @@ -4957,7 +4922,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4967,7 +4932,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4976,7 +4941,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -4985,12 +4950,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.Template Template @@ -5030,7 +4995,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5116,7 +5081,6 @@ namespace CppSharp protected DependentTemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5128,7 +5092,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentTemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.DependentTemplateSpecializationType _0) @@ -5140,7 +5104,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5150,7 +5114,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5159,7 +5123,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -5168,12 +5132,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5195,7 +5159,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5267,7 +5231,6 @@ namespace CppSharp protected TemplateParameterType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5279,7 +5242,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _0) @@ -5291,7 +5254,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5301,7 +5264,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5420,7 +5383,6 @@ namespace CppSharp protected TemplateParameterSubstitutionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5432,7 +5394,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType _0) @@ -5444,7 +5406,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Replacement @@ -5536,7 +5498,6 @@ namespace CppSharp protected InjectedClassNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5548,7 +5509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InjectedClassNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _0) @@ -5560,7 +5521,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType InjectedSpecializationType @@ -5657,7 +5618,6 @@ namespace CppSharp protected DependentNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5669,7 +5629,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) @@ -5681,7 +5641,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5691,7 +5651,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5776,7 +5736,6 @@ namespace CppSharp protected PackExpansionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5788,7 +5747,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) @@ -5800,7 +5759,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } } @@ -5859,7 +5818,6 @@ namespace CppSharp protected UnaryTransformType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5871,7 +5829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryTransformType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) @@ -5883,7 +5841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5969,7 +5927,6 @@ namespace CppSharp protected UnresolvedUsingType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5981,7 +5938,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) @@ -5993,7 +5950,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.UnresolvedUsingTypename Declaration @@ -6070,7 +6027,6 @@ namespace CppSharp protected VectorType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6082,7 +6038,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VectorType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VectorType(global::CppSharp.Parser.AST.VectorType _0) @@ -6094,7 +6050,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType ElementType @@ -6178,7 +6134,6 @@ namespace CppSharp protected BuiltinType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6190,7 +6145,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BuiltinType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BuiltinType(global::CppSharp.Parser.AST.BuiltinType _0) @@ -6202,7 +6157,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.PrimitiveType Type @@ -6538,7 +6493,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -6580,7 +6534,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Declaration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Declaration(global::CppSharp.Parser.AST.Declaration _0) @@ -6591,7 +6545,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -6606,7 +6560,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -6614,7 +6568,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.PreprocessedEntity GetPreprocessedEntities(uint i) { - var __ret = __Internal.GetPreprocessedEntities((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPreprocessedEntities(__Instance, i); global::CppSharp.Parser.AST.PreprocessedEntity __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret)) @@ -6629,17 +6583,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddPreprocessedEntities((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPreprocessedEntities(__Instance, __arg0); } public void ClearPreprocessedEntities() { - __Internal.ClearPreprocessedEntities((__Instance + __PointerAdjustment)); + __Internal.ClearPreprocessedEntities(__Instance); } public global::CppSharp.Parser.AST.Declaration GetRedeclarations(uint i) { - var __ret = __Internal.GetRedeclarations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetRedeclarations(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -6654,12 +6608,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddRedeclarations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddRedeclarations(__Instance, __arg0); } public void ClearRedeclarations() { - __Internal.ClearRedeclarations((__Instance + __PointerAdjustment)); + __Internal.ClearRedeclarations(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Declaration(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -6923,7 +6877,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetPreprocessedEntitiesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPreprocessedEntitiesCount(__Instance); return __ret; } } @@ -6932,7 +6886,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetRedeclarationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetRedeclarationsCount(__Instance); return __ret; } } @@ -7259,7 +7213,6 @@ namespace CppSharp protected DeclarationContext(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7271,7 +7224,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclarationContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) @@ -7283,7 +7236,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7293,7 +7246,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7301,7 +7254,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Namespace GetNamespaces(uint i) { - var __ret = __Internal.GetNamespaces((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetNamespaces(__Instance, i); global::CppSharp.Parser.AST.Namespace __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret)) @@ -7316,17 +7269,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddNamespaces((__Instance + __PointerAdjustment), __arg0); + __Internal.AddNamespaces(__Instance, __arg0); } public void ClearNamespaces() { - __Internal.ClearNamespaces((__Instance + __PointerAdjustment)); + __Internal.ClearNamespaces(__Instance); } public global::CppSharp.Parser.AST.Enumeration GetEnums(uint i) { - var __ret = __Internal.GetEnums((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetEnums(__Instance, i); global::CppSharp.Parser.AST.Enumeration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret)) @@ -7341,17 +7294,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddEnums((__Instance + __PointerAdjustment), __arg0); + __Internal.AddEnums(__Instance, __arg0); } public void ClearEnums() { - __Internal.ClearEnums((__Instance + __PointerAdjustment)); + __Internal.ClearEnums(__Instance); } public global::CppSharp.Parser.AST.Function GetFunctions(uint i) { - var __ret = __Internal.GetFunctions((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFunctions(__Instance, i); global::CppSharp.Parser.AST.Function __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret)) @@ -7366,17 +7319,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFunctions((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFunctions(__Instance, __arg0); } public void ClearFunctions() { - __Internal.ClearFunctions((__Instance + __PointerAdjustment)); + __Internal.ClearFunctions(__Instance); } public global::CppSharp.Parser.AST.Class GetClasses(uint i) { - var __ret = __Internal.GetClasses((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetClasses(__Instance, i); global::CppSharp.Parser.AST.Class __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret)) @@ -7391,17 +7344,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddClasses((__Instance + __PointerAdjustment), __arg0); + __Internal.AddClasses(__Instance, __arg0); } public void ClearClasses() { - __Internal.ClearClasses((__Instance + __PointerAdjustment)); + __Internal.ClearClasses(__Instance); } public global::CppSharp.Parser.AST.Template GetTemplates(uint i) { - var __ret = __Internal.GetTemplates((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTemplates(__Instance, i); global::CppSharp.Parser.AST.Template __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret)) @@ -7416,17 +7369,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTemplates((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTemplates(__Instance, __arg0); } public void ClearTemplates() { - __Internal.ClearTemplates((__Instance + __PointerAdjustment)); + __Internal.ClearTemplates(__Instance); } public global::CppSharp.Parser.AST.TypedefDecl GetTypedefs(uint i) { - var __ret = __Internal.GetTypedefs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypedefs(__Instance, i); global::CppSharp.Parser.AST.TypedefDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -7441,17 +7394,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypedefs((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypedefs(__Instance, __arg0); } public void ClearTypedefs() { - __Internal.ClearTypedefs((__Instance + __PointerAdjustment)); + __Internal.ClearTypedefs(__Instance); } public global::CppSharp.Parser.AST.TypeAlias GetTypeAliases(uint i) { - var __ret = __Internal.GetTypeAliases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypeAliases(__Instance, i); global::CppSharp.Parser.AST.TypeAlias __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypeAlias.NativeToManagedMap.ContainsKey(__ret)) @@ -7466,17 +7419,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypeAliases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypeAliases(__Instance, __arg0); } public void ClearTypeAliases() { - __Internal.ClearTypeAliases((__Instance + __PointerAdjustment)); + __Internal.ClearTypeAliases(__Instance); } public global::CppSharp.Parser.AST.Variable GetVariables(uint i) { - var __ret = __Internal.GetVariables((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetVariables(__Instance, i); global::CppSharp.Parser.AST.Variable __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret)) @@ -7491,17 +7444,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddVariables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVariables(__Instance, __arg0); } public void ClearVariables() { - __Internal.ClearVariables((__Instance + __PointerAdjustment)); + __Internal.ClearVariables(__Instance); } public global::CppSharp.Parser.AST.Friend GetFriends(uint i) { - var __ret = __Internal.GetFriends((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFriends(__Instance, i); global::CppSharp.Parser.AST.Friend __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret)) @@ -7516,12 +7469,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFriends((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFriends(__Instance, __arg0); } public void ClearFriends() { - __Internal.ClearFriends((__Instance + __PointerAdjustment)); + __Internal.ClearFriends(__Instance); } public static implicit operator global::CppSharp.Parser.AST.DeclarationContext(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -7546,7 +7499,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetNamespacesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetNamespacesCount(__Instance); return __ret; } } @@ -7555,7 +7508,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetEnumsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetEnumsCount(__Instance); return __ret; } } @@ -7564,7 +7517,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFunctionsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFunctionsCount(__Instance); return __ret; } } @@ -7573,7 +7526,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetClassesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetClassesCount(__Instance); return __ret; } } @@ -7582,7 +7535,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTemplatesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTemplatesCount(__Instance); return __ret; } } @@ -7591,7 +7544,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypedefsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypedefsCount(__Instance); return __ret; } } @@ -7600,7 +7553,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypeAliasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypeAliasesCount(__Instance); return __ret; } } @@ -7609,7 +7562,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVariablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVariablesCount(__Instance); return __ret; } } @@ -7618,7 +7571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFriendsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFriendsCount(__Instance); return __ret; } } @@ -7735,7 +7688,6 @@ namespace CppSharp protected TypedefNameDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7747,7 +7699,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefNameDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) @@ -7759,7 +7711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7769,7 +7721,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7907,7 +7859,6 @@ namespace CppSharp protected TypedefDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7919,7 +7870,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) @@ -7931,7 +7882,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7941,7 +7892,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8062,7 +8013,6 @@ namespace CppSharp protected TypeAlias(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8074,7 +8024,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAlias.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) @@ -8086,7 +8036,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8096,7 +8046,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8232,7 +8182,6 @@ namespace CppSharp protected Friend(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8244,7 +8193,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Friend.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Friend(global::CppSharp.Parser.AST.Friend _0) @@ -8256,7 +8205,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8266,7 +8215,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8323,7 +8272,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -8369,7 +8317,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8381,7 +8329,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -8396,7 +8344,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8505,7 +8453,6 @@ namespace CppSharp protected ExpressionObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8521,7 +8468,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8534,7 +8481,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8544,7 +8491,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8617,7 +8564,6 @@ namespace CppSharp protected BinaryOperatorObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8637,7 +8583,7 @@ namespace CppSharp var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); var __arg3 = __basicString3.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1, __arg2, __arg3); + __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); __basicString0.Dispose(); __basicString3.Dispose(); } @@ -8651,7 +8597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8661,7 +8607,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8798,7 +8744,6 @@ namespace CppSharp protected CallExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8814,7 +8759,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8827,7 +8772,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8837,7 +8782,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8845,7 +8790,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -8860,19 +8805,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -8958,7 +8903,6 @@ namespace CppSharp protected CXXConstructExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8974,7 +8918,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8987,7 +8931,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8997,7 +8941,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9005,7 +8949,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -9020,19 +8964,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -9164,7 +9108,6 @@ namespace CppSharp protected Parameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9176,7 +9119,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Parameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Parameter(global::CppSharp.Parser.AST.Parameter _0) @@ -9188,7 +9131,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9198,7 +9141,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9516,7 +9459,6 @@ namespace CppSharp protected Function(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9528,7 +9470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Function.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Function(global::CppSharp.Parser.AST.Function _0) @@ -9540,7 +9482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9550,7 +9492,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9558,7 +9500,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -9573,12 +9515,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -9854,7 +9796,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -10114,7 +10056,6 @@ namespace CppSharp protected Method(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10126,7 +10067,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Method.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Method(global::CppSharp.Parser.AST.Method _0) @@ -10138,7 +10079,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10148,7 +10089,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10156,7 +10097,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Method GetOverriddenMethods(uint i) { - var __ret = __Internal.GetOverriddenMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetOverriddenMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -10171,12 +10112,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddOverriddenMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddOverriddenMethods(__Instance, __arg0); } public void ClearOverriddenMethods() { - __Internal.ClearOverriddenMethods((__Instance + __PointerAdjustment)); + __Internal.ClearOverriddenMethods(__Instance); } public bool IsVirtual @@ -10315,7 +10256,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetOverriddenMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetOverriddenMethodsCount(__Instance); return __ret; } } @@ -10594,7 +10535,6 @@ namespace CppSharp protected Item(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10606,7 +10546,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.Item.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) @@ -10618,7 +10558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10628,7 +10568,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10689,7 +10629,6 @@ namespace CppSharp protected Enumeration(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10701,7 +10640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) @@ -10713,7 +10652,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10723,7 +10662,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10731,7 +10670,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Enumeration.Item GetItems(uint i) { - var __ret = __Internal.GetItems((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetItems(__Instance, i); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.Item.NativeToManagedMap.ContainsKey(__ret)) @@ -10746,12 +10685,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddItems((__Instance + __PointerAdjustment), __arg0); + __Internal.AddItems(__Instance, __arg0); } public void ClearItems() { - __Internal.ClearItems((__Instance + __PointerAdjustment)); + __Internal.ClearItems(__Instance); } public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) @@ -10759,7 +10698,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, Name); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindItemByName((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindItemByName(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -10822,7 +10761,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetItemsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetItemsCount(__Instance); return __ret; } } @@ -10942,7 +10881,6 @@ namespace CppSharp protected Variable(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10954,7 +10892,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Variable.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Variable(global::CppSharp.Parser.AST.Variable _0) @@ -10966,7 +10904,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10976,7 +10914,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11042,7 +10980,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11084,7 +11021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BaseClassSpecifier.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) @@ -11289,7 +11226,6 @@ namespace CppSharp protected Field(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11301,7 +11237,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Field.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Field(global::CppSharp.Parser.AST.Field _0) @@ -11313,7 +11249,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11323,7 +11259,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11497,7 +11433,6 @@ namespace CppSharp protected AccessSpecifierDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11509,7 +11444,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AccessSpecifierDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) @@ -11521,7 +11456,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11531,7 +11466,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11565,7 +11500,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11607,7 +11541,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableComponent.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) @@ -11725,7 +11659,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11767,7 +11700,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) @@ -11778,7 +11711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11793,7 +11726,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VTableLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11801,7 +11734,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VTableComponent GetComponents(uint i) { - var __ret = __Internal.GetComponents((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetComponents(__Instance, i); return global::CppSharp.Parser.AST.VTableComponent.__CreateInstance(__ret); } @@ -11810,19 +11743,19 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddComponents((__Instance + __PointerAdjustment), __arg0); + __Internal.AddComponents(__Instance, __arg0); } public void ClearComponents() { - __Internal.ClearComponents((__Instance + __PointerAdjustment)); + __Internal.ClearComponents(__Instance); } public uint ComponentsCount { get { - var __ret = __Internal.GetComponentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetComponentsCount(__Instance); return __ret; } } @@ -11863,7 +11796,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11905,7 +11837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VFTableInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) @@ -11916,7 +11848,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11931,7 +11863,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VFTableInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12027,7 +11959,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12069,7 +12000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutField.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutField(global::CppSharp.Parser.AST.LayoutField other) @@ -12080,7 +12011,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12095,7 +12026,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutField __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12186,7 +12117,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12228,7 +12158,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutBase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) @@ -12239,7 +12169,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12254,7 +12184,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutBase __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12408,7 +12338,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12450,7 +12379,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) @@ -12461,7 +12390,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12476,7 +12405,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ClassLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12485,7 +12414,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VFTableInfo GetVFTables(uint i) { var __ret = new global::CppSharp.Parser.AST.VFTableInfo.__Internal(); - __Internal.GetVFTables(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetVFTables(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.VFTableInfo.__CreateInstance(__ret); } @@ -12494,18 +12423,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddVFTables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVFTables(__Instance, __arg0); } public void ClearVFTables() { - __Internal.ClearVFTables((__Instance + __PointerAdjustment)); + __Internal.ClearVFTables(__Instance); } public global::CppSharp.Parser.AST.LayoutField GetFields(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutField.__Internal(); - __Internal.GetFields(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetFields(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutField.__CreateInstance(__ret); } @@ -12514,18 +12443,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.LayoutBase GetBases(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutBase.__Internal(); - __Internal.GetBases(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetBases(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutBase.__CreateInstance(__ret); } @@ -12534,12 +12463,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.CppAbi ABI @@ -12652,7 +12581,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVFTablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVFTablesCount(__Instance); return __ret; } } @@ -12661,7 +12590,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -12670,7 +12599,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -12942,7 +12871,6 @@ namespace CppSharp protected Class(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -12954,7 +12882,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Class.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Class(global::CppSharp.Parser.AST.Class _0) @@ -12966,7 +12894,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -12976,7 +12904,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12984,7 +12912,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BaseClassSpecifier GetBases(uint i) { - var __ret = __Internal.GetBases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBases(__Instance, i); global::CppSharp.Parser.AST.BaseClassSpecifier __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret)) @@ -12999,17 +12927,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.Field GetFields(uint i) { - var __ret = __Internal.GetFields((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFields(__Instance, i); global::CppSharp.Parser.AST.Field __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret)) @@ -13024,17 +12952,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.Method GetMethods(uint i) { - var __ret = __Internal.GetMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -13049,17 +12977,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMethods(__Instance, __arg0); } public void ClearMethods() { - __Internal.ClearMethods((__Instance + __PointerAdjustment)); + __Internal.ClearMethods(__Instance); } public global::CppSharp.Parser.AST.AccessSpecifierDecl GetSpecifiers(uint i) { - var __ret = __Internal.GetSpecifiers((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecifiers(__Instance, i); global::CppSharp.Parser.AST.AccessSpecifierDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -13074,12 +13002,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecifiers((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecifiers(__Instance, __arg0); } public void ClearSpecifiers() { - __Internal.ClearSpecifiers((__Instance + __PointerAdjustment)); + __Internal.ClearSpecifiers(__Instance); } public bool IsPOD @@ -13234,7 +13162,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -13243,7 +13171,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -13252,7 +13180,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMethodsCount(__Instance); return __ret; } } @@ -13261,7 +13189,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecifiersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecifiersCount(__Instance); return __ret; } } @@ -13406,7 +13334,6 @@ namespace CppSharp protected Template(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13418,7 +13345,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Template() @@ -13427,7 +13354,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Template(global::CppSharp.Parser.AST.Template _0) @@ -13439,7 +13366,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13449,7 +13376,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13457,7 +13384,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -13472,12 +13399,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Template(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -13507,7 +13434,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -13627,7 +13554,6 @@ namespace CppSharp protected TypeAliasTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13639,7 +13565,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAliasTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) @@ -13651,7 +13577,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13661,7 +13587,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13785,7 +13711,6 @@ namespace CppSharp protected TemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13797,7 +13722,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) @@ -13809,7 +13734,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13819,7 +13744,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13993,7 +13918,6 @@ namespace CppSharp protected TemplateTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14005,7 +13929,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplateParameter _0) @@ -14017,7 +13941,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14027,7 +13951,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14193,7 +14117,6 @@ namespace CppSharp protected TypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14205,7 +14128,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _0) @@ -14217,7 +14140,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14227,7 +14150,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14381,7 +14304,6 @@ namespace CppSharp protected NonTypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14393,7 +14315,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NonTypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParameter _0) @@ -14405,7 +14327,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14415,7 +14337,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14644,7 +14566,6 @@ namespace CppSharp protected ClassTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14656,7 +14577,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) @@ -14668,7 +14589,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14678,7 +14599,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14686,7 +14607,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ClassTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -14701,12 +14622,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) @@ -14714,7 +14635,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14729,7 +14650,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14743,7 +14664,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -14964,7 +14885,6 @@ namespace CppSharp protected ClassTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14976,7 +14896,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpecialization _0) @@ -14988,7 +14908,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14998,7 +14918,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15007,7 +14927,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15016,12 +14936,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.ClassTemplate TemplatedDecl @@ -15059,7 +14979,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15260,7 +15180,6 @@ namespace CppSharp protected ClassTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15272,7 +15191,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization _0) @@ -15284,7 +15203,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15294,7 +15213,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15443,7 +15362,6 @@ namespace CppSharp protected FunctionTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15455,7 +15373,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) @@ -15467,7 +15385,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15477,7 +15395,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15485,7 +15403,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.FunctionTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15500,12 +15418,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) @@ -15513,7 +15431,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15527,7 +15445,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -15588,7 +15506,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -15630,7 +15547,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTemplateSpecialization _0) @@ -15641,7 +15558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -15656,7 +15573,7 @@ namespace CppSharp global::CppSharp.Parser.AST.FunctionTemplateSpecialization __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15665,7 +15582,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15674,12 +15591,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplate Template @@ -15735,7 +15652,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15888,7 +15805,6 @@ namespace CppSharp protected VarTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15900,7 +15816,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) @@ -15912,7 +15828,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15922,7 +15838,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15930,7 +15846,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VarTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VarTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15945,12 +15861,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) @@ -15958,7 +15874,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15973,7 +15889,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15987,7 +15903,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -16136,7 +16052,6 @@ namespace CppSharp protected VarTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16148,7 +16063,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpecialization _0) @@ -16160,7 +16075,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16170,7 +16085,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16179,7 +16094,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -16188,12 +16103,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.VarTemplate TemplatedDecl @@ -16231,7 +16146,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -16360,7 +16275,6 @@ namespace CppSharp protected VarTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16372,7 +16286,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization _0) @@ -16384,7 +16298,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16394,7 +16308,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16509,7 +16423,6 @@ namespace CppSharp protected UnresolvedUsingTypename(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16521,7 +16434,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingTypename.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypename _0) @@ -16533,7 +16446,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16543,7 +16456,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16694,7 +16607,6 @@ namespace CppSharp protected Namespace(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16706,7 +16618,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Namespace.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Namespace(global::CppSharp.Parser.AST.Namespace _0) @@ -16718,7 +16630,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16728,7 +16640,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16775,7 +16687,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -16817,7 +16728,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PreprocessedEntity.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) @@ -16953,7 +16864,6 @@ namespace CppSharp protected MacroDefinition(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16965,7 +16875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroDefinition.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) @@ -16977,7 +16887,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16987,7 +16897,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17114,7 +17024,6 @@ namespace CppSharp protected MacroExpansion(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17126,7 +17035,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroExpansion.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) @@ -17138,7 +17047,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17148,7 +17057,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17374,7 +17283,6 @@ namespace CppSharp protected TranslationUnit(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17386,7 +17294,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TranslationUnit.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) @@ -17398,7 +17306,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17408,7 +17316,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17416,7 +17324,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.MacroDefinition GetMacros(uint i) { - var __ret = __Internal.GetMacros((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMacros(__Instance, i); global::CppSharp.Parser.AST.MacroDefinition __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret)) @@ -17431,12 +17339,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMacros((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMacros(__Instance, __arg0); } public void ClearMacros() { - __Internal.ClearMacros((__Instance + __PointerAdjustment)); + __Internal.ClearMacros(__Instance); } public string FileName @@ -17470,7 +17378,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMacrosCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMacrosCount(__Instance); return __ret; } } @@ -17527,7 +17435,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17569,7 +17476,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ASTContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) @@ -17580,7 +17487,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -17595,7 +17502,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ASTContext __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17606,7 +17513,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, File); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindOrCreateModule((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindOrCreateModule(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -17618,7 +17525,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { - var __ret = __Internal.GetTranslationUnits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTranslationUnits(__Instance, i); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret)) @@ -17633,19 +17540,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTranslationUnits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTranslationUnits(__Instance, __arg0); } public void ClearTranslationUnits() { - __Internal.ClearTranslationUnits((__Instance + __PointerAdjustment)); + __Internal.ClearTranslationUnits(__Instance); } public uint TranslationUnitsCount { get { - var __ret = __Internal.GetTranslationUnitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTranslationUnitsCount(__Instance); return __ret; } } @@ -17825,7 +17732,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17867,7 +17773,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Stmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -17875,7 +17781,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Stmt(global::CppSharp.Parser.AST.Stmt _0) @@ -18051,7 +17957,6 @@ namespace CppSharp protected DeclStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18063,7 +17968,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) @@ -18075,7 +17980,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18085,7 +17990,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18093,7 +17998,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration Getdecls(uint i) { - var __ret = __Internal.Getdecls((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getdecls(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -18108,12 +18013,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Adddecls((__Instance + __PointerAdjustment), __arg0); + __Internal.Adddecls(__Instance, __arg0); } public void Cleardecls() { - __Internal.Cleardecls((__Instance + __PointerAdjustment)); + __Internal.Cleardecls(__Instance); } public bool IsSingleDecl @@ -18151,7 +18056,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetdeclsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetdeclsCount(__Instance); return __ret; } } @@ -18218,7 +18123,6 @@ namespace CppSharp protected NullStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18230,7 +18134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NullStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NullStmt(global::CppSharp.Parser.AST.NullStmt _0) @@ -18370,7 +18274,6 @@ namespace CppSharp protected CompoundStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18382,7 +18285,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) @@ -18394,7 +18297,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18404,7 +18307,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18412,7 +18315,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Stmt Getbody(uint i) { - var __ret = __Internal.Getbody((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getbody(__Instance, i); global::CppSharp.Parser.AST.Stmt __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Stmt.NativeToManagedMap.ContainsKey(__ret)) @@ -18427,12 +18330,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addbody((__Instance + __PointerAdjustment), __arg0); + __Internal.Addbody(__Instance, __arg0); } public void Clearbody() { - __Internal.Clearbody((__Instance + __PointerAdjustment)); + __Internal.Clearbody(__Instance); } public bool BodyEmpty @@ -18527,7 +18430,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetbodyCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetbodyCount(__Instance); return __ret; } } @@ -18602,7 +18505,6 @@ namespace CppSharp protected SwitchCase(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18614,7 +18516,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchCase(global::CppSharp.Parser.AST.StmtClass klass) @@ -18623,7 +18525,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) @@ -18764,7 +18666,6 @@ namespace CppSharp protected CaseStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18776,7 +18677,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CaseStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CaseStmt(global::CppSharp.Parser.AST.CaseStmt _0) @@ -18931,7 +18832,6 @@ namespace CppSharp protected DefaultStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18943,7 +18843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DefaultStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) @@ -19033,7 +18933,6 @@ namespace CppSharp protected LabelStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19045,7 +18944,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LabelStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LabelStmt(global::CppSharp.Parser.AST.LabelStmt _0) @@ -19172,7 +19071,6 @@ namespace CppSharp protected AttributedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19184,7 +19082,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) @@ -19319,7 +19217,6 @@ namespace CppSharp protected IfStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19331,7 +19228,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IfStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IfStmt(global::CppSharp.Parser.AST.IfStmt _0) @@ -19604,7 +19501,6 @@ namespace CppSharp protected SwitchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19616,7 +19512,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchStmt(global::CppSharp.Parser.AST.SwitchStmt _0) @@ -19823,7 +19719,6 @@ namespace CppSharp protected WhileStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19835,7 +19730,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.WhileStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public WhileStmt(global::CppSharp.Parser.AST.WhileStmt _0) @@ -19998,7 +19893,6 @@ namespace CppSharp protected DoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20010,7 +19904,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) @@ -20177,7 +20071,6 @@ namespace CppSharp protected ForStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20189,7 +20082,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ForStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) @@ -20392,7 +20285,6 @@ namespace CppSharp protected GotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20404,7 +20296,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) @@ -20507,7 +20399,6 @@ namespace CppSharp protected IndirectGotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20519,7 +20410,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IndirectGotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) @@ -20634,7 +20525,6 @@ namespace CppSharp protected ContinueStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20646,7 +20536,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ContinueStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) @@ -20730,7 +20620,6 @@ namespace CppSharp protected BreakStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20742,7 +20631,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BreakStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) @@ -20829,7 +20718,6 @@ namespace CppSharp protected ReturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20841,7 +20729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ReturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) @@ -21017,7 +20905,6 @@ namespace CppSharp protected AsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21029,7 +20916,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21038,7 +20925,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) @@ -21050,7 +20937,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21060,7 +20947,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21068,7 +20955,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getinputs(uint i) { - var __ret = __Internal.Getinputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getinputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21083,17 +20970,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addinputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addinputs(__Instance, __arg0); } public void Clearinputs() { - __Internal.Clearinputs((__Instance + __PointerAdjustment)); + __Internal.Clearinputs(__Instance); } public global::CppSharp.Parser.AST.Expr Getoutputs(uint i) { - var __ret = __Internal.Getoutputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getoutputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21108,12 +20995,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addoutputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addoutputs(__Instance, __arg0); } public void Clearoutputs() { - __Internal.Clearoutputs((__Instance + __PointerAdjustment)); + __Internal.Clearoutputs(__Instance); } public static implicit operator global::CppSharp.Parser.AST.AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21216,7 +21103,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetinputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetinputsCount(__Instance); return __ret; } } @@ -21225,7 +21112,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetoutputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetoutputsCount(__Instance); return __ret; } } @@ -21338,7 +21225,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -21380,7 +21266,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) @@ -21391,7 +21277,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -21406,7 +21292,7 @@ namespace CppSharp global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21506,7 +21392,6 @@ namespace CppSharp protected GCCAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21518,7 +21403,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) @@ -21530,7 +21415,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21540,7 +21425,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21659,7 +21544,6 @@ namespace CppSharp protected MSAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21671,7 +21555,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) @@ -21683,7 +21567,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21693,7 +21577,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21817,7 +21701,6 @@ namespace CppSharp protected SEHExceptStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21829,7 +21712,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHExceptStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) @@ -21952,7 +21835,6 @@ namespace CppSharp protected SEHFinallyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21964,7 +21846,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHFinallyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) @@ -22081,7 +21963,6 @@ namespace CppSharp protected SEHTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22093,7 +21974,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHTryStmt(global::CppSharp.Parser.AST.SEHTryStmt _0) @@ -22262,7 +22143,6 @@ namespace CppSharp protected SEHLeaveStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22274,7 +22154,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHLeaveStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) @@ -22406,7 +22286,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -22448,7 +22327,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.Capture.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) @@ -22581,7 +22460,6 @@ namespace CppSharp protected CapturedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22593,7 +22471,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) @@ -22605,7 +22483,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -22615,7 +22493,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -22623,7 +22501,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -22638,12 +22516,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.AST.Stmt capturedStmt @@ -22681,7 +22559,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -22751,7 +22629,6 @@ namespace CppSharp protected CXXCatchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22763,7 +22640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXCatchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) @@ -22886,7 +22763,6 @@ namespace CppSharp protected CXXTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22898,7 +22774,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTryStmt(global::CppSharp.Parser.AST.CXXTryStmt _0) @@ -23049,7 +22925,6 @@ namespace CppSharp protected CXXForRangeStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23061,7 +22936,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXForRangeStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) @@ -23355,7 +23230,6 @@ namespace CppSharp protected MSDependentExistsStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23367,7 +23241,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSDependentExistsStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSDependentExistsStmt(global::CppSharp.Parser.AST.MSDependentExistsStmt _0) @@ -23539,7 +23413,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -23581,7 +23454,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) @@ -23636,7 +23509,6 @@ namespace CppSharp protected CoroutineBodyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23648,7 +23520,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineBodyStmt(global::CppSharp.Parser.AST.CoroutineBodyStmt _0) @@ -23964,7 +23836,6 @@ namespace CppSharp protected CoreturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23976,7 +23847,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoreturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoreturnStmt(global::CppSharp.Parser.AST.CoreturnStmt _0) @@ -24456,7 +24327,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -24498,7 +24368,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.Classification.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) @@ -24657,7 +24527,6 @@ namespace CppSharp protected Expr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -24669,7 +24538,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Expr(global::CppSharp.Parser.AST.StmtClass klass) @@ -24678,7 +24547,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Expr(global::CppSharp.Parser.AST.Expr _0) @@ -24995,7 +24864,6 @@ namespace CppSharp protected FullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25007,7 +24875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -25016,7 +24884,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) @@ -25152,7 +25020,6 @@ namespace CppSharp protected ConstantExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25164,7 +25031,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConstantExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) @@ -25283,7 +25150,6 @@ namespace CppSharp protected OpaqueValueExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25295,7 +25161,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OpaqueValueExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OpaqueValueExpr(global::CppSharp.Parser.AST.OpaqueValueExpr _0) @@ -25485,7 +25351,6 @@ namespace CppSharp protected DeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25497,7 +25362,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclRefExpr(global::CppSharp.Parser.AST.DeclRefExpr _0) @@ -25774,7 +25639,6 @@ namespace CppSharp protected IntegerLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25786,7 +25650,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IntegerLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IntegerLiteral(global::CppSharp.Parser.AST.IntegerLiteral _0) @@ -25928,7 +25792,6 @@ namespace CppSharp protected FixedPointLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25940,7 +25803,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FixedPointLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FixedPointLiteral(global::CppSharp.Parser.AST.FixedPointLiteral _0) @@ -26094,7 +25957,6 @@ namespace CppSharp protected CharacterLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26106,7 +25968,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CharacterLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CharacterLiteral(global::CppSharp.Parser.AST.CharacterLiteral _0) @@ -26264,7 +26126,6 @@ namespace CppSharp protected FloatingLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26276,7 +26137,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FloatingLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FloatingLiteral(global::CppSharp.Parser.AST.FloatingLiteral _0) @@ -26428,7 +26289,6 @@ namespace CppSharp protected ImaginaryLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26440,7 +26300,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImaginaryLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) @@ -26627,7 +26487,6 @@ namespace CppSharp protected StringLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26639,7 +26498,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StringLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) @@ -26651,7 +26510,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -26661,7 +26520,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -26980,7 +26839,6 @@ namespace CppSharp protected PredefinedExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26992,7 +26850,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PredefinedExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) @@ -27137,7 +26995,6 @@ namespace CppSharp protected ParenExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27149,7 +27006,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) @@ -27333,7 +27190,6 @@ namespace CppSharp protected UnaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27345,7 +27201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryOperator(global::CppSharp.Parser.AST.UnaryOperator _0) @@ -27602,7 +27458,6 @@ namespace CppSharp protected OffsetOfExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27614,7 +27469,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OffsetOfExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OffsetOfExpr(global::CppSharp.Parser.AST.OffsetOfExpr _0) @@ -27797,7 +27652,6 @@ namespace CppSharp protected UnaryExprOrTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27809,7 +27663,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryExprOrTypeTraitExpr(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr _0) @@ -28034,7 +27888,6 @@ namespace CppSharp protected ArraySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28046,7 +27899,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArraySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) @@ -28298,7 +28151,6 @@ namespace CppSharp protected CallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28310,7 +28162,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28319,7 +28171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) @@ -28331,7 +28183,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -28341,7 +28193,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -28349,7 +28201,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -28364,12 +28216,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28500,7 +28352,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -28642,7 +28494,6 @@ namespace CppSharp protected MemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28654,7 +28505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberExpr(global::CppSharp.Parser.AST.MemberExpr _0) @@ -28947,7 +28798,6 @@ namespace CppSharp protected CompoundLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28959,7 +28809,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundLiteralExpr(global::CppSharp.Parser.AST.CompoundLiteralExpr _0) @@ -29139,7 +28989,6 @@ namespace CppSharp protected CastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29151,7 +29000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29160,7 +29009,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CastExpr(global::CppSharp.Parser.AST.CastExpr _0) @@ -29419,7 +29268,6 @@ namespace CppSharp protected ImplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29431,7 +29279,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitCastExpr(global::CppSharp.Parser.AST.ImplicitCastExpr _0) @@ -29583,7 +29431,6 @@ namespace CppSharp protected ExplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29595,7 +29442,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExplicitCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29604,7 +29451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) @@ -29764,7 +29611,6 @@ namespace CppSharp protected CStyleCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29776,7 +29622,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CStyleCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) @@ -29979,7 +29825,6 @@ namespace CppSharp protected BinaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29991,7 +29836,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30000,7 +29845,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) @@ -30012,7 +29857,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30022,7 +29867,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30457,7 +30302,6 @@ namespace CppSharp protected CompoundAssignOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30469,7 +30313,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundAssignOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator _0) @@ -30481,7 +30325,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30491,7 +30335,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30645,7 +30489,6 @@ namespace CppSharp protected AbstractConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30657,7 +30500,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30666,7 +30509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractConditionalOperator _0) @@ -30882,7 +30725,6 @@ namespace CppSharp protected ConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30894,7 +30736,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) @@ -31061,7 +30903,6 @@ namespace CppSharp protected BinaryConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31073,7 +30914,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOperator _0) @@ -31225,7 +31066,6 @@ namespace CppSharp protected AddrLabelExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31237,7 +31077,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AddrLabelExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) @@ -31382,7 +31222,6 @@ namespace CppSharp protected StmtExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31394,7 +31233,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StmtExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) @@ -31557,7 +31396,6 @@ namespace CppSharp protected ShuffleVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31569,7 +31407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ShuffleVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ShuffleVectorExpr(global::CppSharp.Parser.AST.ShuffleVectorExpr _0) @@ -31727,7 +31565,6 @@ namespace CppSharp protected ConvertVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31739,7 +31576,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConvertVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) @@ -31917,7 +31754,6 @@ namespace CppSharp protected ChooseExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31929,7 +31765,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ChooseExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ChooseExpr(global::CppSharp.Parser.AST.ChooseExpr _0) @@ -32166,7 +32002,6 @@ namespace CppSharp protected GNUNullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32178,7 +32013,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GNUNullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) @@ -32313,7 +32148,6 @@ namespace CppSharp protected VAArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32325,7 +32159,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VAArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VAArgExpr(global::CppSharp.Parser.AST.VAArgExpr _0) @@ -32528,7 +32362,6 @@ namespace CppSharp protected InitListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32540,7 +32373,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InitListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InitListExpr(global::CppSharp.Parser.AST.InitListExpr _0) @@ -32863,7 +32696,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -32905,7 +32737,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) @@ -33101,7 +32933,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33143,7 +32974,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator _0) @@ -33189,7 +33020,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33231,7 +33061,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator _0) @@ -33286,7 +33116,6 @@ namespace CppSharp protected DesignatedInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33298,7 +33127,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitExpr(global::CppSharp.Parser.AST.DesignatedInitExpr _0) @@ -33493,7 +33322,6 @@ namespace CppSharp protected NoInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33505,7 +33333,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NoInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) @@ -33621,7 +33449,6 @@ namespace CppSharp protected DesignatedInitUpdateExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33633,7 +33460,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr _0) @@ -33785,7 +33612,6 @@ namespace CppSharp protected ArrayInitLoopExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33797,7 +33623,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitLoopExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) @@ -33943,7 +33769,6 @@ namespace CppSharp protected ArrayInitIndexExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33955,7 +33780,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitIndexExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) @@ -34065,7 +33890,6 @@ namespace CppSharp protected ImplicitValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34077,7 +33901,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _0) @@ -34196,7 +34020,6 @@ namespace CppSharp protected ParenListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34208,7 +34031,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenListExpr(global::CppSharp.Parser.AST.ParenListExpr _0) @@ -34381,7 +34204,6 @@ namespace CppSharp protected GenericSelectionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34393,7 +34215,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GenericSelectionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GenericSelectionExpr(global::CppSharp.Parser.AST.GenericSelectionExpr _0) @@ -34632,7 +34454,6 @@ namespace CppSharp protected ExtVectorElementExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34644,7 +34465,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExtVectorElementExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtVectorElementExpr(global::CppSharp.Parser.AST.ExtVectorElementExpr _0) @@ -34830,7 +34651,6 @@ namespace CppSharp protected BlockExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34842,7 +34662,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) @@ -34992,7 +34812,6 @@ namespace CppSharp protected AsTypeExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35004,7 +34823,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsTypeExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) @@ -35170,7 +34989,6 @@ namespace CppSharp protected PseudoObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35182,7 +35000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PseudoObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PseudoObjectExpr(global::CppSharp.Parser.AST.PseudoObjectExpr _0) @@ -35449,7 +35267,6 @@ namespace CppSharp protected AtomicExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35461,7 +35278,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AtomicExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AtomicExpr(global::CppSharp.Parser.AST.AtomicExpr _0) @@ -35803,7 +35620,6 @@ namespace CppSharp protected TypoExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35815,7 +35631,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypoExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) @@ -35972,7 +35788,6 @@ namespace CppSharp protected CXXOperatorCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35984,7 +35799,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXOperatorCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) @@ -35996,7 +35811,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36006,7 +35821,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36213,7 +36028,6 @@ namespace CppSharp protected CXXMemberCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36225,7 +36039,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXMemberCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) @@ -36237,7 +36051,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36247,7 +36061,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36422,7 +36236,6 @@ namespace CppSharp protected CUDAKernelCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36434,7 +36247,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CUDAKernelCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) @@ -36446,7 +36259,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36456,7 +36269,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36619,7 +36432,6 @@ namespace CppSharp protected CXXNamedCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36631,7 +36443,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -36640,7 +36452,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.CXXNamedCastExpr _0) @@ -36854,7 +36666,6 @@ namespace CppSharp protected CXXStaticCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36866,7 +36677,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStaticCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) @@ -37015,7 +36826,6 @@ namespace CppSharp protected CXXDynamicCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37027,7 +36837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDynamicCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDynamicCastExpr(global::CppSharp.Parser.AST.CXXDynamicCastExpr _0) @@ -37186,7 +36996,6 @@ namespace CppSharp protected CXXReinterpretCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37198,7 +37007,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXReinterpretCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr _0) @@ -37344,7 +37153,6 @@ namespace CppSharp protected CXXConstCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37356,7 +37164,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) @@ -37517,7 +37325,6 @@ namespace CppSharp protected UserDefinedLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37529,7 +37336,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UserDefinedLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) @@ -37541,7 +37348,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -37551,7 +37358,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -37705,7 +37512,6 @@ namespace CppSharp protected CXXBoolLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37717,7 +37523,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBoolLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBoolLiteralExpr(global::CppSharp.Parser.AST.CXXBoolLiteralExpr _0) @@ -37856,7 +37662,6 @@ namespace CppSharp protected CXXNullPtrLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37868,7 +37673,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _0) @@ -37994,7 +37799,6 @@ namespace CppSharp protected CXXStdInitializerListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38006,7 +37810,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStdInitializerListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerListExpr _0) @@ -38143,7 +37947,6 @@ namespace CppSharp protected CXXTypeidExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38155,7 +37958,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTypeidExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTypeidExpr(global::CppSharp.Parser.AST.CXXTypeidExpr _0) @@ -38321,7 +38124,6 @@ namespace CppSharp protected MSPropertyRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38333,7 +38135,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertyRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertyRefExpr(global::CppSharp.Parser.AST.MSPropertyRefExpr _0) @@ -38509,7 +38311,6 @@ namespace CppSharp protected MSPropertySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38521,7 +38322,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptExpr _0) @@ -38694,7 +38495,6 @@ namespace CppSharp protected CXXUuidofExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38706,7 +38506,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUuidofExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) @@ -38718,7 +38518,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -38728,7 +38528,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -38883,7 +38683,6 @@ namespace CppSharp protected CXXThisExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38895,7 +38694,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThisExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThisExpr(global::CppSharp.Parser.AST.CXXThisExpr _0) @@ -39040,7 +38839,6 @@ namespace CppSharp protected CXXThrowExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39052,7 +38850,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThrowExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThrowExpr(global::CppSharp.Parser.AST.CXXThrowExpr _0) @@ -39212,7 +39010,6 @@ namespace CppSharp protected CXXDefaultArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39224,7 +39021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) @@ -39371,7 +39168,6 @@ namespace CppSharp protected CXXDefaultInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39383,7 +39179,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) @@ -39532,7 +39328,6 @@ namespace CppSharp protected CXXBindTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39544,7 +39339,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBindTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) @@ -39737,7 +39532,6 @@ namespace CppSharp protected CXXConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39749,7 +39543,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39758,7 +39552,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) @@ -39770,7 +39564,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -39780,7 +39574,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -39788,7 +39582,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -39803,12 +39597,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39926,7 +39720,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -40038,7 +39832,6 @@ namespace CppSharp protected CXXInheritedCtorInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40050,7 +39843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXInheritedCtorInitExpr(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr _0) @@ -40232,7 +40025,6 @@ namespace CppSharp protected CXXFunctionalCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40244,7 +40036,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFunctionalCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFunctionalCastExpr(global::CppSharp.Parser.AST.CXXFunctionalCastExpr _0) @@ -40425,7 +40217,6 @@ namespace CppSharp protected CXXTemporaryObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40437,7 +40228,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr _0) @@ -40449,7 +40240,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40459,7 +40250,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40618,7 +40409,6 @@ namespace CppSharp protected LambdaExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40630,7 +40420,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LambdaExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) @@ -40642,7 +40432,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40652,7 +40442,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40660,7 +40450,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -40675,12 +40465,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.SourceLocation CaptureDefaultLoc @@ -40816,7 +40606,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -40922,7 +40712,6 @@ namespace CppSharp protected CXXScalarValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40934,7 +40723,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXScalarValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr _0) @@ -41134,7 +40923,6 @@ namespace CppSharp protected CXXNewExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41146,7 +40934,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNewExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) @@ -41158,7 +40946,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -41168,7 +40956,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -41176,7 +40964,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetplacementArguments(uint i) { - var __ret = __Internal.GetplacementArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetplacementArguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -41191,12 +40979,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddplacementArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddplacementArguments(__Instance, __arg0); } public void ClearplacementArguments() { - __Internal.ClearplacementArguments((__Instance + __PointerAdjustment)); + __Internal.ClearplacementArguments(__Instance); } public global::CppSharp.Parser.AST.Function OperatorNew @@ -41416,7 +41204,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetplacementArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetplacementArgumentsCount(__Instance); return __ret; } } @@ -41537,7 +41325,6 @@ namespace CppSharp protected CXXDeleteExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41549,7 +41336,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDeleteExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDeleteExpr(global::CppSharp.Parser.AST.CXXDeleteExpr _0) @@ -41773,7 +41560,6 @@ namespace CppSharp protected CXXPseudoDestructorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41785,7 +41571,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXPseudoDestructorExpr(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr _0) @@ -42012,7 +41798,6 @@ namespace CppSharp protected TypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42024,7 +41809,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTraitExpr(global::CppSharp.Parser.AST.TypeTraitExpr _0) @@ -42169,7 +41954,6 @@ namespace CppSharp protected ArrayTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42181,7 +41965,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayTypeTraitExpr(global::CppSharp.Parser.AST.ArrayTypeTraitExpr _0) @@ -42343,7 +42127,6 @@ namespace CppSharp protected ExpressionTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42355,7 +42138,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExpressionTraitExpr(global::CppSharp.Parser.AST.ExpressionTraitExpr _0) @@ -42516,7 +42299,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -42558,7 +42340,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.FindResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) @@ -42613,7 +42395,6 @@ namespace CppSharp protected OverloadExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42625,7 +42406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OverloadExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -42634,7 +42415,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public OverloadExpr(global::CppSharp.Parser.AST.OverloadExpr _0) @@ -42883,7 +42664,6 @@ namespace CppSharp protected UnresolvedLookupExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42895,7 +42675,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedLookupExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedLookupExpr(global::CppSharp.Parser.AST.UnresolvedLookupExpr _0) @@ -43052,7 +42832,6 @@ namespace CppSharp protected DependentScopeDeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43064,7 +42843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentScopeDeclRefExpr(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr _0) @@ -43274,7 +43053,6 @@ namespace CppSharp protected ExprWithCleanups(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43286,7 +43064,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExprWithCleanups.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExprWithCleanups(global::CppSharp.Parser.AST.ExprWithCleanups _0) @@ -43465,7 +43243,6 @@ namespace CppSharp protected CXXUnresolvedConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43477,7 +43254,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr _0) @@ -43489,7 +43266,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -43499,7 +43276,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -43507,7 +43284,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -43522,12 +43299,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public global::CppSharp.Parser.SourceLocation LParenLoc @@ -43601,7 +43378,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -43743,7 +43520,6 @@ namespace CppSharp protected CXXDependentScopeMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43755,7 +43531,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDependentScopeMemberExpr(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr _0) @@ -44091,7 +43867,6 @@ namespace CppSharp protected UnresolvedMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44103,7 +43878,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedMemberExpr(global::CppSharp.Parser.AST.UnresolvedMemberExpr _0) @@ -44317,7 +44092,6 @@ namespace CppSharp protected CXXNoexceptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44329,7 +44103,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNoexceptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNoexceptExpr(global::CppSharp.Parser.AST.CXXNoexceptExpr _0) @@ -44476,7 +44250,6 @@ namespace CppSharp protected PackExpansionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44488,7 +44261,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) @@ -44647,7 +44420,6 @@ namespace CppSharp protected SizeOfPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44659,7 +44431,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SizeOfPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SizeOfPackExpr(global::CppSharp.Parser.AST.SizeOfPackExpr _0) @@ -44858,7 +44630,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44870,7 +44641,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr _0) @@ -45017,7 +44788,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45029,7 +44799,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr _0) @@ -45173,7 +44943,6 @@ namespace CppSharp protected FunctionParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45185,7 +44954,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionParmPackExpr(global::CppSharp.Parser.AST.FunctionParmPackExpr _0) @@ -45324,7 +45093,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -45366,7 +45134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState _0) @@ -45421,7 +45189,6 @@ namespace CppSharp protected MaterializeTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45433,7 +45200,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MaterializeTemporaryExpr(global::CppSharp.Parser.AST.MaterializeTemporaryExpr _0) @@ -45629,7 +45396,6 @@ namespace CppSharp protected CXXFoldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45641,7 +45407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFoldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFoldExpr(global::CppSharp.Parser.AST.CXXFoldExpr _0) @@ -45907,7 +45673,6 @@ namespace CppSharp protected CoroutineSuspendExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45919,7 +45684,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -45928,7 +45693,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) @@ -46170,7 +45935,6 @@ namespace CppSharp protected CoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46182,7 +45946,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoawaitExpr(global::CppSharp.Parser.AST.CoawaitExpr _0) @@ -46332,7 +46096,6 @@ namespace CppSharp protected DependentCoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46344,7 +46107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentCoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) @@ -46524,7 +46287,6 @@ namespace CppSharp protected CoyieldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46536,7 +46298,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoyieldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoyieldExpr(global::CppSharp.Parser.AST.CoyieldExpr _0) @@ -46735,7 +46497,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -46777,7 +46538,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserTargetInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) @@ -46788,7 +46549,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -46803,7 +46564,7 @@ namespace CppSharp global::CppSharp.Parser.ParserTargetInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47384,7 +47145,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47673,7 +47433,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47715,7 +47474,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.CppParserOptions.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) @@ -47726,7 +47485,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -47741,7 +47500,7 @@ namespace CppSharp global::CppSharp.Parser.CppParserOptions __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47749,7 +47508,7 @@ namespace CppSharp public string GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47760,17 +47519,17 @@ namespace CppSharp public void AddArguments(string s) { - __Internal.AddArguments((__Instance + __PointerAdjustment), s); + __Internal.AddArguments(__Instance, s); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public string GetSourceFiles(uint i) { - var __ret = __Internal.GetSourceFiles((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSourceFiles(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47781,17 +47540,17 @@ namespace CppSharp public void AddSourceFiles(string s) { - __Internal.AddSourceFiles((__Instance + __PointerAdjustment), s); + __Internal.AddSourceFiles(__Instance, s); } public void ClearSourceFiles() { - __Internal.ClearSourceFiles((__Instance + __PointerAdjustment)); + __Internal.ClearSourceFiles(__Instance); } public string GetIncludeDirs(uint i) { - var __ret = __Internal.GetIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47802,17 +47561,17 @@ namespace CppSharp public void AddIncludeDirs(string s) { - __Internal.AddIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddIncludeDirs(__Instance, s); } public void ClearIncludeDirs() { - __Internal.ClearIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearIncludeDirs(__Instance); } public string GetSystemIncludeDirs(uint i) { - var __ret = __Internal.GetSystemIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSystemIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47823,17 +47582,17 @@ namespace CppSharp public void AddSystemIncludeDirs(string s) { - __Internal.AddSystemIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddSystemIncludeDirs(__Instance, s); } public void ClearSystemIncludeDirs() { - __Internal.ClearSystemIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearSystemIncludeDirs(__Instance); } public string GetDefines(uint i) { - var __ret = __Internal.GetDefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47844,17 +47603,17 @@ namespace CppSharp public void AddDefines(string s) { - __Internal.AddDefines((__Instance + __PointerAdjustment), s); + __Internal.AddDefines(__Instance, s); } public void ClearDefines() { - __Internal.ClearDefines((__Instance + __PointerAdjustment)); + __Internal.ClearDefines(__Instance); } public string GetUndefines(uint i) { - var __ret = __Internal.GetUndefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetUndefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47865,17 +47624,17 @@ namespace CppSharp public void AddUndefines(string s) { - __Internal.AddUndefines((__Instance + __PointerAdjustment), s); + __Internal.AddUndefines(__Instance, s); } public void ClearUndefines() { - __Internal.ClearUndefines((__Instance + __PointerAdjustment)); + __Internal.ClearUndefines(__Instance); } public string GetLibraryDirs(uint i) { - var __ret = __Internal.GetLibraryDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLibraryDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47886,17 +47645,17 @@ namespace CppSharp public void AddLibraryDirs(string s) { - __Internal.AddLibraryDirs((__Instance + __PointerAdjustment), s); + __Internal.AddLibraryDirs(__Instance, s); } public void ClearLibraryDirs() { - __Internal.ClearLibraryDirs((__Instance + __PointerAdjustment)); + __Internal.ClearLibraryDirs(__Instance); } public string GetSupportedStdTypes(uint i) { - var __ret = __Internal.GetSupportedStdTypes((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSupportedStdTypes(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47907,12 +47666,12 @@ namespace CppSharp public void AddSupportedStdTypes(string s) { - __Internal.AddSupportedStdTypes((__Instance + __PointerAdjustment), s); + __Internal.AddSupportedStdTypes(__Instance, s); } public void ClearSupportedStdTypes() { - __Internal.ClearSupportedStdTypes((__Instance + __PointerAdjustment)); + __Internal.ClearSupportedStdTypes(__Instance); } public string LibraryFile @@ -48083,7 +47842,7 @@ namespace CppSharp get { var __ret = new global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&__ret), (__Instance + __PointerAdjustment)); + __Internal.GetClangVersion(new IntPtr(&__ret), __Instance); var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new global::System.IntPtr(&__ret)); var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); __basicStringRet0.Dispose(); @@ -48095,7 +47854,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -48104,7 +47863,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSourceFilesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSourceFilesCount(__Instance); return __ret; } } @@ -48113,7 +47872,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetIncludeDirsCount(__Instance); return __ret; } } @@ -48122,7 +47881,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSystemIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSystemIncludeDirsCount(__Instance); return __ret; } } @@ -48131,7 +47890,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDefinesCount(__Instance); return __ret; } } @@ -48140,7 +47899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetUndefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetUndefinesCount(__Instance); return __ret; } } @@ -48149,7 +47908,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetLibraryDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLibraryDirsCount(__Instance); return __ret; } } @@ -48158,7 +47917,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSupportedStdTypesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSupportedStdTypesCount(__Instance); return __ret; } } @@ -48202,7 +47961,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48244,7 +48002,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserDiagnostic.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) @@ -48255,7 +48013,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48270,7 +48028,7 @@ namespace CppSharp global::CppSharp.Parser.ParserDiagnostic __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48402,7 +48160,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48444,7 +48201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserResult(global::CppSharp.Parser.ParserResult _0) @@ -48455,7 +48212,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48470,7 +48227,7 @@ namespace CppSharp global::CppSharp.Parser.ParserResult __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48479,7 +48236,7 @@ namespace CppSharp public global::CppSharp.Parser.ParserDiagnostic GetDiagnostics(uint i) { var __ret = new global::CppSharp.Parser.ParserDiagnostic.__Internal(); - __Internal.GetDiagnostics(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetDiagnostics(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.ParserDiagnostic.__CreateInstance(__ret); } @@ -48488,12 +48245,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddDiagnostics((__Instance + __PointerAdjustment), __arg0); + __Internal.AddDiagnostics(__Instance, __arg0); } public void ClearDiagnostics() { - __Internal.ClearDiagnostics((__Instance + __PointerAdjustment)); + __Internal.ClearDiagnostics(__Instance); } public global::CppSharp.Parser.ParserResultKind Kind @@ -48567,7 +48324,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDiagnosticsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDiagnosticsCount(__Instance); return __ret; } } @@ -48596,7 +48353,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs index b24d77cd..418cd0ba 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs @@ -36,7 +36,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -81,7 +80,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.Allocator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.Allocator.__Internal.ctorc__N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.Allocator.__Internal.ctorc__N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_Tp", string.Join(", ", new[] { typeof(_Tp).FullName }), "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); @@ -103,7 +102,7 @@ namespace Std var ___Tp = typeof(_Tp); if (___Tp.IsAssignableFrom(typeof(sbyte))) { - global::Std.Allocator.__Internal.dtorc__N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.Allocator.__Internal.dtorc__N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_Tp", string.Join(", ", new[] { typeof(_Tp).FullName }), "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); @@ -679,6 +678,23 @@ namespace Std [FieldOffset(8)] internal global::System.IntPtr _M_finish; + [FieldOffset(16)] + internal global::System.IntPtr _M_end_of_storage; + } + + } + + namespace VectorImplData + { + [StructLayout(LayoutKind.Explicit, Size = 24)] + public unsafe partial struct __Internal + { + [FieldOffset(0)] + internal global::System.IntPtr _M_start; + + [FieldOffset(8)] + internal global::System.IntPtr _M_finish; + [FieldOffset(16)] internal global::System.IntPtr _M_end_of_storage; } @@ -785,7 +801,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -900,7 +915,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -947,7 +961,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.ctorc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.ctorc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Alloc", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Alloc).FullName }), "global::Std.BasicString<_CharT, _Traits, _Alloc> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); @@ -971,7 +985,7 @@ namespace Std var ___Alloc = typeof(_Alloc); if (___CharT.IsAssignableFrom(typeof(sbyte)) && ___Traits.IsAssignableFrom(typeof(global::Std.CharTraits)) && ___Alloc.IsAssignableFrom(typeof(global::Std.Allocator))) { - global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.dtorc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.dtorc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Alloc", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Alloc).FullName }), "global::Std.BasicString<_CharT, _Traits, _Alloc> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); @@ -1027,3 +1041,7 @@ namespace Std namespace Std { } + +namespace Std +{ +} diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs index c56300c8..01dad733 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs @@ -130,7 +130,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -172,7 +171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NativeLibrary.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) @@ -183,7 +182,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -198,7 +197,7 @@ namespace CppSharp global::CppSharp.Parser.AST.NativeLibrary __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -206,7 +205,7 @@ namespace CppSharp public string GetSymbols(uint i) { - var __ret = __Internal.GetSymbols((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSymbols(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -217,17 +216,17 @@ namespace CppSharp public void AddSymbols(string s) { - __Internal.AddSymbols((__Instance + __PointerAdjustment), s); + __Internal.AddSymbols(__Instance, s); } public void ClearSymbols() { - __Internal.ClearSymbols((__Instance + __PointerAdjustment)); + __Internal.ClearSymbols(__Instance); } public string GetDependencies(uint i) { - var __ret = __Internal.GetDependencies((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDependencies(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -238,12 +237,12 @@ namespace CppSharp public void AddDependencies(string s) { - __Internal.AddDependencies((__Instance + __PointerAdjustment), s); + __Internal.AddDependencies(__Instance, s); } public void ClearDependencies() { - __Internal.ClearDependencies((__Instance + __PointerAdjustment)); + __Internal.ClearDependencies(__Instance); } public string FileName @@ -277,7 +276,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSymbolsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSymbolsCount(__Instance); return __ret; } } @@ -286,7 +285,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDependenciesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDependenciesCount(__Instance); return __ret; } } @@ -313,7 +312,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -355,7 +353,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Comment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Comment(global::CppSharp.Parser.AST.Comment _0) @@ -452,7 +450,6 @@ namespace CppSharp protected BlockContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -464,7 +461,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -473,7 +470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) @@ -565,7 +562,6 @@ namespace CppSharp protected FullComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -577,7 +573,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullComment(global::CppSharp.Parser.AST.FullComment _0) @@ -589,7 +585,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -599,7 +595,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -607,7 +603,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockContentComment GetBlocks(uint i) { - var __ret = __Internal.GetBlocks((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBlocks(__Instance, i); global::CppSharp.Parser.AST.BlockContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BlockContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -622,19 +618,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBlocks((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBlocks(__Instance, __arg0); } public void ClearBlocks() { - __Internal.ClearBlocks((__Instance + __PointerAdjustment)); + __Internal.ClearBlocks(__Instance); } public uint BlocksCount { get { - var __ret = __Internal.GetBlocksCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBlocksCount(__Instance); return __ret; } } @@ -694,7 +690,6 @@ namespace CppSharp protected InlineContentComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -706,7 +701,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineContentComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -715,7 +710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineContentComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public InlineContentComment(global::CppSharp.Parser.AST.InlineContentComment _0) @@ -823,7 +818,6 @@ namespace CppSharp protected ParagraphComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -835,7 +829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParagraphComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) @@ -847,7 +841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -857,7 +851,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -865,7 +859,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineContentComment GetContent(uint i) { - var __ret = __Internal.GetContent((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetContent(__Instance, i); global::CppSharp.Parser.AST.InlineContentComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.InlineContentComment.NativeToManagedMap.ContainsKey(__ret)) @@ -880,12 +874,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddContent((__Instance + __PointerAdjustment), __arg0); + __Internal.AddContent(__Instance, __arg0); } public void ClearContent() { - __Internal.ClearContent((__Instance + __PointerAdjustment)); + __Internal.ClearContent(__Instance); } public bool IsWhitespace @@ -905,7 +899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetContentCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetContentCount(__Instance); return __ret; } } @@ -995,7 +989,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -1037,7 +1030,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) @@ -1048,7 +1041,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -1063,7 +1056,7 @@ namespace CppSharp global::CppSharp.Parser.AST.BlockCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1111,7 +1104,6 @@ namespace CppSharp protected BlockCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1123,7 +1115,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1132,7 +1124,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) @@ -1144,7 +1136,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1154,7 +1146,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1163,7 +1155,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BlockCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.BlockCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.BlockCommandComment.Argument.__CreateInstance(__ret); } @@ -1172,12 +1164,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.BlockCommandComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -1220,7 +1212,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -1299,7 +1291,6 @@ namespace CppSharp protected ParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1311,7 +1302,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) @@ -1323,7 +1314,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1333,7 +1324,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1449,7 +1440,6 @@ namespace CppSharp protected TParamCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1461,7 +1451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TParamCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) @@ -1473,7 +1463,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1483,7 +1473,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1491,7 +1481,7 @@ namespace CppSharp public uint GetPosition(uint i) { - var __ret = __Internal.GetPosition((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPosition(__Instance, i); return __ret; } @@ -1500,20 +1490,20 @@ namespace CppSharp fixed (uint* __s0 = &s) { var __arg0 = __s0; - __Internal.AddPosition((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPosition(__Instance, __arg0); } } public void ClearPosition() { - __Internal.ClearPosition((__Instance + __PointerAdjustment)); + __Internal.ClearPosition(__Instance); } public uint PositionCount { get { - var __ret = __Internal.GetPositionCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPositionCount(__Instance); return __ret; } } @@ -1573,7 +1563,6 @@ namespace CppSharp protected VerbatimBlockLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1585,7 +1574,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineComment _0) @@ -1597,7 +1586,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1607,7 +1596,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1711,7 +1700,6 @@ namespace CppSharp protected VerbatimBlockComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1723,7 +1711,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimBlockComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) @@ -1735,7 +1723,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1745,7 +1733,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1753,7 +1741,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VerbatimBlockLineComment GetLines(uint i) { - var __ret = __Internal.GetLines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLines(__Instance, i); global::CppSharp.Parser.AST.VerbatimBlockLineComment __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VerbatimBlockLineComment.NativeToManagedMap.ContainsKey(__ret)) @@ -1768,19 +1756,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddLines((__Instance + __PointerAdjustment), __arg0); + __Internal.AddLines(__Instance, __arg0); } public void ClearLines() { - __Internal.ClearLines((__Instance + __PointerAdjustment)); + __Internal.ClearLines(__Instance); } public uint LinesCount { get { - var __ret = __Internal.GetLinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLinesCount(__Instance); return __ret; } } @@ -1849,7 +1837,6 @@ namespace CppSharp protected VerbatimLineComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -1861,7 +1848,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VerbatimLineComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) @@ -1873,7 +1860,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -1883,7 +1870,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -1994,7 +1981,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2036,7 +2022,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) @@ -2047,7 +2033,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2062,7 +2048,7 @@ namespace CppSharp global::CppSharp.Parser.AST.InlineCommandComment.Argument __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2110,7 +2096,6 @@ namespace CppSharp protected InlineCommandComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2122,7 +2107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InlineCommandComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) @@ -2134,7 +2119,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2144,7 +2129,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2153,7 +2138,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.InlineCommandComment.Argument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.InlineCommandComment.Argument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.InlineCommandComment.Argument.__CreateInstance(__ret); } @@ -2162,12 +2147,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint CommandId @@ -2200,7 +2185,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -2260,7 +2245,6 @@ namespace CppSharp protected HTMLTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2272,7 +2256,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLTagComment(global::CppSharp.Parser.AST.CommentKind Kind) @@ -2281,7 +2265,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), Kind); + __Internal.ctor(__Instance, Kind); } public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) @@ -2381,7 +2365,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2423,7 +2406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) @@ -2434,7 +2417,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2449,7 +2432,7 @@ namespace CppSharp global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2511,7 +2494,6 @@ namespace CppSharp protected HTMLStartTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2523,7 +2505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLStartTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) @@ -2535,7 +2517,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2545,7 +2527,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2554,7 +2536,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute GetAttributes(uint i) { var __ret = new global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__Internal(); - __Internal.GetAttributes(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetAttributes(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute.__CreateInstance(__ret); } @@ -2563,12 +2545,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddAttributes((__Instance + __PointerAdjustment), __arg0); + __Internal.AddAttributes(__Instance, __arg0); } public void ClearAttributes() { - __Internal.ClearAttributes((__Instance + __PointerAdjustment)); + __Internal.ClearAttributes(__Instance); } public string TagName @@ -2589,7 +2571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetAttributesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetAttributesCount(__Instance); return __ret; } } @@ -2652,7 +2634,6 @@ namespace CppSharp protected HTMLEndTagComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2664,7 +2645,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.HTMLEndTagComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) @@ -2676,7 +2657,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2686,7 +2667,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2764,7 +2745,6 @@ namespace CppSharp protected TextComment(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -2776,7 +2756,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TextComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TextComment(global::CppSharp.Parser.AST.TextComment _0) @@ -2788,7 +2768,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -2798,7 +2778,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Comment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -2854,7 +2834,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -2896,7 +2875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.RawComment.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public RawComment(global::CppSharp.Parser.AST.RawComment _0) @@ -2907,7 +2886,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -2922,7 +2901,7 @@ namespace CppSharp global::CppSharp.Parser.AST.RawComment __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -3106,7 +3085,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3156,7 +3134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.SourceRange.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public void Dispose() @@ -3311,7 +3289,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3353,7 +3330,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Type.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Type(global::CppSharp.Parser.AST.Type _0) @@ -3364,7 +3341,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -3437,7 +3414,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3569,7 +3545,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -3611,7 +3586,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.QualifiedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) @@ -3724,7 +3699,6 @@ namespace CppSharp protected TagType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3736,7 +3710,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TagType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TagType(global::CppSharp.Parser.AST.TagType _0) @@ -3748,7 +3722,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.Declaration Declaration @@ -3839,7 +3813,6 @@ namespace CppSharp protected ArrayType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -3851,7 +3824,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayType(global::CppSharp.Parser.AST.ArrayType _0) @@ -3863,7 +3836,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedType @@ -4007,7 +3980,6 @@ namespace CppSharp protected FunctionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4019,7 +3991,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) @@ -4031,7 +4003,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4041,7 +4013,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4049,7 +4021,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -4064,12 +4036,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -4117,7 +4089,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -4186,7 +4158,6 @@ namespace CppSharp protected PointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4198,7 +4169,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PointerType(global::CppSharp.Parser.AST.PointerType _0) @@ -4210,7 +4181,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType QualifiedPointee @@ -4294,7 +4265,6 @@ namespace CppSharp protected MemberPointerType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4306,7 +4276,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberPointerType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) @@ -4318,7 +4288,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Pointee @@ -4389,7 +4359,6 @@ namespace CppSharp protected TypedefType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4401,7 +4370,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) @@ -4413,7 +4382,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.TypedefNameDecl Declaration @@ -4490,7 +4459,6 @@ namespace CppSharp protected AttributedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4502,7 +4470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) @@ -4514,7 +4482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Modified @@ -4606,7 +4574,6 @@ namespace CppSharp protected DecayedType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4618,7 +4585,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DecayedType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) @@ -4630,7 +4597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Decayed @@ -4721,7 +4688,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -4763,7 +4729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateArgument.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) @@ -4933,7 +4899,6 @@ namespace CppSharp protected TemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -4945,7 +4910,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializationType _0) @@ -4957,7 +4922,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -4967,7 +4932,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -4976,7 +4941,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -4985,12 +4950,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.Template Template @@ -5030,7 +4995,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5116,7 +5081,6 @@ namespace CppSharp protected DependentTemplateSpecializationType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5128,7 +5092,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentTemplateSpecializationType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.DependentTemplateSpecializationType _0) @@ -5140,7 +5104,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5150,7 +5114,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5159,7 +5123,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -5168,12 +5132,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5195,7 +5159,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -5267,7 +5231,6 @@ namespace CppSharp protected TemplateParameterType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5279,7 +5242,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _0) @@ -5291,7 +5254,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5301,7 +5264,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5420,7 +5383,6 @@ namespace CppSharp protected TemplateParameterSubstitutionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5432,7 +5394,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplateParameterSubstitutionType _0) @@ -5444,7 +5406,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Replacement @@ -5536,7 +5498,6 @@ namespace CppSharp protected InjectedClassNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5548,7 +5509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InjectedClassNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _0) @@ -5560,7 +5521,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType InjectedSpecializationType @@ -5657,7 +5618,6 @@ namespace CppSharp protected DependentNameType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5669,7 +5629,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentNameType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) @@ -5681,7 +5641,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -5691,7 +5651,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Type __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -5776,7 +5736,6 @@ namespace CppSharp protected PackExpansionType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5788,7 +5747,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) @@ -5800,7 +5759,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } } @@ -5859,7 +5818,6 @@ namespace CppSharp protected UnaryTransformType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5871,7 +5829,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryTransformType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) @@ -5883,7 +5841,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType Desugared @@ -5969,7 +5927,6 @@ namespace CppSharp protected UnresolvedUsingType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -5981,7 +5938,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) @@ -5993,7 +5950,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.UnresolvedUsingTypename Declaration @@ -6070,7 +6027,6 @@ namespace CppSharp protected VectorType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6082,7 +6038,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VectorType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VectorType(global::CppSharp.Parser.AST.VectorType _0) @@ -6094,7 +6050,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.QualifiedType ElementType @@ -6178,7 +6134,6 @@ namespace CppSharp protected BuiltinType(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -6190,7 +6145,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BuiltinType.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BuiltinType(global::CppSharp.Parser.AST.BuiltinType _0) @@ -6202,7 +6157,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public global::CppSharp.Parser.AST.PrimitiveType Type @@ -6538,7 +6493,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -6580,7 +6534,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Declaration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Declaration(global::CppSharp.Parser.AST.Declaration _0) @@ -6591,7 +6545,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -6606,7 +6560,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -6614,7 +6568,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.PreprocessedEntity GetPreprocessedEntities(uint i) { - var __ret = __Internal.GetPreprocessedEntities((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetPreprocessedEntities(__Instance, i); global::CppSharp.Parser.AST.PreprocessedEntity __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.PreprocessedEntity.NativeToManagedMap.ContainsKey(__ret)) @@ -6629,17 +6583,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddPreprocessedEntities((__Instance + __PointerAdjustment), __arg0); + __Internal.AddPreprocessedEntities(__Instance, __arg0); } public void ClearPreprocessedEntities() { - __Internal.ClearPreprocessedEntities((__Instance + __PointerAdjustment)); + __Internal.ClearPreprocessedEntities(__Instance); } public global::CppSharp.Parser.AST.Declaration GetRedeclarations(uint i) { - var __ret = __Internal.GetRedeclarations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetRedeclarations(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -6654,12 +6608,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddRedeclarations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddRedeclarations(__Instance, __arg0); } public void ClearRedeclarations() { - __Internal.ClearRedeclarations((__Instance + __PointerAdjustment)); + __Internal.ClearRedeclarations(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Declaration(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -6923,7 +6877,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetPreprocessedEntitiesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetPreprocessedEntitiesCount(__Instance); return __ret; } } @@ -6932,7 +6886,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetRedeclarationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetRedeclarationsCount(__Instance); return __ret; } } @@ -7259,7 +7213,6 @@ namespace CppSharp protected DeclarationContext(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7271,7 +7224,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclarationContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) @@ -7283,7 +7236,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7293,7 +7246,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7301,7 +7254,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Namespace GetNamespaces(uint i) { - var __ret = __Internal.GetNamespaces((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetNamespaces(__Instance, i); global::CppSharp.Parser.AST.Namespace __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Namespace.NativeToManagedMap.ContainsKey(__ret)) @@ -7316,17 +7269,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddNamespaces((__Instance + __PointerAdjustment), __arg0); + __Internal.AddNamespaces(__Instance, __arg0); } public void ClearNamespaces() { - __Internal.ClearNamespaces((__Instance + __PointerAdjustment)); + __Internal.ClearNamespaces(__Instance); } public global::CppSharp.Parser.AST.Enumeration GetEnums(uint i) { - var __ret = __Internal.GetEnums((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetEnums(__Instance, i); global::CppSharp.Parser.AST.Enumeration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.NativeToManagedMap.ContainsKey(__ret)) @@ -7341,17 +7294,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddEnums((__Instance + __PointerAdjustment), __arg0); + __Internal.AddEnums(__Instance, __arg0); } public void ClearEnums() { - __Internal.ClearEnums((__Instance + __PointerAdjustment)); + __Internal.ClearEnums(__Instance); } public global::CppSharp.Parser.AST.Function GetFunctions(uint i) { - var __ret = __Internal.GetFunctions((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFunctions(__Instance, i); global::CppSharp.Parser.AST.Function __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(__ret)) @@ -7366,17 +7319,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFunctions((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFunctions(__Instance, __arg0); } public void ClearFunctions() { - __Internal.ClearFunctions((__Instance + __PointerAdjustment)); + __Internal.ClearFunctions(__Instance); } public global::CppSharp.Parser.AST.Class GetClasses(uint i) { - var __ret = __Internal.GetClasses((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetClasses(__Instance, i); global::CppSharp.Parser.AST.Class __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(__ret)) @@ -7391,17 +7344,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddClasses((__Instance + __PointerAdjustment), __arg0); + __Internal.AddClasses(__Instance, __arg0); } public void ClearClasses() { - __Internal.ClearClasses((__Instance + __PointerAdjustment)); + __Internal.ClearClasses(__Instance); } public global::CppSharp.Parser.AST.Template GetTemplates(uint i) { - var __ret = __Internal.GetTemplates((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTemplates(__Instance, i); global::CppSharp.Parser.AST.Template __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Template.NativeToManagedMap.ContainsKey(__ret)) @@ -7416,17 +7369,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTemplates((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTemplates(__Instance, __arg0); } public void ClearTemplates() { - __Internal.ClearTemplates((__Instance + __PointerAdjustment)); + __Internal.ClearTemplates(__Instance); } public global::CppSharp.Parser.AST.TypedefDecl GetTypedefs(uint i) { - var __ret = __Internal.GetTypedefs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypedefs(__Instance, i); global::CppSharp.Parser.AST.TypedefDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -7441,17 +7394,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypedefs((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypedefs(__Instance, __arg0); } public void ClearTypedefs() { - __Internal.ClearTypedefs((__Instance + __PointerAdjustment)); + __Internal.ClearTypedefs(__Instance); } public global::CppSharp.Parser.AST.TypeAlias GetTypeAliases(uint i) { - var __ret = __Internal.GetTypeAliases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTypeAliases(__Instance, i); global::CppSharp.Parser.AST.TypeAlias __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TypeAlias.NativeToManagedMap.ContainsKey(__ret)) @@ -7466,17 +7419,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTypeAliases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTypeAliases(__Instance, __arg0); } public void ClearTypeAliases() { - __Internal.ClearTypeAliases((__Instance + __PointerAdjustment)); + __Internal.ClearTypeAliases(__Instance); } public global::CppSharp.Parser.AST.Variable GetVariables(uint i) { - var __ret = __Internal.GetVariables((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetVariables(__Instance, i); global::CppSharp.Parser.AST.Variable __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Variable.NativeToManagedMap.ContainsKey(__ret)) @@ -7491,17 +7444,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddVariables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVariables(__Instance, __arg0); } public void ClearVariables() { - __Internal.ClearVariables((__Instance + __PointerAdjustment)); + __Internal.ClearVariables(__Instance); } public global::CppSharp.Parser.AST.Friend GetFriends(uint i) { - var __ret = __Internal.GetFriends((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFriends(__Instance, i); global::CppSharp.Parser.AST.Friend __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Friend.NativeToManagedMap.ContainsKey(__ret)) @@ -7516,12 +7469,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFriends((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFriends(__Instance, __arg0); } public void ClearFriends() { - __Internal.ClearFriends((__Instance + __PointerAdjustment)); + __Internal.ClearFriends(__Instance); } public static implicit operator global::CppSharp.Parser.AST.DeclarationContext(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -7546,7 +7499,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetNamespacesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetNamespacesCount(__Instance); return __ret; } } @@ -7555,7 +7508,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetEnumsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetEnumsCount(__Instance); return __ret; } } @@ -7564,7 +7517,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFunctionsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFunctionsCount(__Instance); return __ret; } } @@ -7573,7 +7526,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetClassesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetClassesCount(__Instance); return __ret; } } @@ -7582,7 +7535,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTemplatesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTemplatesCount(__Instance); return __ret; } } @@ -7591,7 +7544,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypedefsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypedefsCount(__Instance); return __ret; } } @@ -7600,7 +7553,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetTypeAliasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTypeAliasesCount(__Instance); return __ret; } } @@ -7609,7 +7562,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVariablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVariablesCount(__Instance); return __ret; } } @@ -7618,7 +7571,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFriendsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFriendsCount(__Instance); return __ret; } } @@ -7735,7 +7688,6 @@ namespace CppSharp protected TypedefNameDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7747,7 +7699,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefNameDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) @@ -7759,7 +7711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7769,7 +7721,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -7907,7 +7859,6 @@ namespace CppSharp protected TypedefDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -7919,7 +7870,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypedefDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) @@ -7931,7 +7882,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -7941,7 +7892,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8062,7 +8013,6 @@ namespace CppSharp protected TypeAlias(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8074,7 +8024,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAlias.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) @@ -8086,7 +8036,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8096,7 +8046,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8232,7 +8182,6 @@ namespace CppSharp protected Friend(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8244,7 +8193,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Friend.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Friend(global::CppSharp.Parser.AST.Friend _0) @@ -8256,7 +8205,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8266,7 +8215,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8323,7 +8272,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -8369,7 +8317,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8381,7 +8329,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -8396,7 +8344,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8505,7 +8453,6 @@ namespace CppSharp protected ExpressionObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8521,7 +8468,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg2 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, Class, __arg2); + __Internal.ctor(__Instance, __arg0, Class, __arg2); __basicString0.Dispose(); } @@ -8534,7 +8481,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8544,7 +8491,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8617,7 +8564,6 @@ namespace CppSharp protected BinaryOperatorObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8637,7 +8583,7 @@ namespace CppSharp var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); var __arg3 = __basicString3.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1, __arg2, __arg3); + __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); __basicString0.Dispose(); __basicString3.Dispose(); } @@ -8651,7 +8597,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8661,7 +8607,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8798,7 +8744,6 @@ namespace CppSharp protected CallExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8814,7 +8759,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8827,7 +8772,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8837,7 +8782,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -8845,7 +8790,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -8860,19 +8805,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -8958,7 +8903,6 @@ namespace CppSharp protected CXXConstructExprObsolete(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -8974,7 +8918,7 @@ namespace CppSharp global::Std.BasicStringExtensions.Assign(__basicString0, str); var __arg0 = __basicString0.__Instance; var __arg1 = ReferenceEquals(decl, null) ? global::System.IntPtr.Zero : decl.__Instance; - __Internal.ctor((__Instance + __PointerAdjustment), __arg0, __arg1); + __Internal.ctor(__Instance, __arg0, __arg1); __basicString0.Dispose(); } @@ -8987,7 +8931,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -8997,7 +8941,7 @@ namespace CppSharp global::CppSharp.Parser.AST.StatementObsolete __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9005,7 +8949,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ExpressionObsolete GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); global::CppSharp.Parser.AST.ExpressionObsolete __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ExpressionObsolete.NativeToManagedMap.ContainsKey(__ret)) @@ -9020,19 +8964,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public uint ArgumentsCount { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -9164,7 +9108,6 @@ namespace CppSharp protected Parameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9176,7 +9119,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Parameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Parameter(global::CppSharp.Parser.AST.Parameter _0) @@ -9188,7 +9131,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9198,7 +9141,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9516,7 +9459,6 @@ namespace CppSharp protected Function(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -9528,7 +9470,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Function.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Function(global::CppSharp.Parser.AST.Function _0) @@ -9540,7 +9482,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -9550,7 +9492,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -9558,7 +9500,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Parameter GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Parameter __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Parameter.NativeToManagedMap.ContainsKey(__ret)) @@ -9573,12 +9515,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public global::CppSharp.Parser.AST.QualifiedType ReturnType @@ -9854,7 +9796,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -10114,7 +10056,6 @@ namespace CppSharp protected Method(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10126,7 +10067,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Method.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Method(global::CppSharp.Parser.AST.Method _0) @@ -10138,7 +10079,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10148,7 +10089,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10156,7 +10097,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Method GetOverriddenMethods(uint i) { - var __ret = __Internal.GetOverriddenMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetOverriddenMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -10171,12 +10112,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddOverriddenMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddOverriddenMethods(__Instance, __arg0); } public void ClearOverriddenMethods() { - __Internal.ClearOverriddenMethods((__Instance + __PointerAdjustment)); + __Internal.ClearOverriddenMethods(__Instance); } public bool IsVirtual @@ -10315,7 +10256,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetOverriddenMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetOverriddenMethodsCount(__Instance); return __ret; } } @@ -10594,7 +10535,6 @@ namespace CppSharp protected Item(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10606,7 +10546,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.Item.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) @@ -10618,7 +10558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10628,7 +10568,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10689,7 +10629,6 @@ namespace CppSharp protected Enumeration(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10701,7 +10640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Enumeration.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) @@ -10713,7 +10652,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10723,7 +10662,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -10731,7 +10670,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Enumeration.Item GetItems(uint i) { - var __ret = __Internal.GetItems((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetItems(__Instance, i); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Enumeration.Item.NativeToManagedMap.ContainsKey(__ret)) @@ -10746,12 +10685,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddItems((__Instance + __PointerAdjustment), __arg0); + __Internal.AddItems(__Instance, __arg0); } public void ClearItems() { - __Internal.ClearItems((__Instance + __PointerAdjustment)); + __Internal.ClearItems(__Instance); } public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) @@ -10759,7 +10698,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, Name); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindItemByName((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindItemByName(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.Enumeration.Item __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -10822,7 +10761,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetItemsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetItemsCount(__Instance); return __ret; } } @@ -10942,7 +10881,6 @@ namespace CppSharp protected Variable(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -10954,7 +10892,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Variable.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Variable(global::CppSharp.Parser.AST.Variable _0) @@ -10966,7 +10904,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -10976,7 +10914,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11042,7 +10980,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11084,7 +11021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BaseClassSpecifier.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) @@ -11289,7 +11226,6 @@ namespace CppSharp protected Field(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11301,7 +11237,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Field.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Field(global::CppSharp.Parser.AST.Field _0) @@ -11313,7 +11249,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11323,7 +11259,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11497,7 +11433,6 @@ namespace CppSharp protected AccessSpecifierDecl(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -11509,7 +11444,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AccessSpecifierDecl.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) @@ -11521,7 +11456,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -11531,7 +11466,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11565,7 +11500,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11607,7 +11541,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableComponent.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) @@ -11725,7 +11659,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11767,7 +11700,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VTableLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) @@ -11778,7 +11711,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11793,7 +11726,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VTableLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -11801,7 +11734,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VTableComponent GetComponents(uint i) { - var __ret = __Internal.GetComponents((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetComponents(__Instance, i); return global::CppSharp.Parser.AST.VTableComponent.__CreateInstance(__ret); } @@ -11810,19 +11743,19 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddComponents((__Instance + __PointerAdjustment), __arg0); + __Internal.AddComponents(__Instance, __arg0); } public void ClearComponents() { - __Internal.ClearComponents((__Instance + __PointerAdjustment)); + __Internal.ClearComponents(__Instance); } public uint ComponentsCount { get { - var __ret = __Internal.GetComponentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetComponentsCount(__Instance); return __ret; } } @@ -11863,7 +11796,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -11905,7 +11837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VFTableInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) @@ -11916,7 +11848,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -11931,7 +11863,7 @@ namespace CppSharp global::CppSharp.Parser.AST.VFTableInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12027,7 +11959,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12069,7 +12000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutField.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutField(global::CppSharp.Parser.AST.LayoutField other) @@ -12080,7 +12011,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12095,7 +12026,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutField __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12186,7 +12117,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12228,7 +12158,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LayoutBase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) @@ -12239,7 +12169,7 @@ namespace CppSharp if (ReferenceEquals(other, null)) throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); var __arg0 = other.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12254,7 +12184,7 @@ namespace CppSharp global::CppSharp.Parser.AST.LayoutBase __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12408,7 +12338,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -12450,7 +12379,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassLayout.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) @@ -12461,7 +12390,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -12476,7 +12405,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ClassLayout __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12485,7 +12414,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VFTableInfo GetVFTables(uint i) { var __ret = new global::CppSharp.Parser.AST.VFTableInfo.__Internal(); - __Internal.GetVFTables(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetVFTables(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.VFTableInfo.__CreateInstance(__ret); } @@ -12494,18 +12423,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddVFTables((__Instance + __PointerAdjustment), __arg0); + __Internal.AddVFTables(__Instance, __arg0); } public void ClearVFTables() { - __Internal.ClearVFTables((__Instance + __PointerAdjustment)); + __Internal.ClearVFTables(__Instance); } public global::CppSharp.Parser.AST.LayoutField GetFields(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutField.__Internal(); - __Internal.GetFields(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetFields(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutField.__CreateInstance(__ret); } @@ -12514,18 +12443,18 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.LayoutBase GetBases(uint i) { var __ret = new global::CppSharp.Parser.AST.LayoutBase.__Internal(); - __Internal.GetBases(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetBases(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.LayoutBase.__CreateInstance(__ret); } @@ -12534,12 +12463,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.CppAbi ABI @@ -12652,7 +12581,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetVFTablesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetVFTablesCount(__Instance); return __ret; } } @@ -12661,7 +12590,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -12670,7 +12599,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -12942,7 +12871,6 @@ namespace CppSharp protected Class(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -12954,7 +12882,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Class.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Class(global::CppSharp.Parser.AST.Class _0) @@ -12966,7 +12894,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -12976,7 +12904,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -12984,7 +12912,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.BaseClassSpecifier GetBases(uint i) { - var __ret = __Internal.GetBases((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetBases(__Instance, i); global::CppSharp.Parser.AST.BaseClassSpecifier __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.BaseClassSpecifier.NativeToManagedMap.ContainsKey(__ret)) @@ -12999,17 +12927,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddBases((__Instance + __PointerAdjustment), __arg0); + __Internal.AddBases(__Instance, __arg0); } public void ClearBases() { - __Internal.ClearBases((__Instance + __PointerAdjustment)); + __Internal.ClearBases(__Instance); } public global::CppSharp.Parser.AST.Field GetFields(uint i) { - var __ret = __Internal.GetFields((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetFields(__Instance, i); global::CppSharp.Parser.AST.Field __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Field.NativeToManagedMap.ContainsKey(__ret)) @@ -13024,17 +12952,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddFields((__Instance + __PointerAdjustment), __arg0); + __Internal.AddFields(__Instance, __arg0); } public void ClearFields() { - __Internal.ClearFields((__Instance + __PointerAdjustment)); + __Internal.ClearFields(__Instance); } public global::CppSharp.Parser.AST.Method GetMethods(uint i) { - var __ret = __Internal.GetMethods((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMethods(__Instance, i); global::CppSharp.Parser.AST.Method __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Method.NativeToManagedMap.ContainsKey(__ret)) @@ -13049,17 +12977,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMethods((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMethods(__Instance, __arg0); } public void ClearMethods() { - __Internal.ClearMethods((__Instance + __PointerAdjustment)); + __Internal.ClearMethods(__Instance); } public global::CppSharp.Parser.AST.AccessSpecifierDecl GetSpecifiers(uint i) { - var __ret = __Internal.GetSpecifiers((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecifiers(__Instance, i); global::CppSharp.Parser.AST.AccessSpecifierDecl __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.AccessSpecifierDecl.NativeToManagedMap.ContainsKey(__ret)) @@ -13074,12 +13002,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecifiers((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecifiers(__Instance, __arg0); } public void ClearSpecifiers() { - __Internal.ClearSpecifiers((__Instance + __PointerAdjustment)); + __Internal.ClearSpecifiers(__Instance); } public bool IsPOD @@ -13234,7 +13162,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetBasesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetBasesCount(__Instance); return __ret; } } @@ -13243,7 +13171,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetFieldsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetFieldsCount(__Instance); return __ret; } } @@ -13252,7 +13180,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMethodsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMethodsCount(__Instance); return __ret; } } @@ -13261,7 +13189,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecifiersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecifiersCount(__Instance); return __ret; } } @@ -13406,7 +13334,6 @@ namespace CppSharp protected Template(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13418,7 +13345,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public Template() @@ -13427,7 +13354,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Template.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Template(global::CppSharp.Parser.AST.Template _0) @@ -13439,7 +13366,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13449,7 +13376,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13457,7 +13384,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration GetParameters(uint i) { - var __ret = __Internal.GetParameters((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetParameters(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -13472,12 +13399,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddParameters((__Instance + __PointerAdjustment), __arg0); + __Internal.AddParameters(__Instance, __arg0); } public void ClearParameters() { - __Internal.ClearParameters((__Instance + __PointerAdjustment)); + __Internal.ClearParameters(__Instance); } public static implicit operator global::CppSharp.Parser.AST.Template(global::CppSharp.Parser.AST.DeclarationKind kind) @@ -13507,7 +13434,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetParametersCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetParametersCount(__Instance); return __ret; } } @@ -13627,7 +13554,6 @@ namespace CppSharp protected TypeAliasTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13639,7 +13565,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeAliasTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) @@ -13651,7 +13577,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13661,7 +13587,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13785,7 +13711,6 @@ namespace CppSharp protected TemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -13797,7 +13722,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), kind); + __Internal.ctor(__Instance, kind); } public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) @@ -13809,7 +13734,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -13819,7 +13744,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -13993,7 +13918,6 @@ namespace CppSharp protected TemplateTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14005,7 +13929,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TemplateTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplateParameter _0) @@ -14017,7 +13941,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14027,7 +13951,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14193,7 +14117,6 @@ namespace CppSharp protected TypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14205,7 +14128,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _0) @@ -14217,7 +14140,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14227,7 +14150,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14381,7 +14304,6 @@ namespace CppSharp protected NonTypeTemplateParameter(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14393,7 +14315,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NonTypeTemplateParameter.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParameter _0) @@ -14405,7 +14327,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14415,7 +14337,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14644,7 +14566,6 @@ namespace CppSharp protected ClassTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14656,7 +14577,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) @@ -14668,7 +14589,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14678,7 +14599,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -14686,7 +14607,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.ClassTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.ClassTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -14701,12 +14622,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) @@ -14714,7 +14635,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14729,7 +14650,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -14743,7 +14664,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -14964,7 +14885,6 @@ namespace CppSharp protected ClassTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -14976,7 +14896,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpecialization _0) @@ -14988,7 +14908,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -14998,7 +14918,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15007,7 +14927,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15016,12 +14936,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.ClassTemplate TemplatedDecl @@ -15059,7 +14979,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15260,7 +15180,6 @@ namespace CppSharp protected ClassTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15272,7 +15191,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization _0) @@ -15284,7 +15203,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15294,7 +15213,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15443,7 +15362,6 @@ namespace CppSharp protected FunctionTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15455,7 +15373,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) @@ -15467,7 +15385,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15477,7 +15395,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15485,7 +15403,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.FunctionTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.FunctionTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15500,12 +15418,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) @@ -15513,7 +15431,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.FunctionTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15527,7 +15445,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -15588,7 +15506,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -15630,7 +15547,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTemplateSpecialization _0) @@ -15641,7 +15558,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -15656,7 +15573,7 @@ namespace CppSharp global::CppSharp.Parser.AST.FunctionTemplateSpecialization __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15665,7 +15582,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -15674,12 +15591,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.FunctionTemplate Template @@ -15735,7 +15652,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -15888,7 +15805,6 @@ namespace CppSharp protected VarTemplate(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -15900,7 +15816,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplate.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) @@ -15912,7 +15828,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -15922,7 +15838,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -15930,7 +15846,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.VarTemplateSpecialization GetSpecializations(uint i) { - var __ret = __Internal.GetSpecializations((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSpecializations(__Instance, i); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.VarTemplateSpecialization.NativeToManagedMap.ContainsKey(__ret)) @@ -15945,12 +15861,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddSpecializations((__Instance + __PointerAdjustment), __arg0); + __Internal.AddSpecializations(__Instance, __arg0); } public void ClearSpecializations() { - __Internal.ClearSpecializations((__Instance + __PointerAdjustment)); + __Internal.ClearSpecializations(__Instance); } public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) @@ -15958,7 +15874,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplateSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15973,7 +15889,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, usr); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindPartialSpecialization((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindPartialSpecialization(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.VarTemplatePartialSpecialization __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -15987,7 +15903,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSpecializationsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSpecializationsCount(__Instance); return __ret; } } @@ -16136,7 +16052,6 @@ namespace CppSharp protected VarTemplateSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16148,7 +16063,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplateSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpecialization _0) @@ -16160,7 +16075,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16170,7 +16085,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16179,7 +16094,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TemplateArgument GetArguments(uint i) { var __ret = new global::CppSharp.Parser.AST.TemplateArgument.__Internal(); - __Internal.GetArguments(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetArguments(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.AST.TemplateArgument.__CreateInstance(__ret); } @@ -16188,12 +16103,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddArguments(__Instance, __arg0); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public global::CppSharp.Parser.AST.VarTemplate TemplatedDecl @@ -16231,7 +16146,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -16360,7 +16275,6 @@ namespace CppSharp protected VarTemplatePartialSpecialization(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16372,7 +16286,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplatePartialSpecialization _0) @@ -16384,7 +16298,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16394,7 +16308,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16509,7 +16423,6 @@ namespace CppSharp protected UnresolvedUsingTypename(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16521,7 +16434,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedUsingTypename.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypename _0) @@ -16533,7 +16446,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16543,7 +16456,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16694,7 +16607,6 @@ namespace CppSharp protected Namespace(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16706,7 +16618,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Namespace.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Namespace(global::CppSharp.Parser.AST.Namespace _0) @@ -16718,7 +16630,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16728,7 +16640,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -16775,7 +16687,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -16817,7 +16728,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PreprocessedEntity.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) @@ -16953,7 +16864,6 @@ namespace CppSharp protected MacroDefinition(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -16965,7 +16875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroDefinition.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) @@ -16977,7 +16887,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -16987,7 +16897,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17114,7 +17024,6 @@ namespace CppSharp protected MacroExpansion(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17126,7 +17035,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MacroExpansion.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) @@ -17138,7 +17047,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17148,7 +17057,7 @@ namespace CppSharp global::CppSharp.Parser.AST.PreprocessedEntity __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17374,7 +17283,6 @@ namespace CppSharp protected TranslationUnit(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -17386,7 +17294,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TranslationUnit.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) @@ -17398,7 +17306,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -17408,7 +17316,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Declaration __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17416,7 +17324,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.MacroDefinition GetMacros(uint i) { - var __ret = __Internal.GetMacros((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetMacros(__Instance, i); global::CppSharp.Parser.AST.MacroDefinition __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.MacroDefinition.NativeToManagedMap.ContainsKey(__ret)) @@ -17431,12 +17339,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddMacros((__Instance + __PointerAdjustment), __arg0); + __Internal.AddMacros(__Instance, __arg0); } public void ClearMacros() { - __Internal.ClearMacros((__Instance + __PointerAdjustment)); + __Internal.ClearMacros(__Instance); } public string FileName @@ -17470,7 +17378,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetMacrosCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetMacrosCount(__Instance); return __ret; } } @@ -17527,7 +17435,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17569,7 +17476,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ASTContext.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) @@ -17580,7 +17487,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -17595,7 +17502,7 @@ namespace CppSharp global::CppSharp.Parser.AST.ASTContext __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -17606,7 +17513,7 @@ namespace CppSharp var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); global::Std.BasicStringExtensions.Assign(__basicString0, File); var __arg0 = __basicString0.__Instance; - var __ret = __Internal.FindOrCreateModule((__Instance + __PointerAdjustment), __arg0); + var __ret = __Internal.FindOrCreateModule(__Instance, __arg0); __basicString0.Dispose(); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; @@ -17618,7 +17525,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { - var __ret = __Internal.GetTranslationUnits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetTranslationUnits(__Instance, i); global::CppSharp.Parser.AST.TranslationUnit __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.TranslationUnit.NativeToManagedMap.ContainsKey(__ret)) @@ -17633,19 +17540,19 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddTranslationUnits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddTranslationUnits(__Instance, __arg0); } public void ClearTranslationUnits() { - __Internal.ClearTranslationUnits((__Instance + __PointerAdjustment)); + __Internal.ClearTranslationUnits(__Instance); } public uint TranslationUnitsCount { get { - var __ret = __Internal.GetTranslationUnitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetTranslationUnitsCount(__Instance); return __ret; } } @@ -17825,7 +17732,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -17867,7 +17773,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Stmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -17875,7 +17781,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Stmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Stmt(global::CppSharp.Parser.AST.Stmt _0) @@ -18051,7 +17957,6 @@ namespace CppSharp protected DeclStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18063,7 +17968,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) @@ -18075,7 +17980,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18085,7 +17990,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18093,7 +17998,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Declaration Getdecls(uint i) { - var __ret = __Internal.Getdecls((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getdecls(__Instance, i); global::CppSharp.Parser.AST.Declaration __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Declaration.NativeToManagedMap.ContainsKey(__ret)) @@ -18108,12 +18013,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Adddecls((__Instance + __PointerAdjustment), __arg0); + __Internal.Adddecls(__Instance, __arg0); } public void Cleardecls() { - __Internal.Cleardecls((__Instance + __PointerAdjustment)); + __Internal.Cleardecls(__Instance); } public bool IsSingleDecl @@ -18151,7 +18056,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetdeclsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetdeclsCount(__Instance); return __ret; } } @@ -18218,7 +18123,6 @@ namespace CppSharp protected NullStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18230,7 +18134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NullStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NullStmt(global::CppSharp.Parser.AST.NullStmt _0) @@ -18370,7 +18274,6 @@ namespace CppSharp protected CompoundStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18382,7 +18285,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) @@ -18394,7 +18297,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -18404,7 +18307,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -18412,7 +18315,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Stmt Getbody(uint i) { - var __ret = __Internal.Getbody((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getbody(__Instance, i); global::CppSharp.Parser.AST.Stmt __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Stmt.NativeToManagedMap.ContainsKey(__ret)) @@ -18427,12 +18330,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addbody((__Instance + __PointerAdjustment), __arg0); + __Internal.Addbody(__Instance, __arg0); } public void Clearbody() { - __Internal.Clearbody((__Instance + __PointerAdjustment)); + __Internal.Clearbody(__Instance); } public bool BodyEmpty @@ -18527,7 +18430,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetbodyCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetbodyCount(__Instance); return __ret; } } @@ -18602,7 +18505,6 @@ namespace CppSharp protected SwitchCase(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18614,7 +18516,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchCase(global::CppSharp.Parser.AST.StmtClass klass) @@ -18623,7 +18525,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchCase.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) @@ -18764,7 +18666,6 @@ namespace CppSharp protected CaseStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18776,7 +18677,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CaseStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CaseStmt(global::CppSharp.Parser.AST.CaseStmt _0) @@ -18931,7 +18832,6 @@ namespace CppSharp protected DefaultStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -18943,7 +18843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DefaultStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) @@ -19033,7 +18933,6 @@ namespace CppSharp protected LabelStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19045,7 +18944,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LabelStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LabelStmt(global::CppSharp.Parser.AST.LabelStmt _0) @@ -19172,7 +19071,6 @@ namespace CppSharp protected AttributedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19184,7 +19082,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AttributedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) @@ -19319,7 +19217,6 @@ namespace CppSharp protected IfStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19331,7 +19228,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IfStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IfStmt(global::CppSharp.Parser.AST.IfStmt _0) @@ -19604,7 +19501,6 @@ namespace CppSharp protected SwitchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19616,7 +19512,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SwitchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SwitchStmt(global::CppSharp.Parser.AST.SwitchStmt _0) @@ -19823,7 +19719,6 @@ namespace CppSharp protected WhileStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -19835,7 +19730,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.WhileStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public WhileStmt(global::CppSharp.Parser.AST.WhileStmt _0) @@ -19998,7 +19893,6 @@ namespace CppSharp protected DoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20010,7 +19904,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) @@ -20177,7 +20071,6 @@ namespace CppSharp protected ForStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20189,7 +20082,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ForStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) @@ -20392,7 +20285,6 @@ namespace CppSharp protected GotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20404,7 +20296,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) @@ -20507,7 +20399,6 @@ namespace CppSharp protected IndirectGotoStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20519,7 +20410,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IndirectGotoStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) @@ -20634,7 +20525,6 @@ namespace CppSharp protected ContinueStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20646,7 +20536,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ContinueStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) @@ -20730,7 +20620,6 @@ namespace CppSharp protected BreakStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20742,7 +20631,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BreakStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) @@ -20829,7 +20718,6 @@ namespace CppSharp protected ReturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -20841,7 +20729,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ReturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) @@ -21017,7 +20905,6 @@ namespace CppSharp protected AsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21029,7 +20916,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21038,7 +20925,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) @@ -21050,7 +20937,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21060,7 +20947,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21068,7 +20955,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getinputs(uint i) { - var __ret = __Internal.Getinputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getinputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21083,17 +20970,17 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addinputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addinputs(__Instance, __arg0); } public void Clearinputs() { - __Internal.Clearinputs((__Instance + __PointerAdjustment)); + __Internal.Clearinputs(__Instance); } public global::CppSharp.Parser.AST.Expr Getoutputs(uint i) { - var __ret = __Internal.Getoutputs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getoutputs(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -21108,12 +20995,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addoutputs((__Instance + __PointerAdjustment), __arg0); + __Internal.Addoutputs(__Instance, __arg0); } public void Clearoutputs() { - __Internal.Clearoutputs((__Instance + __PointerAdjustment)); + __Internal.Clearoutputs(__Instance); } public static implicit operator global::CppSharp.Parser.AST.AsmStmt(global::CppSharp.Parser.AST.StmtClass klass) @@ -21216,7 +21103,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetinputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetinputsCount(__Instance); return __ret; } } @@ -21225,7 +21112,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetoutputsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetoutputsCount(__Instance); return __ret; } } @@ -21338,7 +21225,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -21380,7 +21266,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) @@ -21391,7 +21277,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -21406,7 +21292,7 @@ namespace CppSharp global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21506,7 +21392,6 @@ namespace CppSharp protected GCCAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21518,7 +21403,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GCCAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) @@ -21530,7 +21415,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21540,7 +21425,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21659,7 +21544,6 @@ namespace CppSharp protected MSAsmStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21671,7 +21555,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSAsmStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) @@ -21683,7 +21567,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -21693,7 +21577,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -21817,7 +21701,6 @@ namespace CppSharp protected SEHExceptStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21829,7 +21712,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHExceptStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) @@ -21952,7 +21835,6 @@ namespace CppSharp protected SEHFinallyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -21964,7 +21846,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHFinallyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) @@ -22081,7 +21963,6 @@ namespace CppSharp protected SEHTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22093,7 +21974,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHTryStmt(global::CppSharp.Parser.AST.SEHTryStmt _0) @@ -22262,7 +22143,6 @@ namespace CppSharp protected SEHLeaveStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22274,7 +22154,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SEHLeaveStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) @@ -22406,7 +22286,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -22448,7 +22327,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.Capture.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) @@ -22581,7 +22460,6 @@ namespace CppSharp protected CapturedStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22593,7 +22471,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CapturedStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) @@ -22605,7 +22483,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -22615,7 +22493,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -22623,7 +22501,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -22638,12 +22516,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.AST.Stmt capturedStmt @@ -22681,7 +22559,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -22751,7 +22629,6 @@ namespace CppSharp protected CXXCatchStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22763,7 +22640,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXCatchStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) @@ -22886,7 +22763,6 @@ namespace CppSharp protected CXXTryStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -22898,7 +22774,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTryStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTryStmt(global::CppSharp.Parser.AST.CXXTryStmt _0) @@ -23049,7 +22925,6 @@ namespace CppSharp protected CXXForRangeStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23061,7 +22936,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXForRangeStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) @@ -23355,7 +23230,6 @@ namespace CppSharp protected MSDependentExistsStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23367,7 +23241,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSDependentExistsStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSDependentExistsStmt(global::CppSharp.Parser.AST.MSDependentExistsStmt _0) @@ -23539,7 +23413,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -23581,7 +23454,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) @@ -23636,7 +23509,6 @@ namespace CppSharp protected CoroutineBodyStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23648,7 +23520,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineBodyStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineBodyStmt(global::CppSharp.Parser.AST.CoroutineBodyStmt _0) @@ -23964,7 +23836,6 @@ namespace CppSharp protected CoreturnStmt(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -23976,7 +23847,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoreturnStmt.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoreturnStmt(global::CppSharp.Parser.AST.CoreturnStmt _0) @@ -24456,7 +24327,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -24498,7 +24368,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.Classification.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) @@ -24657,7 +24527,6 @@ namespace CppSharp protected Expr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -24669,7 +24538,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Expr(global::CppSharp.Parser.AST.StmtClass klass) @@ -24678,7 +24547,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.Expr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public Expr(global::CppSharp.Parser.AST.Expr _0) @@ -24995,7 +24864,6 @@ namespace CppSharp protected FullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25007,7 +24875,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FullExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -25016,7 +24884,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) @@ -25152,7 +25020,6 @@ namespace CppSharp protected ConstantExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25164,7 +25031,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConstantExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) @@ -25283,7 +25150,6 @@ namespace CppSharp protected OpaqueValueExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25295,7 +25161,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OpaqueValueExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OpaqueValueExpr(global::CppSharp.Parser.AST.OpaqueValueExpr _0) @@ -25485,7 +25351,6 @@ namespace CppSharp protected DeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25497,7 +25362,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DeclRefExpr(global::CppSharp.Parser.AST.DeclRefExpr _0) @@ -25774,7 +25639,6 @@ namespace CppSharp protected IntegerLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25786,7 +25650,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.IntegerLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public IntegerLiteral(global::CppSharp.Parser.AST.IntegerLiteral _0) @@ -25928,7 +25792,6 @@ namespace CppSharp protected FixedPointLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -25940,7 +25803,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FixedPointLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FixedPointLiteral(global::CppSharp.Parser.AST.FixedPointLiteral _0) @@ -26094,7 +25957,6 @@ namespace CppSharp protected CharacterLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26106,7 +25968,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CharacterLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CharacterLiteral(global::CppSharp.Parser.AST.CharacterLiteral _0) @@ -26264,7 +26126,6 @@ namespace CppSharp protected FloatingLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26276,7 +26137,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FloatingLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FloatingLiteral(global::CppSharp.Parser.AST.FloatingLiteral _0) @@ -26428,7 +26289,6 @@ namespace CppSharp protected ImaginaryLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26440,7 +26300,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImaginaryLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) @@ -26627,7 +26487,6 @@ namespace CppSharp protected StringLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26639,7 +26498,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StringLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) @@ -26651,7 +26510,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -26661,7 +26520,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -26980,7 +26839,6 @@ namespace CppSharp protected PredefinedExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -26992,7 +26850,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PredefinedExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) @@ -27137,7 +26995,6 @@ namespace CppSharp protected ParenExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27149,7 +27006,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) @@ -27333,7 +27190,6 @@ namespace CppSharp protected UnaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27345,7 +27201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryOperator(global::CppSharp.Parser.AST.UnaryOperator _0) @@ -27602,7 +27458,6 @@ namespace CppSharp protected OffsetOfExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27614,7 +27469,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OffsetOfExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OffsetOfExpr(global::CppSharp.Parser.AST.OffsetOfExpr _0) @@ -27797,7 +27652,6 @@ namespace CppSharp protected UnaryExprOrTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -27809,7 +27663,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnaryExprOrTypeTraitExpr(global::CppSharp.Parser.AST.UnaryExprOrTypeTraitExpr _0) @@ -28034,7 +27888,6 @@ namespace CppSharp protected ArraySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28046,7 +27899,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArraySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) @@ -28298,7 +28151,6 @@ namespace CppSharp protected CallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28310,7 +28162,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28319,7 +28171,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) @@ -28331,7 +28183,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -28341,7 +28193,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -28349,7 +28201,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -28364,12 +28216,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CallExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -28500,7 +28352,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -28642,7 +28494,6 @@ namespace CppSharp protected MemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28654,7 +28505,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MemberExpr(global::CppSharp.Parser.AST.MemberExpr _0) @@ -28947,7 +28798,6 @@ namespace CppSharp protected CompoundLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -28959,7 +28809,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundLiteralExpr(global::CppSharp.Parser.AST.CompoundLiteralExpr _0) @@ -29139,7 +28989,6 @@ namespace CppSharp protected CastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29151,7 +29000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29160,7 +29009,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CastExpr(global::CppSharp.Parser.AST.CastExpr _0) @@ -29419,7 +29268,6 @@ namespace CppSharp protected ImplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29431,7 +29279,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitCastExpr(global::CppSharp.Parser.AST.ImplicitCastExpr _0) @@ -29583,7 +29431,6 @@ namespace CppSharp protected ExplicitCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29595,7 +29442,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExplicitCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -29604,7 +29451,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExplicitCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) @@ -29764,7 +29611,6 @@ namespace CppSharp protected CStyleCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29776,7 +29622,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CStyleCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) @@ -29979,7 +29825,6 @@ namespace CppSharp protected BinaryOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -29991,7 +29836,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30000,7 +29845,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) @@ -30012,7 +29857,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30022,7 +29867,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30457,7 +30302,6 @@ namespace CppSharp protected CompoundAssignOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30469,7 +30313,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CompoundAssignOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator _0) @@ -30481,7 +30325,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -30491,7 +30335,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -30645,7 +30489,6 @@ namespace CppSharp protected AbstractConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30657,7 +30500,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.StmtClass klass) @@ -30666,7 +30509,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AbstractConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractConditionalOperator _0) @@ -30882,7 +30725,6 @@ namespace CppSharp protected ConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -30894,7 +30736,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) @@ -31061,7 +30903,6 @@ namespace CppSharp protected BinaryConditionalOperator(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31073,7 +30914,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryConditionalOperator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOperator _0) @@ -31225,7 +31066,6 @@ namespace CppSharp protected AddrLabelExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31237,7 +31077,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AddrLabelExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) @@ -31382,7 +31222,6 @@ namespace CppSharp protected StmtExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31394,7 +31233,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StmtExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) @@ -31557,7 +31396,6 @@ namespace CppSharp protected ShuffleVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31569,7 +31407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ShuffleVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ShuffleVectorExpr(global::CppSharp.Parser.AST.ShuffleVectorExpr _0) @@ -31727,7 +31565,6 @@ namespace CppSharp protected ConvertVectorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31739,7 +31576,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ConvertVectorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) @@ -31917,7 +31754,6 @@ namespace CppSharp protected ChooseExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -31929,7 +31765,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ChooseExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ChooseExpr(global::CppSharp.Parser.AST.ChooseExpr _0) @@ -32166,7 +32002,6 @@ namespace CppSharp protected GNUNullExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32178,7 +32013,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GNUNullExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) @@ -32313,7 +32148,6 @@ namespace CppSharp protected VAArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32325,7 +32159,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.VAArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public VAArgExpr(global::CppSharp.Parser.AST.VAArgExpr _0) @@ -32528,7 +32362,6 @@ namespace CppSharp protected InitListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -32540,7 +32373,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.InitListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public InitListExpr(global::CppSharp.Parser.AST.InitListExpr _0) @@ -32863,7 +32696,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -32905,7 +32737,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) @@ -33101,7 +32933,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33143,7 +32974,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesignator _0) @@ -33189,7 +33020,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -33231,7 +33061,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.ArrayOrRangeDesignator _0) @@ -33286,7 +33116,6 @@ namespace CppSharp protected DesignatedInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33298,7 +33127,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitExpr(global::CppSharp.Parser.AST.DesignatedInitExpr _0) @@ -33493,7 +33322,6 @@ namespace CppSharp protected NoInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33505,7 +33333,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.NoInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) @@ -33621,7 +33449,6 @@ namespace CppSharp protected DesignatedInitUpdateExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33633,7 +33460,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdateExpr _0) @@ -33785,7 +33612,6 @@ namespace CppSharp protected ArrayInitLoopExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33797,7 +33623,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitLoopExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) @@ -33943,7 +33769,6 @@ namespace CppSharp protected ArrayInitIndexExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -33955,7 +33780,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayInitIndexExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) @@ -34065,7 +33890,6 @@ namespace CppSharp protected ImplicitValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34077,7 +33901,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ImplicitValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _0) @@ -34196,7 +34020,6 @@ namespace CppSharp protected ParenListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34208,7 +34031,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ParenListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParenListExpr(global::CppSharp.Parser.AST.ParenListExpr _0) @@ -34381,7 +34204,6 @@ namespace CppSharp protected GenericSelectionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34393,7 +34215,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.GenericSelectionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public GenericSelectionExpr(global::CppSharp.Parser.AST.GenericSelectionExpr _0) @@ -34632,7 +34454,6 @@ namespace CppSharp protected ExtVectorElementExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34644,7 +34465,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExtVectorElementExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtVectorElementExpr(global::CppSharp.Parser.AST.ExtVectorElementExpr _0) @@ -34830,7 +34651,6 @@ namespace CppSharp protected BlockExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -34842,7 +34662,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BlockExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) @@ -34992,7 +34812,6 @@ namespace CppSharp protected AsTypeExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35004,7 +34823,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AsTypeExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) @@ -35170,7 +34989,6 @@ namespace CppSharp protected PseudoObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35182,7 +35000,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PseudoObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PseudoObjectExpr(global::CppSharp.Parser.AST.PseudoObjectExpr _0) @@ -35449,7 +35267,6 @@ namespace CppSharp protected AtomicExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35461,7 +35278,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.AtomicExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public AtomicExpr(global::CppSharp.Parser.AST.AtomicExpr _0) @@ -35803,7 +35620,6 @@ namespace CppSharp protected TypoExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35815,7 +35631,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypoExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) @@ -35972,7 +35788,6 @@ namespace CppSharp protected CXXOperatorCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -35984,7 +35799,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXOperatorCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) @@ -35996,7 +35811,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36006,7 +35821,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36213,7 +36028,6 @@ namespace CppSharp protected CXXMemberCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36225,7 +36039,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXMemberCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) @@ -36237,7 +36051,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36247,7 +36061,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36422,7 +36236,6 @@ namespace CppSharp protected CUDAKernelCallExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36434,7 +36247,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CUDAKernelCallExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) @@ -36446,7 +36259,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -36456,7 +36269,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -36619,7 +36432,6 @@ namespace CppSharp protected CXXNamedCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36631,7 +36443,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -36640,7 +36452,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNamedCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXNamedCastExpr(global::CppSharp.Parser.AST.CXXNamedCastExpr _0) @@ -36854,7 +36666,6 @@ namespace CppSharp protected CXXStaticCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -36866,7 +36677,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStaticCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) @@ -37015,7 +36826,6 @@ namespace CppSharp protected CXXDynamicCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37027,7 +36837,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDynamicCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDynamicCastExpr(global::CppSharp.Parser.AST.CXXDynamicCastExpr _0) @@ -37186,7 +36996,6 @@ namespace CppSharp protected CXXReinterpretCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37198,7 +37007,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXReinterpretCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr _0) @@ -37344,7 +37153,6 @@ namespace CppSharp protected CXXConstCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37356,7 +37164,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) @@ -37517,7 +37325,6 @@ namespace CppSharp protected UserDefinedLiteral(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37529,7 +37336,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UserDefinedLiteral.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) @@ -37541,7 +37348,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -37551,7 +37358,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -37705,7 +37512,6 @@ namespace CppSharp protected CXXBoolLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37717,7 +37523,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBoolLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBoolLiteralExpr(global::CppSharp.Parser.AST.CXXBoolLiteralExpr _0) @@ -37856,7 +37662,6 @@ namespace CppSharp protected CXXNullPtrLiteralExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -37868,7 +37673,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _0) @@ -37994,7 +37799,6 @@ namespace CppSharp protected CXXStdInitializerListExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38006,7 +37810,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXStdInitializerListExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerListExpr _0) @@ -38143,7 +37947,6 @@ namespace CppSharp protected CXXTypeidExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38155,7 +37958,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTypeidExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTypeidExpr(global::CppSharp.Parser.AST.CXXTypeidExpr _0) @@ -38321,7 +38124,6 @@ namespace CppSharp protected MSPropertyRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38333,7 +38135,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertyRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertyRefExpr(global::CppSharp.Parser.AST.MSPropertyRefExpr _0) @@ -38509,7 +38311,6 @@ namespace CppSharp protected MSPropertySubscriptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38521,7 +38322,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MSPropertySubscriptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptExpr _0) @@ -38694,7 +38495,6 @@ namespace CppSharp protected CXXUuidofExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38706,7 +38506,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUuidofExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) @@ -38718,7 +38518,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -38728,7 +38528,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -38883,7 +38683,6 @@ namespace CppSharp protected CXXThisExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -38895,7 +38694,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThisExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThisExpr(global::CppSharp.Parser.AST.CXXThisExpr _0) @@ -39040,7 +38839,6 @@ namespace CppSharp protected CXXThrowExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39052,7 +38850,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXThrowExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXThrowExpr(global::CppSharp.Parser.AST.CXXThrowExpr _0) @@ -39212,7 +39010,6 @@ namespace CppSharp protected CXXDefaultArgExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39224,7 +39021,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultArgExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) @@ -39371,7 +39168,6 @@ namespace CppSharp protected CXXDefaultInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39383,7 +39179,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDefaultInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) @@ -39532,7 +39328,6 @@ namespace CppSharp protected CXXBindTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39544,7 +39339,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXBindTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) @@ -39737,7 +39532,6 @@ namespace CppSharp protected CXXConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -39749,7 +39543,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39758,7 +39552,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) @@ -39770,7 +39564,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -39780,7 +39574,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -39788,7 +39582,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -39803,12 +39597,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public static implicit operator global::CppSharp.Parser.AST.CXXConstructExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -39926,7 +39720,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -40038,7 +39832,6 @@ namespace CppSharp protected CXXInheritedCtorInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40050,7 +39843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXInheritedCtorInitExpr(global::CppSharp.Parser.AST.CXXInheritedCtorInitExpr _0) @@ -40232,7 +40025,6 @@ namespace CppSharp protected CXXFunctionalCastExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40244,7 +40036,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFunctionalCastExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFunctionalCastExpr(global::CppSharp.Parser.AST.CXXFunctionalCastExpr _0) @@ -40425,7 +40217,6 @@ namespace CppSharp protected CXXTemporaryObjectExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40437,7 +40228,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr _0) @@ -40449,7 +40240,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40459,7 +40250,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40618,7 +40409,6 @@ namespace CppSharp protected LambdaExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40630,7 +40420,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.LambdaExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) @@ -40642,7 +40432,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -40652,7 +40442,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -40660,7 +40450,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetcaptureInits(uint i) { - var __ret = __Internal.GetcaptureInits((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetcaptureInits(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -40675,12 +40465,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddcaptureInits((__Instance + __PointerAdjustment), __arg0); + __Internal.AddcaptureInits(__Instance, __arg0); } public void ClearcaptureInits() { - __Internal.ClearcaptureInits((__Instance + __PointerAdjustment)); + __Internal.ClearcaptureInits(__Instance); } public global::CppSharp.Parser.SourceLocation CaptureDefaultLoc @@ -40816,7 +40606,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetcaptureInitsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetcaptureInitsCount(__Instance); return __ret; } } @@ -40922,7 +40712,6 @@ namespace CppSharp protected CXXScalarValueInitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -40934,7 +40723,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXScalarValueInitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr _0) @@ -41134,7 +40923,6 @@ namespace CppSharp protected CXXNewExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41146,7 +40934,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNewExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) @@ -41158,7 +40946,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -41168,7 +40956,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -41176,7 +40964,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr GetplacementArguments(uint i) { - var __ret = __Internal.GetplacementArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetplacementArguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -41191,12 +40979,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.AddplacementArguments((__Instance + __PointerAdjustment), __arg0); + __Internal.AddplacementArguments(__Instance, __arg0); } public void ClearplacementArguments() { - __Internal.ClearplacementArguments((__Instance + __PointerAdjustment)); + __Internal.ClearplacementArguments(__Instance); } public global::CppSharp.Parser.AST.Function OperatorNew @@ -41416,7 +41204,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetplacementArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetplacementArgumentsCount(__Instance); return __ret; } } @@ -41537,7 +41325,6 @@ namespace CppSharp protected CXXDeleteExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41549,7 +41336,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDeleteExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDeleteExpr(global::CppSharp.Parser.AST.CXXDeleteExpr _0) @@ -41773,7 +41560,6 @@ namespace CppSharp protected CXXPseudoDestructorExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -41785,7 +41571,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXPseudoDestructorExpr(global::CppSharp.Parser.AST.CXXPseudoDestructorExpr _0) @@ -42012,7 +41798,6 @@ namespace CppSharp protected TypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42024,7 +41809,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.TypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public TypeTraitExpr(global::CppSharp.Parser.AST.TypeTraitExpr _0) @@ -42169,7 +41954,6 @@ namespace CppSharp protected ArrayTypeTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42181,7 +41965,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ArrayTypeTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ArrayTypeTraitExpr(global::CppSharp.Parser.AST.ArrayTypeTraitExpr _0) @@ -42343,7 +42127,6 @@ namespace CppSharp protected ExpressionTraitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42355,7 +42138,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionTraitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExpressionTraitExpr(global::CppSharp.Parser.AST.ExpressionTraitExpr _0) @@ -42516,7 +42299,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -42558,7 +42340,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.FindResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) @@ -42613,7 +42395,6 @@ namespace CppSharp protected OverloadExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42625,7 +42406,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public OverloadExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -42634,7 +42415,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.OverloadExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public OverloadExpr(global::CppSharp.Parser.AST.OverloadExpr _0) @@ -42883,7 +42664,6 @@ namespace CppSharp protected UnresolvedLookupExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -42895,7 +42675,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedLookupExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedLookupExpr(global::CppSharp.Parser.AST.UnresolvedLookupExpr _0) @@ -43052,7 +42832,6 @@ namespace CppSharp protected DependentScopeDeclRefExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43064,7 +42843,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentScopeDeclRefExpr(global::CppSharp.Parser.AST.DependentScopeDeclRefExpr _0) @@ -43274,7 +43053,6 @@ namespace CppSharp protected ExprWithCleanups(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43286,7 +43064,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExprWithCleanups.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExprWithCleanups(global::CppSharp.Parser.AST.ExprWithCleanups _0) @@ -43465,7 +43243,6 @@ namespace CppSharp protected CXXUnresolvedConstructExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43477,7 +43254,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConstructExpr _0) @@ -43489,7 +43266,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public override void Dispose(bool disposing) @@ -43499,7 +43276,7 @@ namespace CppSharp global::CppSharp.Parser.AST.Stmt __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -43507,7 +43284,7 @@ namespace CppSharp public global::CppSharp.Parser.AST.Expr Getarguments(uint i) { - var __ret = __Internal.Getarguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.Getarguments(__Instance, i); global::CppSharp.Parser.AST.Expr __result0; if (__ret == IntPtr.Zero) __result0 = null; else if (global::CppSharp.Parser.AST.Expr.NativeToManagedMap.ContainsKey(__ret)) @@ -43522,12 +43299,12 @@ namespace CppSharp throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var ____arg0 = s.__Instance; var __arg0 = new global::System.IntPtr(&____arg0); - __Internal.Addarguments((__Instance + __PointerAdjustment), __arg0); + __Internal.Addarguments(__Instance, __arg0); } public void Cleararguments() { - __Internal.Cleararguments((__Instance + __PointerAdjustment)); + __Internal.Cleararguments(__Instance); } public global::CppSharp.Parser.SourceLocation LParenLoc @@ -43601,7 +43378,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetargumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetargumentsCount(__Instance); return __ret; } } @@ -43743,7 +43520,6 @@ namespace CppSharp protected CXXDependentScopeMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -43755,7 +43531,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXDependentScopeMemberExpr(global::CppSharp.Parser.AST.CXXDependentScopeMemberExpr _0) @@ -44091,7 +43867,6 @@ namespace CppSharp protected UnresolvedMemberExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44103,7 +43878,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.UnresolvedMemberExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public UnresolvedMemberExpr(global::CppSharp.Parser.AST.UnresolvedMemberExpr _0) @@ -44317,7 +44092,6 @@ namespace CppSharp protected CXXNoexceptExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44329,7 +44103,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXNoexceptExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXNoexceptExpr(global::CppSharp.Parser.AST.CXXNoexceptExpr _0) @@ -44476,7 +44250,6 @@ namespace CppSharp protected PackExpansionExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44488,7 +44261,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.PackExpansionExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) @@ -44647,7 +44420,6 @@ namespace CppSharp protected SizeOfPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44659,7 +44431,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SizeOfPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SizeOfPackExpr(global::CppSharp.Parser.AST.SizeOfPackExpr _0) @@ -44858,7 +44630,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -44870,7 +44641,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmExpr _0) @@ -45017,7 +44788,6 @@ namespace CppSharp protected SubstNonTypeTemplateParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45029,7 +44799,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonTypeTemplateParmPackExpr _0) @@ -45173,7 +44943,6 @@ namespace CppSharp protected FunctionParmPackExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45185,7 +44954,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.FunctionParmPackExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public FunctionParmPackExpr(global::CppSharp.Parser.AST.FunctionParmPackExpr _0) @@ -45324,7 +45093,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -45366,7 +45134,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraState _0) @@ -45421,7 +45189,6 @@ namespace CppSharp protected MaterializeTemporaryExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45433,7 +45200,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public MaterializeTemporaryExpr(global::CppSharp.Parser.AST.MaterializeTemporaryExpr _0) @@ -45629,7 +45396,6 @@ namespace CppSharp protected CXXFoldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45641,7 +45407,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXFoldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CXXFoldExpr(global::CppSharp.Parser.AST.CXXFoldExpr _0) @@ -45907,7 +45673,6 @@ namespace CppSharp protected CoroutineSuspendExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -45919,7 +45684,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.StmtClass klass) @@ -45928,7 +45693,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoroutineSuspendExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment), klass); + __Internal.ctor(__Instance, klass); } public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) @@ -46170,7 +45935,6 @@ namespace CppSharp protected CoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46182,7 +45946,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoawaitExpr(global::CppSharp.Parser.AST.CoawaitExpr _0) @@ -46332,7 +46096,6 @@ namespace CppSharp protected DependentCoawaitExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46344,7 +46107,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.DependentCoawaitExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) @@ -46524,7 +46287,6 @@ namespace CppSharp protected CoyieldExpr(void* native, bool skipVTables = false) : base((void*) null) { - __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); @@ -46536,7 +46298,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CoyieldExpr.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CoyieldExpr(global::CppSharp.Parser.AST.CoyieldExpr _0) @@ -46735,7 +46497,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -46777,7 +46538,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserTargetInfo.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) @@ -46788,7 +46549,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -46803,7 +46564,7 @@ namespace CppSharp global::CppSharp.Parser.ParserTargetInfo __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47384,7 +47145,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47673,7 +47433,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -47715,7 +47474,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.CppParserOptions.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) @@ -47726,7 +47485,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -47741,7 +47500,7 @@ namespace CppSharp global::CppSharp.Parser.CppParserOptions __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -47749,7 +47508,7 @@ namespace CppSharp public string GetArguments(uint i) { - var __ret = __Internal.GetArguments((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetArguments(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47760,17 +47519,17 @@ namespace CppSharp public void AddArguments(string s) { - __Internal.AddArguments((__Instance + __PointerAdjustment), s); + __Internal.AddArguments(__Instance, s); } public void ClearArguments() { - __Internal.ClearArguments((__Instance + __PointerAdjustment)); + __Internal.ClearArguments(__Instance); } public string GetSourceFiles(uint i) { - var __ret = __Internal.GetSourceFiles((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSourceFiles(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47781,17 +47540,17 @@ namespace CppSharp public void AddSourceFiles(string s) { - __Internal.AddSourceFiles((__Instance + __PointerAdjustment), s); + __Internal.AddSourceFiles(__Instance, s); } public void ClearSourceFiles() { - __Internal.ClearSourceFiles((__Instance + __PointerAdjustment)); + __Internal.ClearSourceFiles(__Instance); } public string GetIncludeDirs(uint i) { - var __ret = __Internal.GetIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47802,17 +47561,17 @@ namespace CppSharp public void AddIncludeDirs(string s) { - __Internal.AddIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddIncludeDirs(__Instance, s); } public void ClearIncludeDirs() { - __Internal.ClearIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearIncludeDirs(__Instance); } public string GetSystemIncludeDirs(uint i) { - var __ret = __Internal.GetSystemIncludeDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSystemIncludeDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47823,17 +47582,17 @@ namespace CppSharp public void AddSystemIncludeDirs(string s) { - __Internal.AddSystemIncludeDirs((__Instance + __PointerAdjustment), s); + __Internal.AddSystemIncludeDirs(__Instance, s); } public void ClearSystemIncludeDirs() { - __Internal.ClearSystemIncludeDirs((__Instance + __PointerAdjustment)); + __Internal.ClearSystemIncludeDirs(__Instance); } public string GetDefines(uint i) { - var __ret = __Internal.GetDefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetDefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47844,17 +47603,17 @@ namespace CppSharp public void AddDefines(string s) { - __Internal.AddDefines((__Instance + __PointerAdjustment), s); + __Internal.AddDefines(__Instance, s); } public void ClearDefines() { - __Internal.ClearDefines((__Instance + __PointerAdjustment)); + __Internal.ClearDefines(__Instance); } public string GetUndefines(uint i) { - var __ret = __Internal.GetUndefines((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetUndefines(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47865,17 +47624,17 @@ namespace CppSharp public void AddUndefines(string s) { - __Internal.AddUndefines((__Instance + __PointerAdjustment), s); + __Internal.AddUndefines(__Instance, s); } public void ClearUndefines() { - __Internal.ClearUndefines((__Instance + __PointerAdjustment)); + __Internal.ClearUndefines(__Instance); } public string GetLibraryDirs(uint i) { - var __ret = __Internal.GetLibraryDirs((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetLibraryDirs(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47886,17 +47645,17 @@ namespace CppSharp public void AddLibraryDirs(string s) { - __Internal.AddLibraryDirs((__Instance + __PointerAdjustment), s); + __Internal.AddLibraryDirs(__Instance, s); } public void ClearLibraryDirs() { - __Internal.ClearLibraryDirs((__Instance + __PointerAdjustment)); + __Internal.ClearLibraryDirs(__Instance); } public string GetSupportedStdTypes(uint i) { - var __ret = __Internal.GetSupportedStdTypes((__Instance + __PointerAdjustment), i); + var __ret = __Internal.GetSupportedStdTypes(__Instance, i); if (__ret == global::System.IntPtr.Zero) return default(string); var __retPtr = (byte*) __ret; @@ -47907,12 +47666,12 @@ namespace CppSharp public void AddSupportedStdTypes(string s) { - __Internal.AddSupportedStdTypes((__Instance + __PointerAdjustment), s); + __Internal.AddSupportedStdTypes(__Instance, s); } public void ClearSupportedStdTypes() { - __Internal.ClearSupportedStdTypes((__Instance + __PointerAdjustment)); + __Internal.ClearSupportedStdTypes(__Instance); } public string LibraryFile @@ -48083,7 +47842,7 @@ namespace CppSharp get { var __ret = new global::Std.BasicString.__Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&__ret), (__Instance + __PointerAdjustment)); + __Internal.GetClangVersion(new IntPtr(&__ret), __Instance); var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new global::System.IntPtr(&__ret)); var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); __basicStringRet0.Dispose(); @@ -48095,7 +47854,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetArgumentsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetArgumentsCount(__Instance); return __ret; } } @@ -48104,7 +47863,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSourceFilesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSourceFilesCount(__Instance); return __ret; } } @@ -48113,7 +47872,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetIncludeDirsCount(__Instance); return __ret; } } @@ -48122,7 +47881,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSystemIncludeDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSystemIncludeDirsCount(__Instance); return __ret; } } @@ -48131,7 +47890,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDefinesCount(__Instance); return __ret; } } @@ -48140,7 +47899,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetUndefinesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetUndefinesCount(__Instance); return __ret; } } @@ -48149,7 +47908,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetLibraryDirsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetLibraryDirsCount(__Instance); return __ret; } } @@ -48158,7 +47917,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetSupportedStdTypesCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetSupportedStdTypesCount(__Instance); return __ret; } } @@ -48202,7 +47961,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48244,7 +48002,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserDiagnostic.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) @@ -48255,7 +48013,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48270,7 +48028,7 @@ namespace CppSharp global::CppSharp.Parser.ParserDiagnostic __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48402,7 +48160,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; @@ -48444,7 +48201,7 @@ namespace CppSharp __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.ParserResult.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - __Internal.ctor((__Instance + __PointerAdjustment)); + __Internal.ctor(__Instance); } public ParserResult(global::CppSharp.Parser.ParserResult _0) @@ -48455,7 +48212,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var __arg0 = _0.__Instance; - __Internal.cctor((__Instance + __PointerAdjustment), __arg0); + __Internal.cctor(__Instance, __arg0); } public void Dispose() @@ -48470,7 +48227,7 @@ namespace CppSharp global::CppSharp.Parser.ParserResult __dummy; NativeToManagedMap.TryRemove(__Instance, out __dummy); if (disposing) - __Internal.dtor((__Instance + __PointerAdjustment)); + __Internal.dtor(__Instance); if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -48479,7 +48236,7 @@ namespace CppSharp public global::CppSharp.Parser.ParserDiagnostic GetDiagnostics(uint i) { var __ret = new global::CppSharp.Parser.ParserDiagnostic.__Internal(); - __Internal.GetDiagnostics(new IntPtr(&__ret), (__Instance + __PointerAdjustment), i); + __Internal.GetDiagnostics(new IntPtr(&__ret), __Instance, i); return global::CppSharp.Parser.ParserDiagnostic.__CreateInstance(__ret); } @@ -48488,12 +48245,12 @@ namespace CppSharp if (ReferenceEquals(s, null)) throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var __arg0 = s.__Instance; - __Internal.AddDiagnostics((__Instance + __PointerAdjustment), __arg0); + __Internal.AddDiagnostics(__Instance, __arg0); } public void ClearDiagnostics() { - __Internal.ClearDiagnostics((__Instance + __PointerAdjustment)); + __Internal.ClearDiagnostics(__Instance); } public global::CppSharp.Parser.ParserResultKind Kind @@ -48567,7 +48324,7 @@ namespace CppSharp { get { - var __ret = __Internal.GetDiagnosticsCount((__Instance + __PointerAdjustment)); + var __ret = __Internal.GetDiagnosticsCount(__Instance); return __ret; } } @@ -48596,7 +48353,6 @@ namespace CppSharp public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary(); protected internal void*[] __OriginalVTables; diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs index 282179ee..2c626161 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs @@ -36,7 +36,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -81,7 +80,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.Allocator.__Internal)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.Allocator.__Internal.ctorc__N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.Allocator.__Internal.ctorc__N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_Tp", string.Join(", ", new[] { typeof(_Tp).FullName }), "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); @@ -103,7 +102,7 @@ namespace Std var ___Tp = typeof(_Tp); if (___Tp.IsAssignableFrom(typeof(sbyte))) { - global::Std.Allocator.__Internal.dtorc__N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.Allocator.__Internal.dtorc__N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_Tp", string.Join(", ", new[] { typeof(_Tp).FullName }), "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); @@ -679,6 +678,23 @@ namespace Std [FieldOffset(8)] internal global::System.IntPtr _M_finish; + [FieldOffset(16)] + internal global::System.IntPtr _M_end_of_storage; + } + + } + + namespace VectorImplData + { + [StructLayout(LayoutKind.Explicit, Size = 24)] + public unsafe partial struct __Internal + { + [FieldOffset(0)] + internal global::System.IntPtr _M_start; + + [FieldOffset(8)] + internal global::System.IntPtr _M_finish; + [FieldOffset(16)] internal global::System.IntPtr _M_end_of_storage; } @@ -785,7 +801,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -877,7 +892,6 @@ namespace Std { public global::System.IntPtr __Instance { get; protected set; } - protected int __PointerAdjustment; internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary>(); protected internal void*[] __OriginalVTables; @@ -924,7 +938,7 @@ namespace Std __Instance = Marshal.AllocHGlobal(sizeof(global::Std.BasicString.__Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C)); __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; - global::Std.BasicString.__Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.ctorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.ctorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Alloc", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Alloc).FullName }), "global::Std.BasicString<_CharT, _Traits, _Alloc> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); @@ -948,7 +962,7 @@ namespace Std var ___Alloc = typeof(_Alloc); if (___CharT.IsAssignableFrom(typeof(sbyte)) && ___Traits.IsAssignableFrom(typeof(global::Std.CharTraits)) && ___Alloc.IsAssignableFrom(typeof(global::Std.Allocator))) { - global::Std.BasicString.__Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C((__Instance + __PointerAdjustment)); + global::Std.BasicString.__Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C.dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(__Instance); return; } throw new ArgumentOutOfRangeException("_CharT, _Traits, _Alloc", string.Join(", ", new[] { typeof(_CharT).FullName, typeof(_Traits).FullName, typeof(_Alloc).FullName }), "global::Std.BasicString<_CharT, _Traits, _Alloc> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: , global::Std.Allocator>."); @@ -1004,3 +1018,7 @@ namespace Std namespace Std { } + +namespace Std +{ +}