diff --git a/Directory.Build.props b/Directory.Build.props index 2a32266a0..0dc6c392c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,58 +1,58 @@ - - - - - $(MSBuildThisFileDirectory) - x86;x64 - false - true - MIT - https://github.com/mono/CppSharp - $(GITHUB_SHA) - João Matos, Dimitar Dobrev, Jose Torres - João Matos, Dimitar Dobrev - $(NBGV_Version) - $(NBGV_AssemblyVersion) - $(NBGV_AssemblyFileVersion) - $(NBGV_AssemblyInformationalVersion) - false - $(RootDir)build\ - $(BuildDir)obj\ - $(BuildDir)gen\ - $(RootDir)src\ - $(TargetFramework) - $(ObjDir)$(MSBuildProjectName)\ - $(RootDir)bin\ - $(BaseOutputPath)$(Configuration)_$(PlatformTarget)\ - $(BuildDir)$(PremakeAction)\ - $(ActionDir)projects\ - $(RootDir)artifacts\package\ - $(OutputPath) - 9.0 - 4 - dotnet - dll - "$(MSBuildProgramFiles32)\dotnet\dotnet.exe" - "$(ProgramW6432)\dotnet\dotnet.exe" - win - linux - osx - $(RID)-$(PlatformTarget) - - - - true - full - false - - - - exe - - - - - - - + + + + + $(MSBuildThisFileDirectory) + x86;x64 + false + true + MIT + https://github.com/mono/CppSharp + $(GITHUB_SHA) + João Matos, Dimitar Dobrev, Jose Torres + João Matos, Dimitar Dobrev + $(NBGV_Version) + $(NBGV_AssemblyVersion) + $(NBGV_AssemblyFileVersion) + $(NBGV_AssemblyInformationalVersion) + false + $(RootDir)build\ + $(BuildDir)obj\ + $(BuildDir)gen\ + $(RootDir)src\ + $(TargetFramework) + $(ObjDir)$(MSBuildProjectName)\ + $(RootDir)bin\ + $(BaseOutputPath)$(Configuration)_$(PlatformTarget)\ + $(BuildDir)$(PremakeAction)\ + $(ActionDir)projects\ + $(RootDir)artifacts\package\ + $(OutputPath) + 10.0 + 4 + dotnet + dll + "$(MSBuildProgramFiles32)\dotnet\dotnet.exe" + "$(ProgramW6432)\dotnet\dotnet.exe" + win + linux + osx + $(RID)-$(PlatformTarget) + + + + true + full + false + + + + exe + + + + + + + \ No newline at end of file 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 fe8c0db53..2a5e810ff 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 @@ -14,6 +14,7 @@ [assembly:InternalsVisibleTo("CppSharp.Parser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace CppSharp { @@ -187,12 +188,12 @@ public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -378,12 +379,12 @@ public Comment(global::CppSharp.Parser.AST.Comment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -602,7 +603,7 @@ public FullComment(global::CppSharp.Parser.AST.FullComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -850,7 +851,7 @@ public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1043,12 +1044,12 @@ public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1151,7 +1152,7 @@ public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1323,7 +1324,7 @@ public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1462,7 +1463,7 @@ public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1589,7 +1590,7 @@ public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineCom partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1716,7 +1717,7 @@ public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1847,7 +1848,7 @@ public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2018,12 +2019,12 @@ public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2117,7 +2118,7 @@ public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2416,12 +2417,12 @@ public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2529,7 +2530,7 @@ public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2673,7 +2674,7 @@ public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2786,7 +2787,7 @@ public TextComment(global::CppSharp.Parser.AST.TextComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2918,12 +2919,12 @@ public RawComment(global::CppSharp.Parser.AST.RawComment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3017,7 +3018,7 @@ public partial struct __Internal } private SourceLocation.__Internal __instance; - internal SourceLocation.__Internal __Instance => __instance; + internal ref SourceLocation.__Internal __Instance => ref __instance; internal static SourceLocation __CreateInstance(__IntPtr native, bool skipVTables = false) { @@ -3040,6 +3041,14 @@ private SourceLocation(void* native, bool skipVTables = false) : this() __instance = *(global::CppSharp.Parser.SourceLocation.__Internal*) native; } + public SourceLocation() + { + fixed (__Internal* __instancePtr = &__instance) + { + __Internal.ctor(new __IntPtr(__instancePtr)); + } + } + public SourceLocation(uint ID) : this() { @@ -3175,12 +3184,12 @@ public SourceRange() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3402,12 +3411,12 @@ public Type(global::CppSharp.Parser.AST.Type _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3543,12 +3552,12 @@ public TypeQualifiers() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3695,12 +3704,12 @@ public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4082,7 +4091,7 @@ public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4826,12 +4835,12 @@ public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4997,7 +5006,7 @@ public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializa partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5167,7 +5176,7 @@ public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.Dependent partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5313,7 +5322,7 @@ public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5688,7 +5697,7 @@ public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -6574,12 +6583,12 @@ public Declaration(global::CppSharp.Parser.AST.Declaration _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7147,7 +7156,7 @@ public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7554,7 +7563,7 @@ public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7693,7 +7702,7 @@ public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7813,7 +7822,7 @@ public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7946,7 +7955,7 @@ public Friend(global::CppSharp.Parser.AST.Friend _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8082,12 +8091,12 @@ public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8232,7 +8241,7 @@ public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8344,7 +8353,7 @@ public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8503,7 +8512,7 @@ public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8650,7 +8659,7 @@ public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObso partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8804,7 +8813,7 @@ public Parameter(global::CppSharp.Parser.AST.Parameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9047,7 +9056,7 @@ public Function(global::CppSharp.Parser.AST.Function _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9507,7 +9516,7 @@ public Method(global::CppSharp.Parser.AST.Method _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9878,7 +9887,7 @@ public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9985,7 +9994,7 @@ public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10189,7 +10198,7 @@ public Variable(global::CppSharp.Parser.AST.Variable _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10357,12 +10366,12 @@ public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10535,7 +10544,7 @@ public Field(global::CppSharp.Parser.AST.Field _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10708,7 +10717,7 @@ public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10819,12 +10828,12 @@ public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10989,12 +10998,12 @@ public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11141,12 +11150,12 @@ public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11318,12 +11327,12 @@ public LayoutField(global::CppSharp.Parser.AST.LayoutField other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11494,12 +11503,12 @@ public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11687,12 +11696,12 @@ public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12084,7 +12093,7 @@ public Class(global::CppSharp.Parser.AST.Class _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12505,7 +12514,7 @@ public Template(global::CppSharp.Parser.AST.Template _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12674,7 +12683,7 @@ public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12795,7 +12804,7 @@ public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12962,7 +12971,7 @@ public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplatePar partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13123,7 +13132,7 @@ public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13265,7 +13274,7 @@ public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParam partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13486,7 +13495,7 @@ public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13698,7 +13707,7 @@ public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpec partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13902,7 +13911,7 @@ public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTempl partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14038,7 +14047,7 @@ public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14209,12 +14218,12 @@ public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTempla public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14423,7 +14432,7 @@ public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14612,7 +14621,7 @@ public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpeciali partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14793,7 +14802,7 @@ public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplateP partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14911,7 +14920,7 @@ public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypena partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15041,7 +15050,7 @@ public Namespace(global::CppSharp.Parser.AST.Namespace _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15165,12 +15174,12 @@ public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15310,7 +15319,7 @@ public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15466,7 +15475,7 @@ public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15653,7 +15662,7 @@ public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15840,12 +15849,12 @@ public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16148,12 +16157,12 @@ public Stmt(global::CppSharp.Parser.AST.Stmt _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16325,7 +16334,7 @@ public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16608,7 +16617,7 @@ public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -18966,7 +18975,7 @@ public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19277,12 +19286,12 @@ public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19428,7 +19437,7 @@ public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19554,7 +19563,7 @@ public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20255,12 +20264,12 @@ public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20416,7 +20425,7 @@ public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -21279,12 +21288,12 @@ public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -22107,12 +22116,12 @@ public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -23860,7 +23869,7 @@ public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -25233,7 +25242,7 @@ public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26539,7 +26548,7 @@ public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26929,7 +26938,7 @@ public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -28812,12 +28821,12 @@ public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29068,12 +29077,12 @@ public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesig public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29178,12 +29187,12 @@ public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.Arr public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31346,7 +31355,7 @@ public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31523,7 +31532,7 @@ public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31675,7 +31684,7 @@ public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -32450,7 +32459,7 @@ public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -33366,7 +33375,7 @@ public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34172,7 +34181,7 @@ public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34714,7 +34723,7 @@ public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34850,7 +34859,7 @@ public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -35256,7 +35265,7 @@ public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -36398,12 +36407,12 @@ public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -37155,7 +37164,7 @@ public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConst partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -38663,12 +38672,12 @@ public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraStat public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -39755,12 +39764,12 @@ public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -40641,12 +40650,12 @@ public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41182,12 +41191,12 @@ public CppLinkerOptions(global::CppSharp.Parser.CppLinkerOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41381,12 +41390,12 @@ public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41595,12 +41604,12 @@ public ParserResult(global::CppSharp.Parser.ParserResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41806,12 +41815,12 @@ public ClangParser(global::CppSharp.Parser.ClangParser _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 c7e2920ad..f6c861347 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 @@ -16,6 +16,7 @@ [assembly:InternalsVisibleTo("CppSharp.CppParser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace Std { @@ -147,12 +148,12 @@ public Allocator() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -280,12 +281,12 @@ protected CharTraits(void* native, bool skipVTables = false) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -485,12 +486,12 @@ public BasicString() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; diff --git a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs index 076c7153e..110662ddb 100644 --- a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs @@ -14,6 +14,7 @@ [assembly:InternalsVisibleTo("CppSharp.Parser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace CppSharp { @@ -187,12 +188,12 @@ public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -378,12 +379,12 @@ public Comment(global::CppSharp.Parser.AST.Comment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -602,7 +603,7 @@ public FullComment(global::CppSharp.Parser.AST.FullComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -850,7 +851,7 @@ public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1043,12 +1044,12 @@ public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1151,7 +1152,7 @@ public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1323,7 +1324,7 @@ public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1462,7 +1463,7 @@ public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1589,7 +1590,7 @@ public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineCom partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1716,7 +1717,7 @@ public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1847,7 +1848,7 @@ public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2018,12 +2019,12 @@ public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2117,7 +2118,7 @@ public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2416,12 +2417,12 @@ public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2529,7 +2530,7 @@ public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2673,7 +2674,7 @@ public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2786,7 +2787,7 @@ public TextComment(global::CppSharp.Parser.AST.TextComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2918,12 +2919,12 @@ public RawComment(global::CppSharp.Parser.AST.RawComment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3017,7 +3018,7 @@ public partial struct __Internal } private SourceLocation.__Internal __instance; - internal SourceLocation.__Internal __Instance => __instance; + internal ref SourceLocation.__Internal __Instance => ref __instance; internal static SourceLocation __CreateInstance(__IntPtr native, bool skipVTables = false) { @@ -3040,6 +3041,14 @@ private SourceLocation(void* native, bool skipVTables = false) : this() __instance = *(global::CppSharp.Parser.SourceLocation.__Internal*) native; } + public SourceLocation() + { + fixed (__Internal* __instancePtr = &__instance) + { + __Internal.ctor(new __IntPtr(__instancePtr)); + } + } + public SourceLocation(uint ID) : this() { @@ -3175,12 +3184,12 @@ public SourceRange() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3402,12 +3411,12 @@ public Type(global::CppSharp.Parser.AST.Type _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3543,12 +3552,12 @@ public TypeQualifiers() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3695,12 +3704,12 @@ public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4082,7 +4091,7 @@ public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4826,12 +4835,12 @@ public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4997,7 +5006,7 @@ public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializa partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5167,7 +5176,7 @@ public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.Dependent partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5313,7 +5322,7 @@ public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5688,7 +5697,7 @@ public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -6574,12 +6583,12 @@ public Declaration(global::CppSharp.Parser.AST.Declaration _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7147,7 +7156,7 @@ public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7554,7 +7563,7 @@ public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7693,7 +7702,7 @@ public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7813,7 +7822,7 @@ public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7946,7 +7955,7 @@ public Friend(global::CppSharp.Parser.AST.Friend _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8082,12 +8091,12 @@ public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8232,7 +8241,7 @@ public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8344,7 +8353,7 @@ public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8503,7 +8512,7 @@ public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8650,7 +8659,7 @@ public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObso partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8804,7 +8813,7 @@ public Parameter(global::CppSharp.Parser.AST.Parameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9047,7 +9056,7 @@ public Function(global::CppSharp.Parser.AST.Function _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9507,7 +9516,7 @@ public Method(global::CppSharp.Parser.AST.Method _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9878,7 +9887,7 @@ public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9985,7 +9994,7 @@ public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10189,7 +10198,7 @@ public Variable(global::CppSharp.Parser.AST.Variable _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10357,12 +10366,12 @@ public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10535,7 +10544,7 @@ public Field(global::CppSharp.Parser.AST.Field _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10708,7 +10717,7 @@ public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10819,12 +10828,12 @@ public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10989,12 +10998,12 @@ public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11141,12 +11150,12 @@ public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11318,12 +11327,12 @@ public LayoutField(global::CppSharp.Parser.AST.LayoutField other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11494,12 +11503,12 @@ public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11687,12 +11696,12 @@ public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12084,7 +12093,7 @@ public Class(global::CppSharp.Parser.AST.Class _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12505,7 +12514,7 @@ public Template(global::CppSharp.Parser.AST.Template _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12674,7 +12683,7 @@ public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12795,7 +12804,7 @@ public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12962,7 +12971,7 @@ public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplatePar partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13123,7 +13132,7 @@ public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13265,7 +13274,7 @@ public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParam partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13486,7 +13495,7 @@ public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13698,7 +13707,7 @@ public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpec partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13902,7 +13911,7 @@ public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTempl partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14038,7 +14047,7 @@ public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14209,12 +14218,12 @@ public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTempla public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14423,7 +14432,7 @@ public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14612,7 +14621,7 @@ public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpeciali partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14793,7 +14802,7 @@ public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplateP partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14911,7 +14920,7 @@ public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypena partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15042,7 +15051,7 @@ public Namespace(global::CppSharp.Parser.AST.Namespace _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15166,12 +15175,12 @@ public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15311,7 +15320,7 @@ public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15467,7 +15476,7 @@ public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15655,7 +15664,7 @@ public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15842,12 +15851,12 @@ public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16150,12 +16159,12 @@ public Stmt(global::CppSharp.Parser.AST.Stmt _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16327,7 +16336,7 @@ public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16610,7 +16619,7 @@ public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -18968,7 +18977,7 @@ public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19279,12 +19288,12 @@ public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19430,7 +19439,7 @@ public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19556,7 +19565,7 @@ public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20257,12 +20266,12 @@ public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20418,7 +20427,7 @@ public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -21281,12 +21290,12 @@ public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -22109,12 +22118,12 @@ public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -23864,7 +23873,7 @@ public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -25237,7 +25246,7 @@ public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26543,7 +26552,7 @@ public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26933,7 +26942,7 @@ public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -28817,12 +28826,12 @@ public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29073,12 +29082,12 @@ public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesig public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29183,12 +29192,12 @@ public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.Arr public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31351,7 +31360,7 @@ public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31528,7 +31537,7 @@ public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31680,7 +31689,7 @@ public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -32455,7 +32464,7 @@ public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -33373,7 +33382,7 @@ public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34179,7 +34188,7 @@ public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34722,7 +34731,7 @@ public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34858,7 +34867,7 @@ public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -35264,7 +35273,7 @@ public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -36408,12 +36417,12 @@ public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -37165,7 +37174,7 @@ public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConst partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -38674,12 +38683,12 @@ public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraStat public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -39766,12 +39775,12 @@ public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -40652,12 +40661,12 @@ public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41193,12 +41202,12 @@ public CppLinkerOptions(global::CppSharp.Parser.CppLinkerOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41392,12 +41401,12 @@ public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41606,12 +41615,12 @@ public ParserResult(global::CppSharp.Parser.ParserResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41817,12 +41826,12 @@ public ClangParser(global::CppSharp.Parser.ClangParser _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; diff --git a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs index 7ebca0dad..e44bd1f9e 100644 --- a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs +++ b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs @@ -16,6 +16,7 @@ [assembly:InternalsVisibleTo("CppSharp.CppParser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace Std { @@ -160,17 +161,26 @@ public Allocator() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; NativeToManagedMap.TryRemove(__Instance, out _); DisposePartial(disposing); + if (callNativeDtor) + { + var ___Ty = typeof(_Ty); + if (___Ty.IsAssignableFrom(typeof(sbyte))) + { + return; + } + throw new ArgumentOutOfRangeException("_Ty", string.Join(", ", new[] { typeof(_Ty).FullName }), "global::Std.Allocator<_Ty> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); + } if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -299,12 +309,12 @@ public BasicString() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -431,12 +441,12 @@ protected CharTraits(void* native, bool skipVTables = false) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 0aee6b458..66e101cbb 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 @@ -14,6 +14,7 @@ [assembly:InternalsVisibleTo("CppSharp.Parser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace CppSharp { @@ -187,12 +188,12 @@ public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -378,12 +379,12 @@ public Comment(global::CppSharp.Parser.AST.Comment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -602,7 +603,7 @@ public FullComment(global::CppSharp.Parser.AST.FullComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -850,7 +851,7 @@ public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1043,12 +1044,12 @@ public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1151,7 +1152,7 @@ public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1323,7 +1324,7 @@ public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1462,7 +1463,7 @@ public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1589,7 +1590,7 @@ public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineCom partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1716,7 +1717,7 @@ public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1847,7 +1848,7 @@ public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2018,12 +2019,12 @@ public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2117,7 +2118,7 @@ public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2416,12 +2417,12 @@ public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2529,7 +2530,7 @@ public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2673,7 +2674,7 @@ public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2786,7 +2787,7 @@ public TextComment(global::CppSharp.Parser.AST.TextComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2918,12 +2919,12 @@ public RawComment(global::CppSharp.Parser.AST.RawComment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3017,7 +3018,7 @@ public partial struct __Internal } private SourceLocation.__Internal __instance; - internal SourceLocation.__Internal __Instance => __instance; + internal ref SourceLocation.__Internal __Instance => ref __instance; internal static SourceLocation __CreateInstance(__IntPtr native, bool skipVTables = false) { @@ -3040,6 +3041,14 @@ private SourceLocation(void* native, bool skipVTables = false) : this() __instance = *(global::CppSharp.Parser.SourceLocation.__Internal*) native; } + public SourceLocation() + { + fixed (__Internal* __instancePtr = &__instance) + { + __Internal.ctor(new __IntPtr(__instancePtr)); + } + } + public SourceLocation(uint ID) : this() { @@ -3175,12 +3184,12 @@ public SourceRange() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3402,12 +3411,12 @@ public Type(global::CppSharp.Parser.AST.Type _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3543,12 +3552,12 @@ public TypeQualifiers() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3695,12 +3704,12 @@ public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4082,7 +4091,7 @@ public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4826,12 +4835,12 @@ public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4997,7 +5006,7 @@ public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializa partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5167,7 +5176,7 @@ public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.Dependent partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5313,7 +5322,7 @@ public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5688,7 +5697,7 @@ public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -6574,12 +6583,12 @@ public Declaration(global::CppSharp.Parser.AST.Declaration _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7147,7 +7156,7 @@ public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7554,7 +7563,7 @@ public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7693,7 +7702,7 @@ public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7813,7 +7822,7 @@ public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7946,7 +7955,7 @@ public Friend(global::CppSharp.Parser.AST.Friend _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8082,12 +8091,12 @@ public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8232,7 +8241,7 @@ public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8344,7 +8353,7 @@ public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8503,7 +8512,7 @@ public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8650,7 +8659,7 @@ public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObso partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8804,7 +8813,7 @@ public Parameter(global::CppSharp.Parser.AST.Parameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9047,7 +9056,7 @@ public Function(global::CppSharp.Parser.AST.Function _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9507,7 +9516,7 @@ public Method(global::CppSharp.Parser.AST.Method _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9878,7 +9887,7 @@ public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9985,7 +9994,7 @@ public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10189,7 +10198,7 @@ public Variable(global::CppSharp.Parser.AST.Variable _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10357,12 +10366,12 @@ public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10535,7 +10544,7 @@ public Field(global::CppSharp.Parser.AST.Field _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10708,7 +10717,7 @@ public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10819,12 +10828,12 @@ public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10989,12 +10998,12 @@ public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11140,12 +11149,12 @@ public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11317,12 +11326,12 @@ public LayoutField(global::CppSharp.Parser.AST.LayoutField other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11493,12 +11502,12 @@ public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11686,12 +11695,12 @@ public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12083,7 +12092,7 @@ public Class(global::CppSharp.Parser.AST.Class _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12504,7 +12513,7 @@ public Template(global::CppSharp.Parser.AST.Template _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12673,7 +12682,7 @@ public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12794,7 +12803,7 @@ public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12961,7 +12970,7 @@ public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplatePar partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13122,7 +13131,7 @@ public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13264,7 +13273,7 @@ public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParam partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13485,7 +13494,7 @@ public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13697,7 +13706,7 @@ public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpec partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13901,7 +13910,7 @@ public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTempl partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14037,7 +14046,7 @@ public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14208,12 +14217,12 @@ public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTempla public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14422,7 +14431,7 @@ public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14611,7 +14620,7 @@ public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpeciali partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14792,7 +14801,7 @@ public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplateP partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14910,7 +14919,7 @@ public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypena partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15040,7 +15049,7 @@ public Namespace(global::CppSharp.Parser.AST.Namespace _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15164,12 +15173,12 @@ public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15309,7 +15318,7 @@ public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15465,7 +15474,7 @@ public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15652,7 +15661,7 @@ public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15839,12 +15848,12 @@ public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16147,12 +16156,12 @@ public Stmt(global::CppSharp.Parser.AST.Stmt _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16324,7 +16333,7 @@ public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16607,7 +16616,7 @@ public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -18965,7 +18974,7 @@ public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19276,12 +19285,12 @@ public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19427,7 +19436,7 @@ public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19553,7 +19562,7 @@ public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20254,12 +20263,12 @@ public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20415,7 +20424,7 @@ public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -21278,12 +21287,12 @@ public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -22106,12 +22115,12 @@ public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -23859,7 +23868,7 @@ public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -25232,7 +25241,7 @@ public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26538,7 +26547,7 @@ public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26928,7 +26937,7 @@ public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -28811,12 +28820,12 @@ public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29067,12 +29076,12 @@ public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesig public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29177,12 +29186,12 @@ public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.Arr public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31345,7 +31354,7 @@ public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31522,7 +31531,7 @@ public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31674,7 +31683,7 @@ public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -32449,7 +32458,7 @@ public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -33365,7 +33374,7 @@ public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34171,7 +34180,7 @@ public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34713,7 +34722,7 @@ public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34849,7 +34858,7 @@ public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -35255,7 +35264,7 @@ public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -36397,12 +36406,12 @@ public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -37154,7 +37163,7 @@ public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConst partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -38662,12 +38671,12 @@ public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraStat public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -39754,12 +39763,12 @@ public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -40640,12 +40649,12 @@ public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41181,12 +41190,12 @@ public CppLinkerOptions(global::CppSharp.Parser.CppLinkerOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41380,12 +41389,12 @@ public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41594,12 +41603,12 @@ public ParserResult(global::CppSharp.Parser.ParserResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41805,12 +41814,12 @@ public ClangParser(global::CppSharp.Parser.ClangParser _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 086462296..3f7910977 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 @@ -16,6 +16,7 @@ [assembly:InternalsVisibleTo("CppSharp.CppParser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace Std { @@ -147,12 +148,12 @@ public Allocator() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -280,12 +281,12 @@ protected CharTraits(void* native, bool skipVTables = false) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -485,12 +486,12 @@ public BasicString() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 5c0c7a9d4..95c942de4 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 @@ -14,6 +14,7 @@ [assembly:InternalsVisibleTo("CppSharp.Parser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace CppSharp { @@ -187,12 +188,12 @@ public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -378,12 +379,12 @@ public Comment(global::CppSharp.Parser.AST.Comment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -602,7 +603,7 @@ public FullComment(global::CppSharp.Parser.AST.FullComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -850,7 +851,7 @@ public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1043,12 +1044,12 @@ public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1151,7 +1152,7 @@ public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1323,7 +1324,7 @@ public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1462,7 +1463,7 @@ public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1589,7 +1590,7 @@ public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineCom partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1716,7 +1717,7 @@ public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1847,7 +1848,7 @@ public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2018,12 +2019,12 @@ public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2117,7 +2118,7 @@ public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2416,12 +2417,12 @@ public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2529,7 +2530,7 @@ public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2673,7 +2674,7 @@ public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2786,7 +2787,7 @@ public TextComment(global::CppSharp.Parser.AST.TextComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2918,12 +2919,12 @@ public RawComment(global::CppSharp.Parser.AST.RawComment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3017,7 +3018,7 @@ public partial struct __Internal } private SourceLocation.__Internal __instance; - internal SourceLocation.__Internal __Instance => __instance; + internal ref SourceLocation.__Internal __Instance => ref __instance; internal static SourceLocation __CreateInstance(__IntPtr native, bool skipVTables = false) { @@ -3040,6 +3041,14 @@ private SourceLocation(void* native, bool skipVTables = false) : this() __instance = *(global::CppSharp.Parser.SourceLocation.__Internal*) native; } + public SourceLocation() + { + fixed (__Internal* __instancePtr = &__instance) + { + __Internal.ctor(new __IntPtr(__instancePtr)); + } + } + public SourceLocation(uint ID) : this() { @@ -3175,12 +3184,12 @@ public SourceRange() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3402,12 +3411,12 @@ public Type(global::CppSharp.Parser.AST.Type _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3543,12 +3552,12 @@ public TypeQualifiers() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3695,12 +3704,12 @@ public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4082,7 +4091,7 @@ public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4826,12 +4835,12 @@ public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4997,7 +5006,7 @@ public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializa partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5167,7 +5176,7 @@ public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.Dependent partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5313,7 +5322,7 @@ public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5688,7 +5697,7 @@ public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -6574,12 +6583,12 @@ public Declaration(global::CppSharp.Parser.AST.Declaration _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7147,7 +7156,7 @@ public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7554,7 +7563,7 @@ public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7693,7 +7702,7 @@ public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7813,7 +7822,7 @@ public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7946,7 +7955,7 @@ public Friend(global::CppSharp.Parser.AST.Friend _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8082,12 +8091,12 @@ public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8232,7 +8241,7 @@ public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8344,7 +8353,7 @@ public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8503,7 +8512,7 @@ public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8650,7 +8659,7 @@ public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObso partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8804,7 +8813,7 @@ public Parameter(global::CppSharp.Parser.AST.Parameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9047,7 +9056,7 @@ public Function(global::CppSharp.Parser.AST.Function _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9507,7 +9516,7 @@ public Method(global::CppSharp.Parser.AST.Method _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9878,7 +9887,7 @@ public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9985,7 +9994,7 @@ public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10189,7 +10198,7 @@ public Variable(global::CppSharp.Parser.AST.Variable _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10357,12 +10366,12 @@ public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10535,7 +10544,7 @@ public Field(global::CppSharp.Parser.AST.Field _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10708,7 +10717,7 @@ public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10819,12 +10828,12 @@ public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10989,12 +10998,12 @@ public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11140,12 +11149,12 @@ public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11317,12 +11326,12 @@ public LayoutField(global::CppSharp.Parser.AST.LayoutField other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11493,12 +11502,12 @@ public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11686,12 +11695,12 @@ public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12083,7 +12092,7 @@ public Class(global::CppSharp.Parser.AST.Class _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12504,7 +12513,7 @@ public Template(global::CppSharp.Parser.AST.Template _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12673,7 +12682,7 @@ public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12794,7 +12803,7 @@ public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12961,7 +12970,7 @@ public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplatePar partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13122,7 +13131,7 @@ public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13264,7 +13273,7 @@ public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParam partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13485,7 +13494,7 @@ public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13697,7 +13706,7 @@ public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpec partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13901,7 +13910,7 @@ public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTempl partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14037,7 +14046,7 @@ public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14208,12 +14217,12 @@ public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTempla public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14422,7 +14431,7 @@ public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14611,7 +14620,7 @@ public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpeciali partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14792,7 +14801,7 @@ public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplateP partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14910,7 +14919,7 @@ public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypena partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15040,7 +15049,7 @@ public Namespace(global::CppSharp.Parser.AST.Namespace _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15164,12 +15173,12 @@ public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15309,7 +15318,7 @@ public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15465,7 +15474,7 @@ public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15652,7 +15661,7 @@ public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15839,12 +15848,12 @@ public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16147,12 +16156,12 @@ public Stmt(global::CppSharp.Parser.AST.Stmt _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16324,7 +16333,7 @@ public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16607,7 +16616,7 @@ public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -18965,7 +18974,7 @@ public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19276,12 +19285,12 @@ public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19427,7 +19436,7 @@ public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19553,7 +19562,7 @@ public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20254,12 +20263,12 @@ public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20415,7 +20424,7 @@ public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -21278,12 +21287,12 @@ public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -22106,12 +22115,12 @@ public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -23859,7 +23868,7 @@ public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -25232,7 +25241,7 @@ public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26538,7 +26547,7 @@ public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26928,7 +26937,7 @@ public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -28811,12 +28820,12 @@ public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29067,12 +29076,12 @@ public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesig public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29177,12 +29186,12 @@ public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.Arr public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31345,7 +31354,7 @@ public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31522,7 +31531,7 @@ public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31674,7 +31683,7 @@ public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -32449,7 +32458,7 @@ public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -33365,7 +33374,7 @@ public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34171,7 +34180,7 @@ public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34713,7 +34722,7 @@ public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34849,7 +34858,7 @@ public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -35255,7 +35264,7 @@ public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -36397,12 +36406,12 @@ public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -37154,7 +37163,7 @@ public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConst partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -38662,12 +38671,12 @@ public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraStat public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -39754,12 +39763,12 @@ public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -40640,12 +40649,12 @@ public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41181,12 +41190,12 @@ public CppLinkerOptions(global::CppSharp.Parser.CppLinkerOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41380,12 +41389,12 @@ public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41594,12 +41603,12 @@ public ParserResult(global::CppSharp.Parser.ParserResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41805,12 +41814,12 @@ public ClangParser(global::CppSharp.Parser.ClangParser _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 cdf0bbf78..640bb868c 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 @@ -16,6 +16,7 @@ [assembly:InternalsVisibleTo("CppSharp.CppParser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace Std { @@ -113,12 +114,12 @@ public Allocator() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -305,12 +306,12 @@ protected CharTraits(void* native, bool skipVTables = false) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -457,12 +458,12 @@ public BasicString() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 58d27ea06..3799d088f 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 @@ -14,6 +14,7 @@ [assembly:InternalsVisibleTo("CppSharp.Parser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace CppSharp { @@ -187,12 +188,12 @@ public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -378,12 +379,12 @@ public Comment(global::CppSharp.Parser.AST.Comment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -602,7 +603,7 @@ public FullComment(global::CppSharp.Parser.AST.FullComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -850,7 +851,7 @@ public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1043,12 +1044,12 @@ public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1151,7 +1152,7 @@ public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1323,7 +1324,7 @@ public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1462,7 +1463,7 @@ public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1589,7 +1590,7 @@ public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineCom partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1716,7 +1717,7 @@ public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1847,7 +1848,7 @@ public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2018,12 +2019,12 @@ public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2117,7 +2118,7 @@ public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2416,12 +2417,12 @@ public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2529,7 +2530,7 @@ public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2673,7 +2674,7 @@ public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2786,7 +2787,7 @@ public TextComment(global::CppSharp.Parser.AST.TextComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2918,12 +2919,12 @@ public RawComment(global::CppSharp.Parser.AST.RawComment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3017,7 +3018,7 @@ public partial struct __Internal } private SourceLocation.__Internal __instance; - internal SourceLocation.__Internal __Instance => __instance; + internal ref SourceLocation.__Internal __Instance => ref __instance; internal static SourceLocation __CreateInstance(__IntPtr native, bool skipVTables = false) { @@ -3040,6 +3041,14 @@ private SourceLocation(void* native, bool skipVTables = false) : this() __instance = *(global::CppSharp.Parser.SourceLocation.__Internal*) native; } + public SourceLocation() + { + fixed (__Internal* __instancePtr = &__instance) + { + __Internal.ctor(new __IntPtr(__instancePtr)); + } + } + public SourceLocation(uint ID) : this() { @@ -3175,12 +3184,12 @@ public SourceRange() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3402,12 +3411,12 @@ public Type(global::CppSharp.Parser.AST.Type _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3543,12 +3552,12 @@ public TypeQualifiers() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3695,12 +3704,12 @@ public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4082,7 +4091,7 @@ public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4826,12 +4835,12 @@ public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4997,7 +5006,7 @@ public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializa partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5167,7 +5176,7 @@ public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.Dependent partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5313,7 +5322,7 @@ public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5688,7 +5697,7 @@ public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -6574,12 +6583,12 @@ public Declaration(global::CppSharp.Parser.AST.Declaration _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7147,7 +7156,7 @@ public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7554,7 +7563,7 @@ public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7693,7 +7702,7 @@ public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7813,7 +7822,7 @@ public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7946,7 +7955,7 @@ public Friend(global::CppSharp.Parser.AST.Friend _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8082,12 +8091,12 @@ public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8232,7 +8241,7 @@ public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8344,7 +8353,7 @@ public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8503,7 +8512,7 @@ public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8650,7 +8659,7 @@ public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObso partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8804,7 +8813,7 @@ public Parameter(global::CppSharp.Parser.AST.Parameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9047,7 +9056,7 @@ public Function(global::CppSharp.Parser.AST.Function _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9507,7 +9516,7 @@ public Method(global::CppSharp.Parser.AST.Method _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9878,7 +9887,7 @@ public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9985,7 +9994,7 @@ public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10189,7 +10198,7 @@ public Variable(global::CppSharp.Parser.AST.Variable _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10357,12 +10366,12 @@ public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10535,7 +10544,7 @@ public Field(global::CppSharp.Parser.AST.Field _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10708,7 +10717,7 @@ public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10819,12 +10828,12 @@ public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10989,12 +10998,12 @@ public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11140,12 +11149,12 @@ public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11317,12 +11326,12 @@ public LayoutField(global::CppSharp.Parser.AST.LayoutField other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11493,12 +11502,12 @@ public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11686,12 +11695,12 @@ public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12083,7 +12092,7 @@ public Class(global::CppSharp.Parser.AST.Class _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12504,7 +12513,7 @@ public Template(global::CppSharp.Parser.AST.Template _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12673,7 +12682,7 @@ public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12794,7 +12803,7 @@ public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12961,7 +12970,7 @@ public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplatePar partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13122,7 +13131,7 @@ public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13264,7 +13273,7 @@ public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParam partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13485,7 +13494,7 @@ public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13697,7 +13706,7 @@ public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpec partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13901,7 +13910,7 @@ public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTempl partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14037,7 +14046,7 @@ public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14208,12 +14217,12 @@ public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTempla public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14422,7 +14431,7 @@ public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14611,7 +14620,7 @@ public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpeciali partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14792,7 +14801,7 @@ public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplateP partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14910,7 +14919,7 @@ public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypena partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15040,7 +15049,7 @@ public Namespace(global::CppSharp.Parser.AST.Namespace _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15164,12 +15173,12 @@ public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15309,7 +15318,7 @@ public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15465,7 +15474,7 @@ public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15652,7 +15661,7 @@ public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15839,12 +15848,12 @@ public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16147,12 +16156,12 @@ public Stmt(global::CppSharp.Parser.AST.Stmt _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16324,7 +16333,7 @@ public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16607,7 +16616,7 @@ public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -18965,7 +18974,7 @@ public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19276,12 +19285,12 @@ public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19427,7 +19436,7 @@ public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19553,7 +19562,7 @@ public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20254,12 +20263,12 @@ public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20415,7 +20424,7 @@ public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -21278,12 +21287,12 @@ public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -22106,12 +22115,12 @@ public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -23859,7 +23868,7 @@ public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -25232,7 +25241,7 @@ public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26538,7 +26547,7 @@ public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26928,7 +26937,7 @@ public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -28811,12 +28820,12 @@ public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29067,12 +29076,12 @@ public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesig public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29177,12 +29186,12 @@ public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.Arr public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31345,7 +31354,7 @@ public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31522,7 +31531,7 @@ public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31674,7 +31683,7 @@ public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -32449,7 +32458,7 @@ public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -33365,7 +33374,7 @@ public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34171,7 +34180,7 @@ public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34713,7 +34722,7 @@ public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34849,7 +34858,7 @@ public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -35255,7 +35264,7 @@ public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -36397,12 +36406,12 @@ public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -37154,7 +37163,7 @@ public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConst partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -38662,12 +38671,12 @@ public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraStat public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -39754,12 +39763,12 @@ public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -40640,12 +40649,12 @@ public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41181,12 +41190,12 @@ public CppLinkerOptions(global::CppSharp.Parser.CppLinkerOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41380,12 +41389,12 @@ public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41594,12 +41603,12 @@ public ParserResult(global::CppSharp.Parser.ParserResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41805,12 +41814,12 @@ public ClangParser(global::CppSharp.Parser.ClangParser _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; 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 91785e9fd..55496aa49 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs @@ -16,6 +16,7 @@ [assembly:InternalsVisibleTo("CppSharp.CppParser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace Std { @@ -113,12 +114,12 @@ public Allocator() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -305,12 +306,12 @@ protected CharTraits(void* native, bool skipVTables = false) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -433,12 +434,12 @@ public BasicString() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; diff --git a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs index e8e7233f1..7664bbf6d 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs @@ -14,6 +14,7 @@ [assembly:InternalsVisibleTo("CppSharp.Parser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace CppSharp { @@ -187,12 +188,12 @@ public NativeLibrary(global::CppSharp.Parser.AST.NativeLibrary _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -378,12 +379,12 @@ public Comment(global::CppSharp.Parser.AST.Comment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -602,7 +603,7 @@ public FullComment(global::CppSharp.Parser.AST.FullComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -850,7 +851,7 @@ public ParagraphComment(global::CppSharp.Parser.AST.ParagraphComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1043,12 +1044,12 @@ public Argument(global::CppSharp.Parser.AST.BlockCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1151,7 +1152,7 @@ public BlockCommandComment(global::CppSharp.Parser.AST.BlockCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1323,7 +1324,7 @@ public ParamCommandComment(global::CppSharp.Parser.AST.ParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1462,7 +1463,7 @@ public TParamCommandComment(global::CppSharp.Parser.AST.TParamCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1589,7 +1590,7 @@ public VerbatimBlockLineComment(global::CppSharp.Parser.AST.VerbatimBlockLineCom partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1716,7 +1717,7 @@ public VerbatimBlockComment(global::CppSharp.Parser.AST.VerbatimBlockComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -1847,7 +1848,7 @@ public VerbatimLineComment(global::CppSharp.Parser.AST.VerbatimLineComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2018,12 +2019,12 @@ public Argument(global::CppSharp.Parser.AST.InlineCommandComment.Argument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2117,7 +2118,7 @@ public InlineCommandComment(global::CppSharp.Parser.AST.InlineCommandComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2416,12 +2417,12 @@ public Attribute(global::CppSharp.Parser.AST.HTMLStartTagComment.Attribute _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2529,7 +2530,7 @@ public HTMLStartTagComment(global::CppSharp.Parser.AST.HTMLStartTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2673,7 +2674,7 @@ public HTMLEndTagComment(global::CppSharp.Parser.AST.HTMLEndTagComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2786,7 +2787,7 @@ public TextComment(global::CppSharp.Parser.AST.TextComment _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -2918,12 +2919,12 @@ public RawComment(global::CppSharp.Parser.AST.RawComment _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3017,7 +3018,7 @@ public partial struct __Internal } private SourceLocation.__Internal __instance; - internal SourceLocation.__Internal __Instance => __instance; + internal ref SourceLocation.__Internal __Instance => ref __instance; internal static SourceLocation __CreateInstance(__IntPtr native, bool skipVTables = false) { @@ -3040,6 +3041,14 @@ private SourceLocation(void* native, bool skipVTables = false) : this() __instance = *(global::CppSharp.Parser.SourceLocation.__Internal*) native; } + public SourceLocation() + { + fixed (__Internal* __instancePtr = &__instance) + { + __Internal.ctor(new __IntPtr(__instancePtr)); + } + } + public SourceLocation(uint ID) : this() { @@ -3175,12 +3184,12 @@ public SourceRange() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3402,12 +3411,12 @@ public Type(global::CppSharp.Parser.AST.Type _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3543,12 +3552,12 @@ public TypeQualifiers() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -3695,12 +3704,12 @@ public QualifiedType(global::CppSharp.Parser.AST.QualifiedType _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4082,7 +4091,7 @@ public FunctionType(global::CppSharp.Parser.AST.FunctionType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4826,12 +4835,12 @@ public TemplateArgument(global::CppSharp.Parser.AST.TemplateArgument _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -4997,7 +5006,7 @@ public TemplateSpecializationType(global::CppSharp.Parser.AST.TemplateSpecializa partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5167,7 +5176,7 @@ public DependentTemplateSpecializationType(global::CppSharp.Parser.AST.Dependent partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5313,7 +5322,7 @@ public TemplateParameterType(global::CppSharp.Parser.AST.TemplateParameterType _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -5688,7 +5697,7 @@ public DependentNameType(global::CppSharp.Parser.AST.DependentNameType _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -6574,12 +6583,12 @@ public Declaration(global::CppSharp.Parser.AST.Declaration _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7147,7 +7156,7 @@ public DeclarationContext(global::CppSharp.Parser.AST.DeclarationContext _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7554,7 +7563,7 @@ public TypedefNameDecl(global::CppSharp.Parser.AST.TypedefNameDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7693,7 +7702,7 @@ public TypedefDecl(global::CppSharp.Parser.AST.TypedefDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7813,7 +7822,7 @@ public TypeAlias(global::CppSharp.Parser.AST.TypeAlias _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -7946,7 +7955,7 @@ public Friend(global::CppSharp.Parser.AST.Friend _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8082,12 +8091,12 @@ public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8232,7 +8241,7 @@ public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8344,7 +8353,7 @@ public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8503,7 +8512,7 @@ public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8650,7 +8659,7 @@ public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObso partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -8804,7 +8813,7 @@ public Parameter(global::CppSharp.Parser.AST.Parameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9047,7 +9056,7 @@ public Function(global::CppSharp.Parser.AST.Function _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9507,7 +9516,7 @@ public Method(global::CppSharp.Parser.AST.Method _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9879,7 +9888,7 @@ public Item(global::CppSharp.Parser.AST.Enumeration.Item _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -9986,7 +9995,7 @@ public Enumeration(global::CppSharp.Parser.AST.Enumeration _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10190,7 +10199,7 @@ public Variable(global::CppSharp.Parser.AST.Variable _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10358,12 +10367,12 @@ public BaseClassSpecifier(global::CppSharp.Parser.AST.BaseClassSpecifier _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10536,7 +10545,7 @@ public Field(global::CppSharp.Parser.AST.Field _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10709,7 +10718,7 @@ public AccessSpecifierDecl(global::CppSharp.Parser.AST.AccessSpecifierDecl _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10820,12 +10829,12 @@ public VTableComponent(global::CppSharp.Parser.AST.VTableComponent _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -10990,12 +10999,12 @@ public VTableLayout(global::CppSharp.Parser.AST.VTableLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11142,12 +11151,12 @@ public VFTableInfo(global::CppSharp.Parser.AST.VFTableInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11319,12 +11328,12 @@ public LayoutField(global::CppSharp.Parser.AST.LayoutField other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11495,12 +11504,12 @@ public LayoutBase(global::CppSharp.Parser.AST.LayoutBase other) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -11688,12 +11697,12 @@ public ClassLayout(global::CppSharp.Parser.AST.ClassLayout _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12085,7 +12094,7 @@ public Class(global::CppSharp.Parser.AST.Class _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12506,7 +12515,7 @@ public Template(global::CppSharp.Parser.AST.Template _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12675,7 +12684,7 @@ public TypeAliasTemplate(global::CppSharp.Parser.AST.TypeAliasTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12796,7 +12805,7 @@ public TemplateParameter(global::CppSharp.Parser.AST.TemplateParameter _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -12963,7 +12972,7 @@ public TemplateTemplateParameter(global::CppSharp.Parser.AST.TemplateTemplatePar partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13124,7 +13133,7 @@ public TypeTemplateParameter(global::CppSharp.Parser.AST.TypeTemplateParameter _ partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13266,7 +13275,7 @@ public NonTypeTemplateParameter(global::CppSharp.Parser.AST.NonTypeTemplateParam partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13487,7 +13496,7 @@ public ClassTemplate(global::CppSharp.Parser.AST.ClassTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13699,7 +13708,7 @@ public ClassTemplateSpecialization(global::CppSharp.Parser.AST.ClassTemplateSpec partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -13903,7 +13912,7 @@ public ClassTemplatePartialSpecialization(global::CppSharp.Parser.AST.ClassTempl partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14039,7 +14048,7 @@ public FunctionTemplate(global::CppSharp.Parser.AST.FunctionTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14210,12 +14219,12 @@ public FunctionTemplateSpecialization(global::CppSharp.Parser.AST.FunctionTempla public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14424,7 +14433,7 @@ public VarTemplate(global::CppSharp.Parser.AST.VarTemplate _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14613,7 +14622,7 @@ public VarTemplateSpecialization(global::CppSharp.Parser.AST.VarTemplateSpeciali partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14794,7 +14803,7 @@ public VarTemplatePartialSpecialization(global::CppSharp.Parser.AST.VarTemplateP partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -14912,7 +14921,7 @@ public UnresolvedUsingTypename(global::CppSharp.Parser.AST.UnresolvedUsingTypena partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15043,7 +15052,7 @@ public Namespace(global::CppSharp.Parser.AST.Namespace _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15167,12 +15176,12 @@ public PreprocessedEntity(global::CppSharp.Parser.AST.PreprocessedEntity _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15312,7 +15321,7 @@ public MacroDefinition(global::CppSharp.Parser.AST.MacroDefinition _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15468,7 +15477,7 @@ public MacroExpansion(global::CppSharp.Parser.AST.MacroExpansion _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15656,7 +15665,7 @@ public TranslationUnit(global::CppSharp.Parser.AST.TranslationUnit _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -15843,12 +15852,12 @@ public ASTContext(global::CppSharp.Parser.AST.ASTContext _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16151,12 +16160,12 @@ public Stmt(global::CppSharp.Parser.AST.Stmt _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16328,7 +16337,7 @@ public DeclStmt(global::CppSharp.Parser.AST.DeclStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -16611,7 +16620,7 @@ public CompoundStmt(global::CppSharp.Parser.AST.CompoundStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -18969,7 +18978,7 @@ public AsmStmt(global::CppSharp.Parser.AST.AsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19280,12 +19289,12 @@ public AsmStringPiece(global::CppSharp.Parser.AST.GCCAsmStmt.AsmStringPiece _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19431,7 +19440,7 @@ public GCCAsmStmt(global::CppSharp.Parser.AST.GCCAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -19557,7 +19566,7 @@ public MSAsmStmt(global::CppSharp.Parser.AST.MSAsmStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20258,12 +20267,12 @@ public Capture(global::CppSharp.Parser.AST.CapturedStmt.Capture _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -20419,7 +20428,7 @@ public CapturedStmt(global::CppSharp.Parser.AST.CapturedStmt _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -21282,12 +21291,12 @@ public CtorArgs(global::CppSharp.Parser.AST.CoroutineBodyStmt.CtorArgs _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -22110,12 +22119,12 @@ public Classification(global::CppSharp.Parser.AST.Expr.Classification _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -23869,7 +23878,7 @@ public StringLiteral(global::CppSharp.Parser.AST.StringLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -25246,7 +25255,7 @@ public CallExpr(global::CppSharp.Parser.AST.CallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26557,7 +26566,7 @@ public BinaryOperator(global::CppSharp.Parser.AST.BinaryOperator _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -26948,7 +26957,7 @@ public CompoundAssignOperator(global::CppSharp.Parser.AST.CompoundAssignOperator partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -28836,12 +28845,12 @@ public Designator(global::CppSharp.Parser.AST.DesignatedInitExpr.Designator _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29092,12 +29101,12 @@ public FieldDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.FieldDesig public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -29202,12 +29211,12 @@ public ArrayOrRangeDesignator(global::CppSharp.Parser.AST.DesignatedInitExpr.Arr public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31373,7 +31382,7 @@ public CXXOperatorCallExpr(global::CppSharp.Parser.AST.CXXOperatorCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31550,7 +31559,7 @@ public CXXMemberCallExpr(global::CppSharp.Parser.AST.CXXMemberCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -31702,7 +31711,7 @@ public CUDAKernelCallExpr(global::CppSharp.Parser.AST.CUDAKernelCallExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -32482,7 +32491,7 @@ public UserDefinedLiteral(global::CppSharp.Parser.AST.UserDefinedLiteral _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -33402,7 +33411,7 @@ public CXXUuidofExpr(global::CppSharp.Parser.AST.CXXUuidofExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34209,7 +34218,7 @@ public CXXConstructExpr(global::CppSharp.Parser.AST.CXXConstructExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34753,7 +34762,7 @@ public CXXTemporaryObjectExpr(global::CppSharp.Parser.AST.CXXTemporaryObjectExpr partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -34889,7 +34898,7 @@ public LambdaExpr(global::CppSharp.Parser.AST.LambdaExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -35296,7 +35305,7 @@ public CXXNewExpr(global::CppSharp.Parser.AST.CXXNewExpr _0) partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -36441,12 +36450,12 @@ public FindResult(global::CppSharp.Parser.AST.OverloadExpr.FindResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -37201,7 +37210,7 @@ public CXXUnresolvedConstructExpr(global::CppSharp.Parser.AST.CXXUnresolvedConst partial void DisposePartial(bool disposing); - internal protected override void Dispose(bool disposing, bool callNativeDtor ) + internal protected override void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -38716,12 +38725,12 @@ public ExtraState(global::CppSharp.Parser.AST.MaterializeTemporaryExpr.ExtraStat public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -39811,12 +39820,12 @@ public ParserTargetInfo(global::CppSharp.Parser.ParserTargetInfo _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -40697,12 +40706,12 @@ public CppParserOptions(global::CppSharp.Parser.CppParserOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41238,12 +41247,12 @@ public CppLinkerOptions(global::CppSharp.Parser.CppLinkerOptions _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41437,12 +41446,12 @@ public ParserDiagnostic(global::CppSharp.Parser.ParserDiagnostic _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41651,12 +41660,12 @@ public ParserResult(global::CppSharp.Parser.ParserResult _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -41862,12 +41871,12 @@ public ClangParser(global::CppSharp.Parser.ClangParser _0) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; diff --git a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs index 8a426d693..a34a2d26e 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs @@ -16,6 +16,7 @@ [assembly:InternalsVisibleTo("CppSharp.CppParser")] #pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS9084 // Struct member returns 'this' or other instance members by reference namespace Std { @@ -160,17 +161,26 @@ public Allocator() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; NativeToManagedMap.TryRemove(__Instance, out _); DisposePartial(disposing); + if (callNativeDtor) + { + var ___Ty = typeof(_Ty); + if (___Ty.IsAssignableFrom(typeof(sbyte))) + { + return; + } + throw new ArgumentOutOfRangeException("_Ty", string.Join(", ", new[] { typeof(_Ty).FullName }), "global::Std.Allocator<_Ty> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: ."); + } if (__ownsNativeInstance) Marshal.FreeHGlobal(__Instance); __Instance = IntPtr.Zero; @@ -299,12 +309,12 @@ public BasicString() public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return; @@ -431,12 +441,12 @@ protected CharTraits(void* native, bool skipVTables = false) public void Dispose() { - Dispose(disposing: true, callNativeDtor : __ownsNativeInstance ); + Dispose(disposing: true, callNativeDtor: __ownsNativeInstance); } partial void DisposePartial(bool disposing); - internal protected virtual void Dispose(bool disposing, bool callNativeDtor ) + internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { if (__Instance == IntPtr.Zero) return;