diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index 1b33cdb8c..45b6f6afb 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -214,6 +214,8 @@ DependentNameType::DependentNameType() : Type(TypeKind::DependentName) {} DependentNameType::~DependentNameType() {} +DEF_STRING(DependentNameType, Identifier) + PackExpansionType::PackExpansionType() : Type(TypeKind::PackExpansion) {} UnaryTransformType::UnaryTransformType() : Type(TypeKind::UnaryTransform) {} @@ -242,7 +244,7 @@ LayoutField::LayoutField() : offset(0), fieldPtr(0) {} LayoutField::LayoutField(const LayoutField & other) : offset(other.offset) - , name(other.name) + , Name(other.Name) , qualifiedType(other.qualifiedType) , fieldPtr(other.fieldPtr) { @@ -250,6 +252,8 @@ LayoutField::LayoutField(const LayoutField & other) LayoutField::~LayoutField() {} +DEF_STRING(LayoutField, Name) + LayoutBase::LayoutBase() : offset(0), _class(0) {} LayoutBase::LayoutBase(const LayoutBase& other) : offset(other.offset), _class(other._class) {} @@ -293,9 +297,9 @@ Declaration::Declaration(const Declaration& rhs) , location(rhs.location.ID) , lineNumberStart(rhs.lineNumberStart) , lineNumberEnd(rhs.lineNumberEnd) - , name(rhs.name) + , Name(rhs.Name) , comment(rhs.comment) - , debugText(rhs.debugText) + , DebugText(rhs.DebugText) , isIncomplete(rhs.isIncomplete) , isDependent(rhs.isDependent) , isImplicit(rhs.isImplicit) @@ -312,6 +316,9 @@ Declaration::~Declaration() { } +DEF_STRING(Declaration, Name) +DEF_STRING(Declaration, USR) +DEF_STRING(Declaration, DebugText) DEF_VECTOR(Declaration, PreprocessedEntity*, PreprocessedEntities) DEF_VECTOR(Declaration, Declaration*, Redeclarations) @@ -353,7 +360,7 @@ DeclarationContext::FindNamespace(const std::vector& Namespaces) auto childNamespace = std::find_if(currentNamespace->Namespaces.begin(), currentNamespace->Namespaces.end(), [&](CppSharp::CppParser::AST::Namespace* ns) { - return ns->name == _namespace; + return ns->Name == _namespace; }); if (childNamespace == currentNamespace->Namespaces.end()) @@ -372,7 +379,7 @@ Namespace* DeclarationContext::FindCreateNamespace(const std::string& Name) if (!_namespace) { _namespace = new Namespace(); - _namespace->name = Name; + _namespace->Name = Name; _namespace->_namespace = this; Namespaces.push_back(_namespace); @@ -393,7 +400,7 @@ Class* DeclarationContext::FindClass(const void* OriginalPtr, auto _class = std::find_if(Classes.begin(), Classes.end(), [OriginalPtr, Name, IsComplete](Class* klass) { return (OriginalPtr && klass->originalPtr == OriginalPtr) || - (klass->name == Name && klass->isIncomplete == !IsComplete); }); + (klass->Name == Name && klass->isIncomplete == !IsComplete); }); return _class != Classes.end() ? *_class : nullptr; } @@ -413,7 +420,7 @@ Class* DeclarationContext::FindClass(const void* OriginalPtr, Class* DeclarationContext::CreateClass(const std::string& Name, bool IsComplete) { auto _class = new Class(); - _class->name = Name; + _class->Name = Name; _class->_namespace = this; _class->isIncomplete = !IsComplete; @@ -457,7 +464,7 @@ Enumeration* DeclarationContext::FindEnum(const std::string& Name, bool Create) if (entries.size() == 1) { auto foundEnum = std::find_if(Enums.begin(), Enums.end(), - [&](Enumeration* _enum) { return _enum->name == Name; }); + [&](Enumeration* _enum) { return _enum->Name == Name; }); if (foundEnum != Enums.end()) return *foundEnum; @@ -466,7 +473,7 @@ Enumeration* DeclarationContext::FindEnum(const std::string& Name, bool Create) return nullptr; auto _enum = new Enumeration(); - _enum->name = Name; + _enum->Name = Name; _enum->_namespace = this; Enums.push_back(_enum); return _enum; @@ -525,7 +532,7 @@ Function* DeclarationContext::FindFunction(const std::string& USR) TypedefDecl* DeclarationContext::FindTypedef(const std::string& Name, bool Create) { auto foundTypedef = std::find_if(Typedefs.begin(), Typedefs.end(), - [&](TypedefDecl* tdef) { return tdef->name == Name; }); + [&](TypedefDecl* tdef) { return tdef->Name == Name; }); if (foundTypedef != Typedefs.end()) return *foundTypedef; @@ -534,7 +541,7 @@ TypedefDecl* DeclarationContext::FindTypedef(const std::string& Name, bool Creat return nullptr; auto tdef = new TypedefDecl(); - tdef->name = Name; + tdef->Name = Name; tdef->_namespace = this; return tdef; @@ -543,7 +550,7 @@ TypedefDecl* DeclarationContext::FindTypedef(const std::string& Name, bool Creat TypeAlias* DeclarationContext::FindTypeAlias(const std::string& Name, bool Create) { auto foundTypeAlias = std::find_if(TypeAliases.begin(), TypeAliases.end(), - [&](TypeAlias* talias) { return talias->name == Name; }); + [&](TypeAlias* talias) { return talias->Name == Name; }); if (foundTypeAlias != TypeAliases.end()) return *foundTypeAlias; @@ -552,7 +559,7 @@ TypeAlias* DeclarationContext::FindTypeAlias(const std::string& Name, bool Creat return nullptr; auto talias = new TypeAlias(); - talias->name = Name; + talias->Name = Name; talias->_namespace = this; return talias; @@ -596,13 +603,17 @@ Friend::Friend() : CppSharp::CppParser::AST::Declaration(DeclarationKind::Friend Friend::~Friend() {} -StatementObsolete::StatementObsolete(const std::string& str, StatementClassObsolete stmtClass, Declaration* decl) : string(str), _class(stmtClass), decl(decl) {} +DEF_STRING(StatementObsolete, String) + +StatementObsolete::StatementObsolete(const std::string& str, StatementClassObsolete stmtClass, Declaration* decl) : String(str), _class(stmtClass), decl(decl) {} ExpressionObsolete::ExpressionObsolete(const std::string& str, StatementClassObsolete stmtClass, Declaration* decl) : StatementObsolete(str, stmtClass, decl) {} +DEF_STRING(BinaryOperatorObsolete, OpcodeStr) + BinaryOperatorObsolete::BinaryOperatorObsolete(const std::string& str, ExpressionObsolete* lhs, ExpressionObsolete* rhs, const std::string& opcodeStr) - : ExpressionObsolete(str, StatementClassObsolete::BinaryOperator), LHS(lhs), RHS(rhs), opcodeStr(opcodeStr) {} + : ExpressionObsolete(str, StatementClassObsolete::BinaryOperator), LHS(lhs), RHS(rhs), OpcodeStr(opcodeStr) {} BinaryOperatorObsolete::~BinaryOperatorObsolete() { @@ -610,8 +621,7 @@ BinaryOperatorObsolete::~BinaryOperatorObsolete() deleteExpression(RHS); } - -CallExprObsolete::CallExprObsolete(const std::string& str, Declaration* decl) +CallExprObsolete::CallExprObsolete(const char* str, Declaration* decl) : ExpressionObsolete(str, StatementClassObsolete::CallExprClass, decl) {} CallExprObsolete::~CallExprObsolete() @@ -622,7 +632,7 @@ CallExprObsolete::~CallExprObsolete() DEF_VECTOR(CallExprObsolete, ExpressionObsolete*, Arguments) -CXXConstructExprObsolete::CXXConstructExprObsolete(const std::string& str, Declaration* decl) +CXXConstructExprObsolete::CXXConstructExprObsolete(const char* str, Declaration* decl) : ExpressionObsolete(str, StatementClassObsolete::CXXConstructExprClass, decl) {} CXXConstructExprObsolete::~CXXConstructExprObsolete() @@ -666,6 +676,10 @@ Function::Function() } Function::~Function() {} + +DEF_STRING(Function, Mangled) +DEF_STRING(Function, Signature) +DEF_STRING(Function, Body) DEF_VECTOR(Function, Parameter*, Parameters) Method::Method() @@ -699,14 +713,16 @@ DEF_VECTOR(Enumeration, Enumeration::Item*, Items) Enumeration::Item::Item() : Declaration(DeclarationKind::EnumerationItem) {} Enumeration::Item::Item(const Item& rhs) : Declaration(rhs), - expression(rhs.expression), value(rhs.value) {} + Expression(rhs.Expression), value(rhs.value) {} Enumeration::Item::~Item() {} +DEF_STRING(Enumeration::Item, Expression) + Enumeration::Item* Enumeration::FindItemByName(const std::string& Name) { auto foundEnumItem = std::find_if(Items.begin(), Items.end(), - [&](Item* _item) { return _item->name == Name; }); + [&](Item* _item) { return _item->Name == Name; }); if (foundEnumItem != Items.end()) return *foundEnumItem; return nullptr; @@ -717,6 +733,8 @@ Variable::Variable() : Declaration(DeclarationKind::Variable), Variable::~Variable() {} +DEF_STRING(Variable, Mangled) + BaseClassSpecifier::BaseClassSpecifier() : type(0), offset(0) {} Field::Field() : Declaration(DeclarationKind::Field), _class(0), @@ -891,13 +909,21 @@ MacroDefinition::MacroDefinition() MacroDefinition::~MacroDefinition() {} +DEF_STRING(MacroDefinition, Name) +DEF_STRING(MacroDefinition, Expression) + MacroExpansion::MacroExpansion() : definition(0) { kind = DeclarationKind::MacroExpansion; } MacroExpansion::~MacroExpansion() {} +DEF_STRING(MacroExpansion, Name) +DEF_STRING(MacroExpansion, Text) + TranslationUnit::TranslationUnit() { kind = DeclarationKind::TranslationUnit; } TranslationUnit::~TranslationUnit() {} + +DEF_STRING(TranslationUnit, FileName) DEF_VECTOR(TranslationUnit, MacroDefinition*, Macros) NativeLibrary::NativeLibrary() @@ -906,6 +932,7 @@ NativeLibrary::NativeLibrary() NativeLibrary::~NativeLibrary() {} // NativeLibrary +DEF_STRING(NativeLibrary, FileName) DEF_VECTOR_STRING(NativeLibrary, Symbols) DEF_VECTOR_STRING(NativeLibrary, Dependencies) @@ -941,14 +968,14 @@ TranslationUnit* ASTContext::FindOrCreateModule(std::string File) auto existingUnit = std::find_if(TranslationUnits.begin(), TranslationUnits.end(), [&](TranslationUnit* unit) { - return unit && unit->fileName == normalizedFile; + return unit && unit->FileName == normalizedFile; }); if (existingUnit != TranslationUnits.end()) return *existingUnit; auto unit = new TranslationUnit(); - unit->fileName = normalizedFile; + unit->FileName = normalizedFile; TranslationUnits.push_back(unit); return unit; @@ -957,6 +984,9 @@ TranslationUnit* ASTContext::FindOrCreateModule(std::string File) // Comments Comment::Comment(CommentKind kind) : kind(kind) {} +DEF_STRING(RawComment, Text) +DEF_STRING(RawComment, BriefText) + RawComment::RawComment() : fullCommentBlock(0) {} RawComment::~RawComment() @@ -1007,10 +1037,12 @@ BlockContentComment::BlockContentComment(CommentKind Kind) : Comment(Kind) {} BlockCommandComment::Argument::Argument() {} -BlockCommandComment::Argument::Argument(const Argument& rhs) : text(rhs.text) {} +BlockCommandComment::Argument::Argument(const Argument& rhs) : Text(rhs.Text) {} BlockCommandComment::Argument::~Argument() {} +DEF_STRING(BlockCommandComment::Argument, Text) + BlockCommandComment::BlockCommandComment() : BlockContentComment(CommentKind::BlockCommandComment), commandId(0), paragraphComment(0) {} BlockCommandComment::BlockCommandComment(CommentKind Kind) : BlockContentComment(Kind), commandId(0), paragraphComment(0) {} @@ -1028,6 +1060,8 @@ TParamCommandComment::TParamCommandComment() : BlockCommandComment(CommentKind:: DEF_VECTOR(TParamCommandComment, unsigned, Position) +DEF_STRING(VerbatimBlockLineComment, Text) + VerbatimBlockComment::VerbatimBlockComment() : BlockCommandComment(CommentKind::VerbatimBlockComment) {} VerbatimBlockComment::~VerbatimBlockComment() @@ -1036,10 +1070,14 @@ VerbatimBlockComment::~VerbatimBlockComment() delete line; } +VerbatimBlockLineComment::VerbatimBlockLineComment() : Comment(CommentKind::VerbatimBlockLineComment) {} + DEF_VECTOR(VerbatimBlockComment, VerbatimBlockLineComment*, Lines) VerbatimLineComment::VerbatimLineComment() : BlockCommandComment(CommentKind::VerbatimLineComment) {} +DEF_STRING(VerbatimLineComment, Text) + ParagraphComment::ParagraphComment() : BlockContentComment(CommentKind::ParagraphComment), isWhitespace(false) {} ParagraphComment::~ParagraphComment() @@ -1079,7 +1117,11 @@ HTMLTagComment::HTMLTagComment(CommentKind Kind) : InlineContentComment(Kind) {} HTMLStartTagComment::Attribute::Attribute() {} -HTMLStartTagComment::Attribute::Attribute(const Attribute& rhs) : name(rhs.name), value(rhs.value) {} +HTMLStartTagComment::Attribute::Attribute(const Attribute& rhs) : Name(rhs.Name), Value(rhs.Value) {} + +DEF_STRING(HTMLStartTagComment::Attribute, Name) + +DEF_STRING(HTMLStartTagComment::Attribute, Value) HTMLStartTagComment::Attribute::~Attribute() {} @@ -1087,17 +1129,25 @@ HTMLStartTagComment::HTMLStartTagComment() : HTMLTagComment(CommentKind::HTMLSta DEF_VECTOR(HTMLStartTagComment, HTMLStartTagComment::Attribute, Attributes) +DEF_STRING(HTMLStartTagComment, TagName) + HTMLEndTagComment::HTMLEndTagComment() : HTMLTagComment(CommentKind::HTMLEndTagComment) {} +DEF_STRING(HTMLEndTagComment, TagName) + InlineContentComment::InlineContentComment() : Comment(CommentKind::InlineContentComment), hasTrailingNewline(false) {} InlineContentComment::InlineContentComment(CommentKind Kind) : Comment(Kind), hasTrailingNewline(false) {} TextComment::TextComment() : InlineContentComment(CommentKind::TextComment) {} +DEF_STRING(TextComment, Text) + InlineCommandComment::Argument::Argument() {} -InlineCommandComment::Argument::Argument(const Argument& rhs) : text(rhs.text) {} +InlineCommandComment::Argument::Argument(const Argument& rhs) : Text(rhs.Text) {} + +DEF_STRING(InlineCommandComment::Argument, Text) InlineCommandComment::Argument::~Argument() {} @@ -1106,6 +1156,4 @@ InlineCommandComment::InlineCommandComment() DEF_VECTOR(InlineCommandComment, InlineCommandComment::Argument, Arguments) -VerbatimBlockLineComment::VerbatimBlockLineComment() : Comment(CommentKind::VerbatimBlockLineComment) {} - } } } \ No newline at end of file diff --git a/src/CppParser/AST.h b/src/CppParser/AST.h index c8a3be1cb..5dc305239 100644 --- a/src/CppParser/AST.h +++ b/src/CppParser/AST.h @@ -31,7 +31,7 @@ class CS_API NativeLibrary public: NativeLibrary(); ~NativeLibrary(); - std::string fileName; + STRING(FileName) ArchType archType; VECTOR_STRING(Symbols) VECTOR_STRING(Dependencies) @@ -108,7 +108,7 @@ class CS_API BlockCommandComment : public BlockContentComment Argument(); Argument(const Argument&); ~Argument(); - std::string text; + STRING(Text) }; BlockCommandComment(); BlockCommandComment(CommentKind Kind); @@ -143,7 +143,7 @@ class CS_API VerbatimBlockLineComment : public Comment { public: VerbatimBlockLineComment(); - std::string text; + STRING(Text) }; class CS_API VerbatimBlockComment : public BlockCommandComment @@ -158,7 +158,7 @@ class CS_API VerbatimLineComment : public BlockCommandComment { public: VerbatimLineComment(); - std::string text; + STRING(Text) }; class CS_API InlineCommandComment : public InlineContentComment @@ -178,7 +178,7 @@ class CS_API InlineCommandComment : public InlineContentComment Argument(); Argument(const Argument&); ~Argument(); - std::string text; + STRING(Text) }; InlineCommandComment(); unsigned commandId; @@ -202,11 +202,11 @@ class CS_API HTMLStartTagComment : public HTMLTagComment Attribute(); Attribute(const Attribute&); ~Attribute(); - std::string name; - std::string value; + STRING(Name) + STRING(Value) }; HTMLStartTagComment(); - std::string tagName; + STRING(TagName) VECTOR(Attribute, Attributes) }; @@ -214,14 +214,14 @@ class CS_API HTMLEndTagComment : public HTMLTagComment { public: HTMLEndTagComment(); - std::string tagName; + STRING(TagName) }; class CS_API TextComment : public InlineContentComment { public: TextComment(); - std::string text; + STRING(Text) }; enum class RawCommentKind @@ -242,8 +242,8 @@ class CS_API RawComment RawComment(); ~RawComment(); RawCommentKind kind; - std::string text; - std::string briefText; + STRING(Text) + STRING(BriefText) FullComment* fullCommentBlock; }; diff --git a/src/CppParser/Bindings/CSharp/arm64-apple-darwin/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/arm64-apple-darwin/CppSharp.CppParser.cs index 6a7da066b..898bdeb00 100644 --- a/src/CppParser/Bindings/CSharp/arm64-apple-darwin/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/arm64-apple-darwin/CppSharp.CppParser.cs @@ -62,19 +62,12 @@ public enum ArchType public unsafe partial class NativeLibrary : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; internal global::CppSharp.Parser.AST.ArchType archType; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Symbols; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Dependencies; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -104,6 +97,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary17clearDependenciesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearDependencies(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary15getSymbolsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSymbolsCount(__IntPtr __instance); @@ -245,30 +244,30 @@ public void ClearDependencies() __Internal.ClearDependencies(__Instance); } - public string FileName + public global::CppSharp.Parser.AST.ArchType ArchType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->archType; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->archType = value; } } - public global::CppSharp.Parser.AST.ArchType ArchType + public string FileName { get { - return ((__Internal*)__Instance)->archType; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->archType = value; + __Internal.SetFileName(__Instance, value); } } @@ -293,10 +292,9 @@ public uint DependenciesCount public unsafe partial class Comment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7CommentC2ENS1_11CommentKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -424,10 +422,9 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BlockContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -518,13 +515,10 @@ public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) public unsafe partial class FullComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S0_ Blocks; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11FullCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -661,13 +655,10 @@ public uint BlocksCount public unsafe partial class InlineContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -771,16 +762,11 @@ public bool HasTrailingNewline public unsafe partial class ParagraphComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte isWhitespace; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S0_ Content; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ParagraphCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -930,19 +916,12 @@ public uint ContentCount public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -972,11 +951,10 @@ public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.Bl public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -986,6 +964,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -1094,13 +1078,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -1259,25 +1243,14 @@ public uint ArgumentsCount public unsafe partial class ParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.ParamCommandComment.PassDirection direction; - - [FieldOffset(44)] internal uint paramIndex; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1405,22 +1378,13 @@ public uint ParamIndex public unsafe partial class TParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector__i___N_std_N___1_S_allocator__i Position; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20TParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1556,14 +1520,11 @@ public uint PositionCount public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -1573,6 +1534,12 @@ public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.A [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimBlockLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1658,35 +1625,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class VerbatimBlockComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S0_ Lines; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20VerbatimBlockCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1823,23 +1781,14 @@ public uint LinesCount public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -1849,6 +1798,12 @@ public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.Bl [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1934,35 +1889,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class InlineCommandComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] internal uint commandId; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.InlineCommandComment.RenderKind commentRenderKind; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1998,11 +1944,10 @@ public enum RenderKind : uint public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -2012,6 +1957,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2120,13 +2071,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -2270,13 +2221,10 @@ public uint ArgumentsCount public unsafe partial class HTMLTagComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14HTMLTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2367,19 +2315,12 @@ public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C tagName; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TagName; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S0_ Attributes; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2400,20 +2341,23 @@ public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HT [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment15clearAttributesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearAttributes(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment18getAttributesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetAttributesCount(__IntPtr __instance); } public unsafe partial class Attribute : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C value; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -2423,6 +2367,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8getValueEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetValue(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8setValueEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetValue(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2531,13 +2487,13 @@ public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + __Internal.SetName(__Instance, value); } } @@ -2545,13 +2501,13 @@ public string Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->value)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetValue(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->value), value); + __Internal.SetValue(__Instance, value); } } } @@ -2661,13 +2617,13 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } @@ -2683,17 +2639,12 @@ public uint AttributesCount public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C tagName; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TagName; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -2703,6 +2654,12 @@ public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTML [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new HTMLEndTagComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2788,30 +2745,25 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } } public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -2821,6 +2773,12 @@ public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineCont [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new TextComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2906,32 +2864,25 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class RawComment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.RawCommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C briefText; - - [FieldOffset(56)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C BriefText; internal __IntPtr fullCommentBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2942,6 +2893,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12getBriefTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBriefText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12setBriefTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBriefText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -3059,45 +3022,45 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) } } - public string Text + public global::CppSharp.Parser.AST.FullComment FullCommentBlock { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; } } - public string BriefText + public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->briefText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->briefText), value); + __Internal.SetText(__Instance, value); } } - public global::CppSharp.Parser.AST.FullComment FullCommentBlock + public string BriefText { get { - var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); - return __result0; + var ___ret = __Internal.GetBriefText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetBriefText(__Instance, value); } } } @@ -3111,10 +3074,9 @@ namespace Parser { public unsafe partial struct SourceLocation { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal uint ID; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser14SourceLocationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3200,13 +3162,10 @@ public uint ID public unsafe partial class SourceRange : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11SourceRangeC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -3427,13 +3386,10 @@ public enum ExceptionSpecType public unsafe partial class Type : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4TypeC2ENS1_8TypeKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -3577,16 +3533,11 @@ public bool IsDependent public unsafe partial class TypeQualifiers : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 3)] + [StructLayout(LayoutKind.Sequential, Size = 3)] public partial struct __Internal { - [FieldOffset(0)] internal byte isConst; - - [FieldOffset(1)] internal byte isVolatile; - - [FieldOffset(2)] internal byte isRestrict; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14TypeQualifiersC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] @@ -3731,13 +3682,10 @@ public bool IsRestrict public unsafe partial class QualifiedType : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr type; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.TypeQualifiers.__Internal qualifiers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13QualifiedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3876,16 +3824,11 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TagType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7TagTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3976,25 +3919,14 @@ public TagType(global::CppSharp.Parser.AST.TagType _0) public unsafe partial class ArrayType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.ArrayType.ArraySize sizeType; - - [FieldOffset(32)] internal long size; - - [FieldOffset(40)] internal long elementSize; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ArrayTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4133,25 +4065,14 @@ public long ElementSize public unsafe partial class FunctionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(28)] internal global::CppSharp.Parser.AST.ExceptionSpecType exceptionSpecType; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12FunctionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4329,19 +4250,12 @@ public uint ParametersCount public unsafe partial class PointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedPointee; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.PointerType.TypeModifier modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11PointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4454,16 +4368,11 @@ public PointerType(global::CppSharp.Parser.AST.PointerType _0) public unsafe partial class MemberPointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MemberPointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4555,16 +4464,11 @@ public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) public unsafe partial class TypedefType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4655,19 +4559,12 @@ public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) public unsafe partial class AttributedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal modified; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal equivalent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4774,22 +4671,13 @@ public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) public unsafe partial class DecayedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal decayed; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal original; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DecayedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4911,19 +4799,12 @@ public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) public unsafe partial class TemplateArgument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TemplateArgument.ArgumentKind kind; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(24)] internal __IntPtr declaration; - - [FieldOffset(32)] internal long integral; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16TemplateArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5100,22 +4981,13 @@ public long Integral public unsafe partial class TemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(32)] internal __IntPtr _template; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26TemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5280,19 +5152,12 @@ public uint ArgumentsCount public unsafe partial class DependentTemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST35DependentTemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5443,25 +5308,14 @@ public uint ArgumentsCount public unsafe partial class TemplateParameterType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr parameter; - - [FieldOffset(16)] internal uint depth; - - [FieldOffset(20)] internal uint index; - - [FieldOffset(24)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TemplateParameterTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5609,19 +5463,12 @@ public bool IsParameterPack public unsafe partial class TemplateParameterSubstitutionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal replacement; - - [FieldOffset(24)] internal __IntPtr replacedParameter; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST33TemplateParameterSubstitutionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5727,19 +5574,12 @@ public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplatePar public unsafe partial class InjectedClassNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal injectedSpecializationType; - - [FieldOffset(24)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21InjectedClassNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5845,20 +5685,13 @@ public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifier; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C identifier; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Identifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -5868,6 +5701,12 @@ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13getIdentifierEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetIdentifier(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13setIdentifierEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetIdentifier(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new DependentNameType __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -5968,26 +5807,23 @@ public string Identifier { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->identifier)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetIdentifier(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->identifier), value); + __Internal.SetIdentifier(__Instance, value); } } } public unsafe partial class PackExpansionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6064,19 +5900,12 @@ public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) public unsafe partial class UnaryTransformType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UnaryTransformTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6183,16 +6012,11 @@ public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) public unsafe partial class UnresolvedUsingType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19UnresolvedUsingTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6283,19 +6107,12 @@ public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) public unsafe partial class VectorType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal elementType; - - [FieldOffset(24)] internal uint numElements; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10VectorTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6400,16 +6217,11 @@ public uint NumElements public unsafe partial class BuiltinType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.PrimitiveType type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11BuiltinTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6706,73 +6518,30 @@ public enum VTableComponentKind public unsafe partial class Declaration : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclarationC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -6802,6 +6571,24 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration19clearRedeclarationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearRedeclarations(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6getUSREv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUSR(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6setUSREPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUSR(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12getDebugTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetDebugText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12setDebugTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetDebugText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration28getPreprocessedEntitiesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetPreprocessedEntitiesCount(__IntPtr __instance); @@ -7063,164 +6850,164 @@ public int LineNumberEnd } } - public string Name + public bool IsIncomplete { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isIncomplete != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); } } - public string USR + public bool IsDependent { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->USR)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isDependent != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->USR), value); + ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); } } - public string DebugText + public bool IsImplicit { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->debugText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isImplicit != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->debugText), value); + ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); } } - public bool IsIncomplete + public bool IsInvalid { get { - return ((__Internal*)__Instance)->isIncomplete != 0; + return ((__Internal*)__Instance)->isInvalid != 0; } set { - ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); } } - public bool IsDependent + public bool IsDeprecated { get { - return ((__Internal*)__Instance)->isDependent != 0; + return ((__Internal*)__Instance)->isDeprecated != 0; } set { - ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); } } - public bool IsImplicit + public global::CppSharp.Parser.AST.Declaration CompleteDeclaration { get { - return ((__Internal*)__Instance)->isImplicit != 0; + var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + return __result0; } set { - ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; } } - public bool IsInvalid + public uint DefinitionOrder { get { - return ((__Internal*)__Instance)->isInvalid != 0; + return ((__Internal*)__Instance)->definitionOrder; } set { - ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->definitionOrder = value; } } - public bool IsDeprecated + public __IntPtr OriginalPtr { get { - return ((__Internal*)__Instance)->isDeprecated != 0; + return ((__Internal*)__Instance)->originalPtr; } set { - ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; } } - public global::CppSharp.Parser.AST.Declaration CompleteDeclaration + public global::CppSharp.Parser.AST.RawComment Comment { get { - var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); return __result0; } set { - ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; + ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; } } - public uint DefinitionOrder + public string Name { get { - return ((__Internal*)__Instance)->definitionOrder; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definitionOrder = value; + __Internal.SetName(__Instance, value); } } - public __IntPtr OriginalPtr + public string USR { get { - return ((__Internal*)__Instance)->originalPtr; + var ___ret = __Internal.GetUSR(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; + __Internal.SetUSR(__Instance, value); } } - public global::CppSharp.Parser.AST.RawComment Comment + public string DebugText { get { - var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); - return __result0; + var ___ret = __Internal.GetDebugText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetDebugText(__Instance, value); } } @@ -7245,106 +7032,41 @@ public uint RedeclarationsCount public unsafe partial class DeclarationContext : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 448)] + [StructLayout(LayoutKind.Sequential, Size = 448)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DeclarationContextC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -7835,76 +7557,31 @@ public uint FriendsCount public unsafe partial class TypedefNameDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 216)] + [StructLayout(LayoutKind.Sequential, Size = 216)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TypedefNameDeclC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -8019,76 +7696,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypedefDecl : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 216)] + [StructLayout(LayoutKind.Sequential, Size = 216)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8183,79 +7815,32 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypeAlias : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 224)] + [StructLayout(LayoutKind.Sequential, Size = 224)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(216)] internal __IntPtr describedAliasTemplate; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9TypeAliasC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8364,76 +7949,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Friend : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 208)] + [StructLayout(LayoutKind.Sequential, Size = 208)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6FriendC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8542,26 +8082,24 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class StatementObsolete : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -8627,19 +8165,6 @@ protected StatementObsolete(void* native, bool skipVTables = false) __Instance = new __IntPtr(native); } - public StatementObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) { __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); @@ -8702,33 +8227,25 @@ public string String { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + __Internal.SetString(__Instance, value); } } } public unsafe partial class ExpressionObsolete : global::CppSharp.Parser.AST.StatementObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr cctor(__IntPtr __instance, __IntPtr _0); @@ -8780,20 +8297,6 @@ protected ExpressionObsolete(void* native, bool skipVTables = false) { } - public ExpressionObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) : this((void*) null) { @@ -8824,35 +8327,27 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BinaryOperatorObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal __IntPtr LHS; - - [FieldOffset(48)] internal __IntPtr RHS; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_18ExpressionObsoleteESD_SB_", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr ctor(__IntPtr __instance, __IntPtr str, __IntPtr lhs, __IntPtr rhs, __IntPtr opcodeStr); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperatorObsolete __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -8898,25 +8393,6 @@ protected BinaryOperatorObsolete(void* native, bool skipVTables = false) { } - public BinaryOperatorObsolete(string str, global::CppSharp.Parser.AST.ExpressionObsolete lhs, global::CppSharp.Parser.AST.ExpressionObsolete rhs, string opcodeStr) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperatorObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = lhs is null ? __IntPtr.Zero : lhs.__Instance; - var __arg2 = rhs is null ? __IntPtr.Zero : rhs.__Instance; - var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); - var __arg3 = __basicString3.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); - __basicString0.Dispose(); - __basicString3.Dispose(); - } - public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete _0) : this((void*) null) { @@ -8976,37 +8452,27 @@ public string OpcodeStr { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); + __Internal.SetOpcodeStr(__Instance, value); } } } public unsafe partial class CallExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr cctor(__IntPtr __instance, __IntPtr _0); @@ -9069,20 +8535,6 @@ protected CallExprObsolete(void* native, bool skipVTables = false) { } - public CallExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) : this((void*) null) { @@ -9143,24 +8595,14 @@ public uint ArgumentsCount public unsafe partial class CXXConstructExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr cctor(__IntPtr __instance, __IntPtr _0); @@ -9223,20 +8665,6 @@ protected CXXConstructExprObsolete(void* native, bool skipVTables = false) { } - public CXXConstructExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObsolete _0) : this((void*) null) { @@ -9297,91 +8725,36 @@ public uint ArgumentsCount public unsafe partial class Parameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(216)] internal byte isIndirect; - - [FieldOffset(217)] internal byte hasDefaultValue; - - [FieldOffset(220)] internal uint index; - - [FieldOffset(224)] internal __IntPtr defaultArgument; - - [FieldOffset(232)] internal __IntPtr defaultValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9558,166 +8931,61 @@ public uint Index public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 624)] + [StructLayout(LayoutKind.Sequential, Size = 624)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(464)] internal byte isReturnIndirect; - - [FieldOffset(465)] internal byte hasThisReturn; - - [FieldOffset(466)] internal byte isConstExpr; - - [FieldOffset(467)] internal byte isVariadic; - - [FieldOffset(468)] internal byte isInline; - - [FieldOffset(469)] internal byte isPure; - - [FieldOffset(470)] internal byte isDeleted; - - [FieldOffset(471)] internal byte isDefaulted; - - [FieldOffset(472)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(476)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(480)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(504)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C signature; - - [FieldOffset(528)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C body; - - [FieldOffset(552)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(560)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(568)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(592)] internal __IntPtr specializationInfo; - - [FieldOffset(600)] internal __IntPtr instantiatedFrom; - - [FieldOffset(608)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FunctionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9738,6 +9006,24 @@ public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationCo [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function15clearParametersEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearParameters(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12getSignatureEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetSignature(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12setSignatureEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetSignature(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7getBodyEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBody(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7setBodyEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBody(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function18getParametersCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetParametersCount(__IntPtr __instance); } @@ -9987,48 +9273,6 @@ public bool IsDefaulted } } - public string Mangled - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); - } - } - - public string Signature - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->signature)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->signature), value); - } - } - - public string Body - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->body)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->body), value); - } - } - public global::CppSharp.Parser.AST.Stmt BodyStmt { get @@ -10099,6 +9343,48 @@ public string Body } } + public string Mangled + { + get + { + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetMangled(__Instance, value); + } + } + + public string Signature + { + get + { + var ___ret = __Internal.GetSignature(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetSignature(__Instance, value); + } + } + + public string Body + { + get + { + var ___ret = __Internal.GetBody(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBody(__Instance, value); + } + } + public uint ParametersCount { get @@ -10111,202 +9397,73 @@ public uint ParametersCount public unsafe partial class Method : global::CppSharp.Parser.AST.Function, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 688)] + [StructLayout(LayoutKind.Sequential, Size = 688)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(464)] internal byte isReturnIndirect; - - [FieldOffset(465)] internal byte hasThisReturn; - - [FieldOffset(466)] internal byte isConstExpr; - - [FieldOffset(467)] internal byte isVariadic; - - [FieldOffset(468)] internal byte isInline; - - [FieldOffset(469)] internal byte isPure; - - [FieldOffset(470)] internal byte isDeleted; - - [FieldOffset(471)] internal byte isDefaulted; - - [FieldOffset(472)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(476)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(480)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(504)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C signature; - - [FieldOffset(528)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C body; - - [FieldOffset(552)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(560)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(568)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(592)] internal __IntPtr specializationInfo; - - [FieldOffset(600)] internal __IntPtr instantiatedFrom; - - [FieldOffset(608)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(624)] internal byte isVirtual; - - [FieldOffset(625)] internal byte isStatic; - - [FieldOffset(626)] internal byte isConst; - - [FieldOffset(627)] internal byte isExplicit; - - [FieldOffset(628)] internal byte isVolatile; - - [FieldOffset(632)] internal global::CppSharp.Parser.AST.CXXMethodKind methodKind; - - [FieldOffset(636)] internal byte isDefaultConstructor; - - [FieldOffset(637)] internal byte isCopyConstructor; - - [FieldOffset(638)] internal byte isMoveConstructor; - - [FieldOffset(640)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal conversionType; - - [FieldOffset(656)] internal global::CppSharp.Parser.AST.RefQualifierKind refQualifier; - - [FieldOffset(664)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ OverriddenMethods; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6MethodC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10588,118 +9745,45 @@ public uint OverriddenMethodsCount public unsafe partial class Enumeration : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 488)] + [StructLayout(LayoutKind.Sequential, Size = 488)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(444)] internal global::CppSharp.Parser.AST.Enumeration.EnumModifiers modifiers; - - [FieldOffset(448)] internal __IntPtr type; - - [FieldOffset(456)] internal __IntPtr builtinType; - - [FieldOffset(464)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S0_ Items; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11EnumerationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10720,9 +9804,6 @@ public unsafe partial class Enumeration : global::CppSharp.Parser.AST.Declaratio [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration10clearItemsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearItems(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration14FindItemByNameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindItemByName(__IntPtr __instance, __IntPtr Name); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration13getItemsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetItemsCount(__IntPtr __instance); } @@ -10737,79 +9818,32 @@ public enum EnumModifiers public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C expression; - - [FieldOffset(224)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Expression; internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10820,6 +9854,12 @@ public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDis [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Item __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -10901,30 +9941,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Expression + public ulong Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->value; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->value = value; } } - public ulong Value + public string Expression { get { - return ((__Internal*)__Instance)->value; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->value = value; + __Internal.SetExpression(__Instance, value); } } } @@ -11029,17 +10069,6 @@ public void ClearItems() __Internal.ClearItems(__Instance); } - public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, Name); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindItemByName(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.Enumeration.Item.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.Enumeration.EnumModifiers Modifiers { get @@ -11093,85 +10122,34 @@ public uint ItemsCount public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal byte isConstExpr; - - [FieldOffset(208)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(232)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(248)] internal __IntPtr initializer; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11182,6 +10160,12 @@ public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Variable __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -11276,65 +10260,58 @@ public bool IsConstExpr } } - public string Mangled + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public global::CppSharp.Parser.AST.ExpressionObsolete Initializer { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); + return __result0; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; } } - public global::CppSharp.Parser.AST.ExpressionObsolete Initializer + public string Mangled { get { - var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); - return __result0; + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetMangled(__Instance, value); } } } public unsafe partial class BaseClassSpecifier : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(4)] internal byte isVirtual; - - [FieldOffset(8)] internal __IntPtr type; - - [FieldOffset(16)] internal int offset; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18BaseClassSpecifierC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11497,85 +10474,34 @@ public int Offset public unsafe partial class Field : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(216)] internal __IntPtr _class; - - [FieldOffset(224)] internal byte isBitField; - - [FieldOffset(228)] internal uint bitWidth; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5FieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11725,73 +10651,30 @@ public uint BitWidth public unsafe partial class AccessSpecifierDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19AccessSpecifierDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11886,16 +10769,11 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class VTableComponent : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.VTableComponentKind kind; - - [FieldOffset(4)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15VTableComponentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12045,10 +10923,9 @@ public uint Offset public unsafe partial class VTableLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S0_ Components; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12VTableLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12206,19 +11083,12 @@ public uint ComponentsCount public unsafe partial class VFTableInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal ulong VBTableIndex; - - [FieldOffset(8)] internal uint VFPtrOffset; - - [FieldOffset(12)] internal uint VFPtrFullOffset; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VFTableInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12390,19 +11260,12 @@ public uint VFPtrFullOffset public unsafe partial class LayoutField : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(48)] internal __IntPtr fieldPtr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12413,6 +11276,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -12530,58 +11399,55 @@ public uint Offset } } - public string Name + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public __IntPtr FieldPtr { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + return ((__Internal*)__Instance)->fieldPtr; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; } } - public __IntPtr FieldPtr + public string Name { get { - return ((__Internal*)__Instance)->fieldPtr; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; + __Internal.SetName(__Instance, value); } } } public unsafe partial class LayoutBase : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LayoutBaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12726,40 +11592,19 @@ public uint Offset public unsafe partial class ClassLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CppAbi ABI; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.RecordArgABI argABI; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S0_ VFTables; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; - - [FieldOffset(56)] internal byte hasOwnVFPtr; - - [FieldOffset(64)] internal long VBPtrOffset; - - [FieldOffset(72)] internal int alignment; - - [FieldOffset(76)] internal int size; - - [FieldOffset(80)] internal int dataSize; - - [FieldOffset(88)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(112)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S0_ Bases; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11ClassLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13112,154 +11957,57 @@ public uint BasesCount public unsafe partial class Class : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 568)] + [StructLayout(LayoutKind.Sequential, Size = 568)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(472)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(496)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(520)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(544)] internal byte isPOD; - - [FieldOffset(545)] internal byte isAbstract; - - [FieldOffset(546)] internal byte isUnion; - - [FieldOffset(547)] internal byte isDynamic; - - [FieldOffset(548)] internal byte isPolymorphic; - - [FieldOffset(549)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(550)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(551)] internal byte hasNonTrivialDestructor; - - [FieldOffset(552)] internal byte isExternCContext; - - [FieldOffset(553)] internal byte isInjected; - - [FieldOffset(556)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(560)] internal __IntPtr layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5ClassC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13679,79 +12427,32 @@ public uint SpecifiersCount public unsafe partial class Template : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TemplateC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -13919,79 +12620,32 @@ public uint ParametersCount public unsafe partial class TypeAliasTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TypeAliasTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14086,82 +12740,33 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TemplateParameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 216)] + [StructLayout(LayoutKind.Sequential, Size = 216)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal uint depth; - - [FieldOffset(204)] internal uint index; - - [FieldOffset(208)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TemplateParameterC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -14300,88 +12905,35 @@ public bool IsParameterPack public unsafe partial class TemplateTemplateParameter : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal byte isParameterPack; - - [FieldOffset(233)] internal byte isPackExpansion; - - [FieldOffset(234)] internal byte isExpandedParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25TemplateTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14515,85 +13067,34 @@ public bool IsExpandedParameterPack public unsafe partial class TypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal uint depth; - - [FieldOffset(204)] internal uint index; - - [FieldOffset(208)] internal byte isParameterPack; - - [FieldOffset(216)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal defaultArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14703,100 +13204,39 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class NonTypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal uint depth; - - [FieldOffset(204)] internal uint index; - - [FieldOffset(208)] internal byte isParameterPack; - - [FieldOffset(216)] internal __IntPtr defaultArgument; - - [FieldOffset(224)] internal __IntPtr defaultArgumentNew; - - [FieldOffset(232)] internal uint position; - - [FieldOffset(236)] internal byte isPackExpansion; - - [FieldOffset(237)] internal byte isExpandedParameterPack; - - [FieldOffset(240)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24NonTypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14973,82 +13413,33 @@ public bool IsExpandedParameterPack public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15069,12 +13460,6 @@ public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate25FindPartialSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -15179,28 +13564,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -15213,163 +13576,60 @@ public uint SpecializationsCount public unsafe partial class ClassTemplateSpecialization : global::CppSharp.Parser.AST.Class, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 608)] + [StructLayout(LayoutKind.Sequential, Size = 608)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(472)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(496)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(520)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(544)] internal byte isPOD; - - [FieldOffset(545)] internal byte isAbstract; - - [FieldOffset(546)] internal byte isUnion; - - [FieldOffset(547)] internal byte isDynamic; - - [FieldOffset(548)] internal byte isPolymorphic; - - [FieldOffset(549)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(550)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(551)] internal byte hasNonTrivialDestructor; - - [FieldOffset(552)] internal byte isExternCContext; - - [FieldOffset(553)] internal byte isInjected; - - [FieldOffset(556)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(560)] internal __IntPtr layout; - - [FieldOffset(568)] internal __IntPtr templatedDecl; - - [FieldOffset(576)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(600)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27ClassTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15532,166 +13792,61 @@ public uint ArgumentsCount public unsafe partial class ClassTemplatePartialSpecialization : global::CppSharp.Parser.AST.ClassTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 632)] + [StructLayout(LayoutKind.Sequential, Size = 632)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(472)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(496)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(520)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(544)] internal byte isPOD; - - [FieldOffset(545)] internal byte isAbstract; - - [FieldOffset(546)] internal byte isUnion; - - [FieldOffset(547)] internal byte isDynamic; - - [FieldOffset(548)] internal byte isPolymorphic; - - [FieldOffset(549)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(550)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(551)] internal byte hasNonTrivialDestructor; - - [FieldOffset(552)] internal byte isExternCContext; - - [FieldOffset(553)] internal byte isInjected; - - [FieldOffset(556)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(560)] internal __IntPtr layout; - - [FieldOffset(568)] internal __IntPtr templatedDecl; - - [FieldOffset(576)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(600)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; - - [FieldOffset(608)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST34ClassTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15828,82 +13983,33 @@ public uint ParametersCount public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15924,9 +14030,6 @@ public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Templ [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16031,17 +14134,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16054,19 +14146,12 @@ public uint SpecializationsCount public unsafe partial class FunctionTemplateSpecialization : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _template; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(32)] internal __IntPtr specializedFunction; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST30FunctionTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16266,82 +14351,33 @@ public uint ArgumentsCount public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16362,12 +14398,6 @@ public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate25FindPartialSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16472,28 +14502,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.VarTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16506,94 +14514,37 @@ public uint SpecializationsCount public unsafe partial class VarTemplateSpecialization : global::CppSharp.Parser.AST.Variable, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 296)] + [StructLayout(LayoutKind.Sequential, Size = 296)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal byte isConstExpr; - - [FieldOffset(208)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(232)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(248)] internal __IntPtr initializer; - - [FieldOffset(256)] internal __IntPtr templatedDecl; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(288)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25VarTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16756,94 +14707,37 @@ public uint ArgumentsCount public unsafe partial class VarTemplatePartialSpecialization : global::CppSharp.Parser.AST.VarTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 296)] + [StructLayout(LayoutKind.Sequential, Size = 296)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal byte isConstExpr; - - [FieldOffset(208)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(232)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(248)] internal __IntPtr initializer; - - [FieldOffset(256)] internal __IntPtr templatedDecl; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(288)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32VarTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16938,73 +14832,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class UnresolvedUsingTypename : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23UnresolvedUsingTypenameC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17099,109 +14950,42 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Namespace : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 448)] + [StructLayout(LayoutKind.Sequential, Size = 448)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(441)] internal byte isInline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9NamespaceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17309,16 +15093,11 @@ public bool IsInline public unsafe partial class PreprocessedEntity : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18PreprocessedEntityC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17467,28 +15246,15 @@ public __IntPtr OriginalPtr public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(48)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C expression; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Expression; internal int lineNumberStart; - - [FieldOffset(76)] internal int lineNumberEnd; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17499,6 +15265,18 @@ public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.Prepro [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroDefinition __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17580,82 +15358,71 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public int LineNumberStart { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberStart; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->lineNumberStart = value; } } - public string Expression + public int LineNumberEnd { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberEnd; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->lineNumberEnd = value; } } - public int LineNumberStart + public string Name { get { - return ((__Internal*)__Instance)->lineNumberStart; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberStart = value; + __Internal.SetName(__Instance, value); } } - public int LineNumberEnd + public string Expression { get { - return ((__Internal*)__Instance)->lineNumberEnd; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberEnd = value; + __Internal.SetExpression(__Instance, value); } } } public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(48)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; internal __IntPtr definition; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17666,6 +15433,18 @@ public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.Preproc [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroExpansion __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17747,163 +15526,90 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public global::CppSharp.Parser.AST.MacroDefinition Definition { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; } } - public string Text + public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetName(__Instance, value); } } - public global::CppSharp.Parser.AST.MacroDefinition Definition + public string Text { get { - var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); - return __result0; + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetText(__Instance, value); } } } public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namespace, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 504)] + [StructLayout(LayoutKind.Sequential, Size = 504)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(441)] internal byte isInline; - - [FieldOffset(448)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(472)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; internal byte isSystemHeader; - - [FieldOffset(480)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S0_ Macros; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnitC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17924,6 +15630,12 @@ public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namesp [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11clearMacrosEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearMacros(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit14getMacrosCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetMacrosCount(__IntPtr __instance); } @@ -18028,30 +15740,30 @@ public void ClearMacros() __Internal.ClearMacros(__Instance); } - public string FileName + public bool IsSystemHeader { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isSystemHeader != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); } } - public bool IsSystemHeader + public string FileName { get { - return ((__Internal*)__Instance)->isSystemHeader != 0; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); + __Internal.SetFileName(__Instance, value); } } @@ -18067,10 +15779,9 @@ public uint MacrosCount public unsafe partial class ASTContext : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S0_ TranslationUnits; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18082,9 +15793,6 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext18FindOrCreateModuleENSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindOrCreateModule(__IntPtr __instance, __IntPtr File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext19getTranslationUnitsEj", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr GetTranslationUnits(__IntPtr __instance, uint i); @@ -18200,17 +15908,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public global::CppSharp.Parser.AST.TranslationUnit FindOrCreateModule(string File) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, File); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindOrCreateModule(__Instance, __arg0); - __basicString0.Dispose(disposing: true, callNativeDtor:false); - var __result0 = global::CppSharp.Parser.AST.TranslationUnit.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { var ___ret = __Internal.GetTranslationUnits(__Instance, i); @@ -18383,19 +16080,12 @@ public enum StmtClass public unsafe partial class Stmt : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4StmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18575,28 +16265,15 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class DeclStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ decls; - - [FieldOffset(48)] internal byte isSingleDecl; - - [FieldOffset(56)] internal __IntPtr singleDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8DeclStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18760,25 +16437,14 @@ public uint GetdeclsCount public unsafe partial class NullStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal semiLoc; - - [FieldOffset(24)] internal byte hasLeadingEmptyMacro; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8NullStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18878,40 +16544,19 @@ public bool HasLeadingEmptyMacro public unsafe partial class CompoundStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S0_ body; - - [FieldOffset(48)] internal byte body_empty; - - [FieldOffset(52)] internal uint size; - - [FieldOffset(56)] internal __IntPtr body_front; - - [FieldOffset(64)] internal __IntPtr body_back; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CompoundStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19128,28 +16773,15 @@ public uint GetbodyCount public unsafe partial class SwitchCase : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchCaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19280,43 +16912,20 @@ public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) public unsafe partial class CaseStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal caseLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(48)] internal __IntPtr lHS; - - [FieldOffset(56)] internal __IntPtr rHS; - - [FieldOffset(64)] internal byte caseStmtIsGNURange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CaseStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19457,31 +17066,16 @@ public bool CaseStmtIsGNURange public unsafe partial class DefaultStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DefaultStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19568,28 +17162,15 @@ public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) public unsafe partial class LabelStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal identLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; - - [FieldOffset(32)] internal __IntPtr name; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9LabelStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19718,25 +17299,14 @@ public string Name public unsafe partial class AttributedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal attrLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19837,55 +17407,24 @@ public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) public unsafe partial class IfStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr then; - - [FieldOffset(40)] internal __IntPtr _else; - - [FieldOffset(48)] internal __IntPtr init; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal ifLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal elseLoc; - - [FieldOffset(64)] internal byte _constexpr; - - [FieldOffset(65)] internal byte hasInitStorage; - - [FieldOffset(66)] internal byte hasVarStorage; - - [FieldOffset(67)] internal byte hasElseStorage; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(80)] internal byte isObjCAvailabilityCheck; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6IfStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20120,43 +17659,20 @@ public bool IsObjCAvailabilityCheck public unsafe partial class SwitchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal __IntPtr init; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal switchLoc; - - [FieldOffset(52)] internal byte hasInitStorage; - - [FieldOffset(53)] internal byte hasVarStorage; - - [FieldOffset(56)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(64)] internal byte isAllEnumCasesCovered; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20338,34 +17854,17 @@ public bool IsAllEnumCasesCovered public unsafe partial class WhileStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(44)] internal byte hasVarStorage; - - [FieldOffset(48)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9WhileStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20507,34 +18006,17 @@ public bool HasVarStorage public unsafe partial class DoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal doLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6DoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20675,43 +18157,20 @@ public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) public unsafe partial class ForStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr cond; - - [FieldOffset(40)] internal __IntPtr inc; - - [FieldOffset(48)] internal __IntPtr body; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7ForStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20894,25 +18353,14 @@ public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) public unsafe partial class GotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8GotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21012,28 +18460,15 @@ public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) public unsafe partial class IndirectGotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal starLoc; - - [FieldOffset(32)] internal __IntPtr target; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16IndirectGotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21147,22 +18582,13 @@ public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) public unsafe partial class ContinueStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal continueLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ContinueStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21249,22 +18675,13 @@ public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) public unsafe partial class BreakStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal breakLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BreakStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21351,25 +18768,14 @@ public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) public unsafe partial class ReturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr retValue; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal returnLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ReturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21470,46 +18876,21 @@ public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) public unsafe partial class AsmStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7AsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21796,49 +19177,22 @@ public uint GetoutputsCount public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21853,22 +19207,13 @@ public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, ID public unsafe partial class AsmStringPiece : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal byte isString; - - [FieldOffset(1)] internal byte isOperand; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal uint operandNo; - - [FieldOffset(36)] internal sbyte modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21879,6 +19224,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum Kind @@ -22015,43 +19366,43 @@ public bool IsOperand } } - public string String + public uint OperandNo { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->operandNo; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + ((__Internal*)__Instance)->operandNo = value; } } - public uint OperandNo + public sbyte Modifier { get { - return ((__Internal*)__Instance)->operandNo; + return ((__Internal*)__Instance)->modifier; } set { - ((__Internal*)__Instance)->operandNo = value; + ((__Internal*)__Instance)->modifier = value; } } - public sbyte Modifier + public string String { get { - return ((__Internal*)__Instance)->modifier; + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->modifier = value; + __Internal.SetString(__Instance, value); } } } @@ -22151,59 +19502,26 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(100)] internal byte hasBraces; - - [FieldOffset(104)] internal uint numAsmToks; - - [FieldOffset(112)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C asmString; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C AsmString; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -22213,6 +19531,12 @@ public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDi [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12getAsmStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetAsmString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12setAsmStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetAsmString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MSAsmStmt __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -22337,41 +19661,28 @@ public string AsmString { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->asmString)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetAsmString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->asmString), value); + __Internal.SetAsmString(__Instance, value); } } } public unsafe partial class SEHExceptStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal exceptLoc; - - [FieldOffset(24)] internal __IntPtr filterExpr; - - [FieldOffset(32)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13SEHExceptStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22486,25 +19797,14 @@ public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) public unsafe partial class SEHFinallyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal finallyLoc; - - [FieldOffset(24)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SEHFinallyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22605,37 +19905,18 @@ public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) public unsafe partial class SEHTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal byte isCXXTry; - - [FieldOffset(32)] internal __IntPtr tryBlock; - - [FieldOffset(40)] internal __IntPtr handler; - - [FieldOffset(48)] internal __IntPtr exceptHandler; - - [FieldOffset(56)] internal __IntPtr finallyHandler; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SEHTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22791,22 +20072,13 @@ public bool IsCXXTry public unsafe partial class SEHLeaveStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal leaveLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12SEHLeaveStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22893,28 +20165,15 @@ public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) public unsafe partial class CapturedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ capture_inits; - - [FieldOffset(48)] internal __IntPtr capturedStmt; - - [FieldOffset(56)] internal uint capture_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22949,25 +20208,14 @@ public enum VariableCaptureKind public unsafe partial class Capture : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CapturedStmt.VariableCaptureKind captureKind; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(8)] internal byte capturesThis; - - [FieldOffset(9)] internal byte capturesVariable; - - [FieldOffset(10)] internal byte capturesVariableByCopy; - - [FieldOffset(11)] internal byte capturesVariableArrayType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmt7CaptureC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23292,28 +20540,15 @@ public uint GetcaptureInitsCount public unsafe partial class CXXCatchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal catchLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal caughtType; - - [FieldOffset(40)] internal __IntPtr handlerBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXCatchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23429,28 +20664,15 @@ public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) public unsafe partial class CXXTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal __IntPtr tryBlock; - - [FieldOffset(32)] internal uint numHandlers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23564,58 +20786,25 @@ public uint NumHandlers public unsafe partial class CXXForRangeStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr rangeInit; - - [FieldOffset(40)] internal __IntPtr cond; - - [FieldOffset(48)] internal __IntPtr inc; - - [FieldOffset(56)] internal __IntPtr body; - - [FieldOffset(64)] internal __IntPtr rangeStmt; - - [FieldOffset(72)] internal __IntPtr beginStmt; - - [FieldOffset(80)] internal __IntPtr endStmt; - - [FieldOffset(88)] internal __IntPtr loopVarStmt; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal coawaitLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXForRangeStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23867,31 +21056,16 @@ public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) public unsafe partial class MSDependentExistsStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal byte isIfExists; - - [FieldOffset(25)] internal byte isIfNotExists; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21MSDependentExistsStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24018,58 +21192,25 @@ public bool IsIfNotExists public unsafe partial class CoroutineBodyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte hasDependentPromiseType; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(32)] internal __IntPtr promiseDeclStmt; - - [FieldOffset(40)] internal __IntPtr initSuspendStmt; - - [FieldOffset(48)] internal __IntPtr finalSuspendStmt; - - [FieldOffset(56)] internal __IntPtr exceptionHandler; - - [FieldOffset(64)] internal __IntPtr fallthroughHandler; - - [FieldOffset(72)] internal __IntPtr allocate; - - [FieldOffset(80)] internal __IntPtr deallocate; - - [FieldOffset(88)] internal __IntPtr returnValueInit; - - [FieldOffset(96)] internal __IntPtr resultDecl; - - [FieldOffset(104)] internal __IntPtr returnStmt; - - [FieldOffset(112)] internal __IntPtr returnStmtOnAllocFailure; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24098,7 +21239,7 @@ public enum SubStmt public unsafe partial class CtorArgs : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmt8CtorArgsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24451,31 +21592,16 @@ public bool HasDependentPromiseType public unsafe partial class CoreturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte isImplicit; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(32)] internal __IntPtr operand; - - [FieldOffset(40)] internal __IntPtr promiseCall; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CoreturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24803,61 +21929,26 @@ public enum UnaryExprOrTypeTrait public unsafe partial class Expr : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4ExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24936,31 +22027,16 @@ public enum NullPointerConstantValueDependence public unsafe partial class Classification : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.Expr.Classification.Kinds kind; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.Expr.Classification.ModifiableType modifiable; - - [FieldOffset(8)] internal byte isLValue; - - [FieldOffset(9)] internal byte isXValue; - - [FieldOffset(10)] internal byte isGLValue; - - [FieldOffset(11)] internal byte isPRValue; - - [FieldOffset(12)] internal byte isRValue; - - [FieldOffset(13)] internal byte isModifiable; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4Expr14ClassificationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25467,64 +22543,27 @@ public bool HasPlaceholderType public unsafe partial class FullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25629,64 +22668,27 @@ public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) public unsafe partial class ConstantExpr : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ConstantExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25760,70 +22762,29 @@ public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) public unsafe partial class OpaqueValueExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isUnique; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal __IntPtr sourceExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15OpaqueValueExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25937,97 +22898,38 @@ public bool IsUnique public unsafe partial class DeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte hadMultipleCandidates; - - [FieldOffset(81)] internal byte hasQualifier; - - [FieldOffset(88)] internal __IntPtr foundDecl; - - [FieldOffset(96)] internal byte hasTemplateKWAndArgsInfo; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal byte refersToEnclosingVariableOrCapture; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26258,67 +23160,28 @@ public bool RefersToEnclosingVariableOrCapture public unsafe partial class IntegerLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14IntegerLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26418,67 +23281,28 @@ public ulong Value public unsafe partial class FixedPointLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17FixedPointLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26578,70 +23402,29 @@ public ulong Value public unsafe partial class CharacterLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.CharacterLiteral.CharacterKind kind; - - [FieldOffset(84)] internal uint value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CharacterLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26763,70 +23546,29 @@ public uint Value public unsafe partial class FloatingLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte exact; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal double valueAsApproximateDouble; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15FloatingLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26939,64 +23681,27 @@ public double ValueAsApproximateDouble public unsafe partial class ImaginaryLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImaginaryLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27084,106 +23789,41 @@ public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C bytes; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Bytes; internal uint byteLength; - - [FieldOffset(132)] internal uint length; - - [FieldOffset(136)] internal uint charByteWidth; - - [FieldOffset(140)] internal global::CppSharp.Parser.AST.StringLiteral.StringKind kind; - - [FieldOffset(144)] internal byte isAscii; - - [FieldOffset(145)] internal byte isWide; - - [FieldOffset(146)] internal byte isUTF8; - - [FieldOffset(147)] internal byte isUTF16; - - [FieldOffset(148)] internal byte isUTF32; - - [FieldOffset(149)] internal byte isPascal; - - [FieldOffset(150)] internal byte containsNonAscii; - - [FieldOffset(151)] internal byte containsNonAsciiOrNull; - - [FieldOffset(152)] internal uint numConcatenated; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27194,6 +23834,18 @@ public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8getBytesEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBytes(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8setBytesEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBytes(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum StringKind @@ -27284,34 +23936,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string String - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); - } - } - - public string Bytes - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->bytes)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->bytes), value); - } - } - public uint ByteLength { get @@ -27480,71 +24104,60 @@ public uint NumConcatenated ((__Internal*)__Instance)->numConcatenated = value; } } + + public string String + { + get + { + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetString(__Instance, value); + } + } + + public string Bytes + { + get + { + var ___ret = __Internal.GetBytes(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBytes(__Instance, value); + } + } } public unsafe partial class PredefinedExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.PredefinedExpr.IdentKind identKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14PredefinedExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27656,70 +24269,29 @@ public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) public unsafe partial class ParenExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParen; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParen; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParenExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27833,94 +24405,37 @@ public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) public unsafe partial class UnaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryOperatorKind opcode; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(92)] internal byte canOverflow; - - [FieldOffset(93)] internal byte isPrefix; - - [FieldOffset(94)] internal byte isPostfix; - - [FieldOffset(95)] internal byte isIncrementOp; - - [FieldOffset(96)] internal byte isDecrementOp; - - [FieldOffset(97)] internal byte isIncrementDecrementOp; - - [FieldOffset(98)] internal byte isArithmeticOp; - - [FieldOffset(99)] internal byte isFPContractableWithinStatement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13UnaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28138,73 +24653,30 @@ public bool IsFPContractableWithinStatement public unsafe partial class OffsetOfExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numComponents; - - [FieldOffset(88)] internal uint numExpressions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OffsetOfExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28330,82 +24802,33 @@ public uint NumExpressions public unsafe partial class UnaryExprOrTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryExprOrTypeTrait kind; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal byte isArgumentType; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal argumentType; - - [FieldOffset(112)] internal __IntPtr argumentExpr; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeOfArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24UnaryExprOrTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28575,76 +24998,31 @@ public bool IsArgumentType public unsafe partial class ArraySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(104)] internal __IntPtr @base; - - [FieldOffset(112)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArraySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28787,88 +25165,35 @@ public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) public unsafe partial class CallExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29129,100 +25454,39 @@ public uint GetargumentsCount public unsafe partial class MemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte arrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(96)] internal byte hadMultipleCandidates; - - [FieldOffset(97)] internal byte hasQualifier; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(124)] internal byte isImplicitAccess; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10MemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29466,70 +25730,29 @@ public bool IsImplicitAccess public unsafe partial class CompoundLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr initializer; - - [FieldOffset(88)] internal byte fileScope; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CompoundLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29643,82 +25866,33 @@ public bool FileScope public unsafe partial class CastExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29918,85 +26092,34 @@ public uint PathSize public unsafe partial class ImplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal byte isPartOfExplicitCast; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30088,85 +26211,34 @@ public bool IsPartOfExplicitCast public unsafe partial class ExplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30272,91 +26344,36 @@ public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) public unsafe partial class CStyleCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14CStyleCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30456,118 +26473,45 @@ public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(129)] internal byte isMultiplicativeOp; - - [FieldOffset(130)] internal byte isAdditiveOp; - - [FieldOffset(131)] internal byte isShiftOp; - - [FieldOffset(132)] internal byte isBitwiseOp; - - [FieldOffset(133)] internal byte isRelationalOp; - - [FieldOffset(134)] internal byte isEqualityOp; - - [FieldOffset(135)] internal byte isComparisonOp; - - [FieldOffset(136)] internal byte isLogicalOp; - - [FieldOffset(137)] internal byte isAssignmentOp; - - [FieldOffset(138)] internal byte isCompoundAssignmentOp; - - [FieldOffset(139)] internal byte isShiftAssignOp; - - [FieldOffset(140)] internal byte isFPContractableWithinStatement; - - [FieldOffset(141)] internal byte isFEnvAccessOn; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30581,6 +26525,12 @@ public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, I [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperator __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -30730,20 +26680,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string OpcodeStr - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); - } - } - public bool IsPtrMemOp { get @@ -30925,128 +26861,65 @@ public bool IsFEnvAccessOn ((__Internal*)__Instance)->isFEnvAccessOn = (byte) (value ? 1 : 0); } } + + public string OpcodeStr + { + get + { + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetOpcodeStr(__Instance, value); + } + } } public unsafe partial class CompoundAssignOperator : global::CppSharp.Parser.AST.BinaryOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(129)] internal byte isMultiplicativeOp; - - [FieldOffset(130)] internal byte isAdditiveOp; - - [FieldOffset(131)] internal byte isShiftOp; - - [FieldOffset(132)] internal byte isBitwiseOp; - - [FieldOffset(133)] internal byte isRelationalOp; - - [FieldOffset(134)] internal byte isEqualityOp; - - [FieldOffset(135)] internal byte isComparisonOp; - - [FieldOffset(136)] internal byte isLogicalOp; - - [FieldOffset(137)] internal byte isAssignmentOp; - - [FieldOffset(138)] internal byte isCompoundAssignmentOp; - - [FieldOffset(139)] internal byte isShiftAssignOp; - - [FieldOffset(140)] internal byte isFPContractableWithinStatement; - - [FieldOffset(141)] internal byte isFEnvAccessOn; - - [FieldOffset(144)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationLHSType; - - [FieldOffset(160)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CompoundAssignOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31171,76 +27044,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class AbstractConditionalOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27AbstractConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31399,82 +27227,33 @@ public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractCondition public unsafe partial class ConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr lHS; - - [FieldOffset(120)] internal __IntPtr rHS; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31576,82 +27355,33 @@ public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) public unsafe partial class BinaryConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr common; - - [FieldOffset(120)] internal __IntPtr opaqueValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25BinaryConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31753,67 +27483,28 @@ public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOp public unsafe partial class AddrLabelExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal ampAmpLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13AddrLabelExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31913,70 +27604,29 @@ public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) public unsafe partial class StmtExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subStmt; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8StmtExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32090,70 +27740,29 @@ public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) public unsafe partial class ShuffleVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numSubExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ShuffleVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32266,70 +27875,29 @@ public uint NumSubExprs public unsafe partial class ConvertVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ConvertVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32443,85 +28011,34 @@ public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) public unsafe partial class ChooseExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isConditionTrue; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal byte isConditionDependent; - - [FieldOffset(120)] internal __IntPtr chosenSubExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ChooseExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32703,64 +28220,27 @@ public bool IsConditionDependent public unsafe partial class GNUNullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal tokenLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11GNUNullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32847,73 +28327,30 @@ public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) public unsafe partial class VAArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal byte isMicrosoftABI; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9VAArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33040,97 +28477,38 @@ public bool IsMicrosoftABI public unsafe partial class InitListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr arrayFiller; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rBraceLoc; - - [FieldOffset(96)] internal __IntPtr syntacticForm; - - [FieldOffset(104)] internal uint numInits; - - [FieldOffset(108)] internal byte hasArrayFiller; - - [FieldOffset(109)] internal byte isExplicit; - - [FieldOffset(110)] internal byte isStringLiteralInit; - - [FieldOffset(111)] internal byte isTransparent; - - [FieldOffset(112)] internal byte isSemanticForm; - - [FieldOffset(120)] internal __IntPtr semanticForm; - - [FieldOffset(128)] internal byte isSyntacticForm; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12InitListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33363,79 +28741,32 @@ public bool IsSyntacticForm public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal equalOrColonLoc; - - [FieldOffset(80)] internal __IntPtr init; - - [FieldOffset(88)] internal uint size; - - [FieldOffset(92)] internal byte usesGNUSyntax; - - [FieldOffset(96)] internal uint numSubExprs; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceRange.__Internal designatorsSourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33447,40 +28778,19 @@ public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Exp public unsafe partial class Designator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr field; - - [FieldOffset(8)] internal byte isFieldDesignator; - - [FieldOffset(9)] internal byte isArrayDesignator; - - [FieldOffset(10)] internal byte isArrayRangeDesignator; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal dotLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal fieldLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracketLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(28)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(32)] internal uint firstExprIndex; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr10DesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33736,7 +29046,7 @@ public uint FirstExprIndex public unsafe partial class FieldDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr15FieldDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33846,7 +29156,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class ArrayOrRangeDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr22ArrayOrRangeDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34099,61 +29409,26 @@ public uint NumSubExprs public unsafe partial class NoInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10NoInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34227,67 +29502,28 @@ public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) public unsafe partial class DesignatedInitUpdateExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr updater; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24DesignatedInitUpdateExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34389,67 +29625,28 @@ public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdate public unsafe partial class ArrayInitLoopExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ArrayInitLoopExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34551,61 +29748,26 @@ public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) public unsafe partial class ArrayInitIndexExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayInitIndexExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34679,61 +29841,26 @@ public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) public unsafe partial class ImplicitValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21ImplicitValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34807,70 +29934,29 @@ public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _ public unsafe partial class ParenListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numExprs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ParenListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34983,85 +30069,34 @@ public uint NumExprs public unsafe partial class GenericSelectionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numAssocs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal genericLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(96)] internal __IntPtr controllingExpr; - - [FieldOffset(104)] internal byte isResultDependent; - - [FieldOffset(108)] internal uint resultIndex; - - [FieldOffset(112)] internal __IntPtr resultExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20GenericSelectionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35241,76 +30276,31 @@ public uint ResultIndex public unsafe partial class ExtVectorElementExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal accessorLoc; - - [FieldOffset(92)] internal uint numElements; - - [FieldOffset(96)] internal byte containsDuplicateElements; - - [FieldOffset(97)] internal byte isArrow; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20ExtVectorElementExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35450,67 +30440,28 @@ public bool IsArrow public unsafe partial class BlockExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal caretLocation; - - [FieldOffset(80)] internal __IntPtr body; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BlockExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35611,70 +30562,29 @@ public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) public unsafe partial class AsTypeExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AsTypeExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35788,73 +30698,30 @@ public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) public unsafe partial class PseudoObjectExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr syntacticForm; - - [FieldOffset(88)] internal uint resultExprIndex; - - [FieldOffset(96)] internal __IntPtr resultExpr; - - [FieldOffset(104)] internal uint numSemanticExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16PseudoObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35982,106 +30849,41 @@ public uint NumSemanticExprs public unsafe partial class AtomicExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr ptr; - - [FieldOffset(88)] internal __IntPtr order; - - [FieldOffset(96)] internal __IntPtr scope; - - [FieldOffset(104)] internal __IntPtr val1; - - [FieldOffset(112)] internal __IntPtr orderFail; - - [FieldOffset(120)] internal __IntPtr val2; - - [FieldOffset(128)] internal __IntPtr weak; - - [FieldOffset(136)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal valueType; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.AtomicExpr.AtomicOp op; - - [FieldOffset(156)] internal uint numSubExprs; - - [FieldOffset(160)] internal byte isVolatile; - - [FieldOffset(161)] internal byte isCmpXChg; - - [FieldOffset(162)] internal byte isOpenCL; - - [FieldOffset(164)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AtomicExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36409,61 +31211,26 @@ public bool IsOpenCL public unsafe partial class TypoExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TypoExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36537,100 +31304,39 @@ public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) public unsafe partial class CXXOperatorCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.OverloadedOperatorKind _operator; - - [FieldOffset(156)] internal byte isAssignmentOp; - - [FieldOffset(157)] internal byte isInfixBinaryOp; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CXXOperatorCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36777,94 +31483,37 @@ public bool IsInfixBinaryOp public unsafe partial class CXXMemberCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr implicitObjectArgument; - - [FieldOffset(160)] internal __IntPtr methodDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXMemberCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36987,91 +31636,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CUDAKernelCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr config; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CUDAKernelCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37180,97 +31774,38 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXNamedCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXNamedCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37430,97 +31965,38 @@ public string CastName public unsafe partial class CXXStaticCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXStaticCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37594,100 +32070,39 @@ public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) public unsafe partial class CXXDynamicCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; - - [FieldOffset(160)] internal byte isAlwaysNull; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDynamicCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37774,97 +32189,38 @@ public bool IsAlwaysNull public unsafe partial class CXXReinterpretCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXReinterpretCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37938,97 +32294,38 @@ public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr public unsafe partial class CXXConstCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38102,97 +32399,38 @@ public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) public unsafe partial class UserDefinedLiteral : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.UserDefinedLiteral.LiteralOperatorKind literalOperatorKind; - - [FieldOffset(160)] internal __IntPtr cookedLiteral; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal uDSuffixLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UserDefinedLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38337,67 +32575,28 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXBoolLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXBoolLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38497,64 +32696,27 @@ public bool Value public unsafe partial class CXXNullPtrLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXNullPtrLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38641,64 +32803,27 @@ public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _ public unsafe partial class CXXStdInitializerListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25CXXStdInitializerListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38786,70 +32911,29 @@ public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerLi public unsafe partial class CXXTypeidExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] internal byte isPotentiallyEvaluated; - - [FieldOffset(89)] internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXTypeidExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38963,73 +33047,30 @@ public bool IsTypeOperand public unsafe partial class MSPropertyRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr baseExpr; - - [FieldOffset(88)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MSPropertyRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39156,70 +33197,29 @@ public bool IsArrow public unsafe partial class MSPropertySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23MSPropertySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39334,70 +33334,29 @@ public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptEx public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C uuidStr; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C UuidStr; internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39408,6 +33367,12 @@ public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10getUuidStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUuidStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10setUuidStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUuidStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new CXXUuidofExpr __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -39503,97 +33468,58 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string UuidStr + public bool IsTypeOperand { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->uuidStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isTypeOperand != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->uuidStr), value); + ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); } } - public bool IsTypeOperand + public string UuidStr { get { - return ((__Internal*)__Instance)->isTypeOperand != 0; + var ___ret = __Internal.GetUuidStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); + __Internal.SetUuidStr(__Instance, value); } } } public unsafe partial class CXXThisExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte @implicit; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXThisExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39693,70 +33619,29 @@ public bool Implicit public unsafe partial class CXXThrowExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal throwLoc; - - [FieldOffset(92)] internal byte isThrownVariableInScope; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXThrowExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39870,67 +33755,28 @@ public bool IsThrownVariableInScope public unsafe partial class CXXDefaultArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr expr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal usedLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXDefaultArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40031,67 +33877,28 @@ public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) public unsafe partial class CXXDefaultInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr field; - - [FieldOffset(88)] internal __IntPtr expr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDefaultInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40193,64 +34000,27 @@ public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) public unsafe partial class CXXBindTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CXXBindTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40338,88 +34108,35 @@ public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) public unsafe partial class CXXConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40687,70 +34404,29 @@ public uint GetargumentsCount public unsafe partial class CXXInheritedCtorInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte constructsVBase; - - [FieldOffset(74)] internal byte inheritedFromVBase; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXInheritedCtorInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40863,94 +34539,37 @@ public bool InheritedFromVBase public unsafe partial class CXXFunctionalCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(144)] internal byte isListInitialization; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXFunctionalCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41063,88 +34682,35 @@ public bool IsListInitialization public unsafe partial class CXXTemporaryObjectExpr : global::CppSharp.Parser.AST.CXXConstructExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXTemporaryObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41239,91 +34805,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class LambdaExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ capture_inits; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal captureDefaultLoc; - - [FieldOffset(108)] internal uint capture_size; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceRange.__Internal introducerRange; - - [FieldOffset(120)] internal __IntPtr callOperator; - - [FieldOffset(128)] internal byte isGenericLambda; - - [FieldOffset(136)] internal __IntPtr body; - - [FieldOffset(144)] internal byte isMutable; - - [FieldOffset(145)] internal byte hasExplicitParameters; - - [FieldOffset(146)] internal byte hasExplicitResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LambdaExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41581,64 +35092,27 @@ public uint GetcaptureInitsCount public unsafe partial class CXXScalarValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXScalarValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41725,106 +35199,41 @@ public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr public unsafe partial class CXXNewExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ placement_arguments; - - [FieldOffset(104)] internal __IntPtr operatorNew; - - [FieldOffset(112)] internal __IntPtr operatorDelete; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal allocatedType; - - [FieldOffset(136)] internal byte isArray; - - [FieldOffset(144)] internal __IntPtr arraySize; - - [FieldOffset(152)] internal uint numPlacementArgs; - - [FieldOffset(156)] internal byte isParenTypeId; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceRange.__Internal typeIdParens; - - [FieldOffset(168)] internal byte isGlobalNew; - - [FieldOffset(169)] internal byte hasInitializer; - - [FieldOffset(172)] internal global::CppSharp.Parser.AST.CXXNewExpr.InitializationStyle initializationStyle; - - [FieldOffset(176)] internal __IntPtr initializer; - - [FieldOffset(184)] internal __IntPtr constructExpr; - - [FieldOffset(192)] internal global::CppSharp.Parser.SourceRange.__Internal directInitRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXNewExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42161,79 +35570,32 @@ public uint GetplacementArgumentsCount public unsafe partial class CXXDeleteExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isGlobalDelete; - - [FieldOffset(74)] internal byte isArrayForm; - - [FieldOffset(75)] internal byte isArrayFormAsWritten; - - [FieldOffset(80)] internal __IntPtr operatorDelete; - - [FieldOffset(88)] internal __IntPtr argument; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXDeleteExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42389,85 +35751,34 @@ public bool IsArrayFormAsWritten public unsafe partial class CXXPseudoDestructorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte hasQualifier; - - [FieldOffset(89)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal colonColonLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal tildeLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal destroyedTypeLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23CXXPseudoDestructorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42648,67 +35959,28 @@ public bool IsArrow public unsafe partial class TypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13TypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42808,70 +36080,29 @@ public uint NumArgs public unsafe partial class ArrayTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal queriedType; - - [FieldOffset(96)] internal ulong value; - - [FieldOffset(104)] internal __IntPtr dimensionExpression; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42987,67 +36218,28 @@ public ulong Value public unsafe partial class ExpressionTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr queriedExpression; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ExpressionTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43148,85 +36340,34 @@ public bool Value public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43241,7 +36382,7 @@ public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDi public unsafe partial class FindResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExpr10FindResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43531,91 +36672,36 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedLookupExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte requiresADL; - - [FieldOffset(105)] internal byte isOverloaded; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedLookupExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43715,82 +36801,33 @@ public bool IsOverloaded public unsafe partial class DependentScopeDeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(92)] internal byte hasTemplateKeyword; - - [FieldOffset(93)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(96)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25DependentScopeDeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43955,70 +36992,29 @@ public uint NumTemplateArgs public unsafe partial class ExprWithCleanups : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal uint numObjects; - - [FieldOffset(92)] internal byte cleanupsHaveSideEffects; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExprWithCleanupsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44118,79 +37114,32 @@ public bool CleanupsHaveSideEffects public unsafe partial class CXXUnresolvedConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(128)] internal byte isListInitialization; - - [FieldOffset(132)] internal uint arg_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26CXXUnresolvedConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44394,100 +37343,39 @@ public uint GetargumentsCount public unsafe partial class CXXDependentScopeMemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(104)] internal byte isArrow; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(112)] internal __IntPtr firstQualifierFoundInScope; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(128)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(132)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(136)] internal byte hasTemplateKeyword; - - [FieldOffset(137)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(140)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27CXXDependentScopeMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44734,106 +37622,41 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedMemberExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte isImplicitAccess; - - [FieldOffset(112)] internal __IntPtr @base; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(136)] internal byte hasUnresolvedUsing; - - [FieldOffset(137)] internal byte isArrow; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45001,67 +37824,28 @@ public bool IsArrow public unsafe partial class CXXNoexceptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXNoexceptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45162,67 +37946,28 @@ public bool Value public unsafe partial class PackExpansionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr pattern; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45323,79 +38068,32 @@ public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) public unsafe partial class SizeOfPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal packLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal __IntPtr pack; - - [FieldOffset(96)] internal uint packLength; - - [FieldOffset(100)] internal byte isPartiallySubstituted; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SizeOfPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45548,67 +38246,28 @@ public bool IsPartiallySubstituted public unsafe partial class SubstNonTypeTemplateParmExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(80)] internal __IntPtr replacement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST28SubstNonTypeTemplateParmExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45709,67 +38368,28 @@ public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemp public unsafe partial class SubstNonTypeTemplateParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.TemplateArgument.__Internal argumentPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32SubstNonTypeTemplateParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45871,67 +38491,28 @@ public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonType public unsafe partial class FunctionParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal uint numExpansions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20FunctionParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46031,73 +38612,30 @@ public uint NumExpansions public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr temporary; - - [FieldOffset(88)] internal __IntPtr TemporaryExpr; - - [FieldOffset(96)] internal uint manglingNumber; - - [FieldOffset(100)] internal byte isBoundToLvalueReference; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46109,7 +38647,7 @@ public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.A public unsafe partial class ExtraState : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExpr10ExtraStateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46335,85 +38873,34 @@ public bool IsBoundToLvalueReference public unsafe partial class CXXFoldExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal byte isRightFold; - - [FieldOffset(97)] internal byte isLeftFold; - - [FieldOffset(104)] internal __IntPtr pattern; - - [FieldOffset(112)] internal __IntPtr init; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.AST.BinaryOperatorKind _operator; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXFoldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46595,79 +39082,32 @@ public bool IsLeftFold public unsafe partial class CoroutineSuspendExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CoroutineSuspendExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46850,85 +39290,34 @@ public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) public unsafe partial class CoawaitExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal byte isImplicit; - - [FieldOffset(128)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47029,70 +39418,29 @@ public bool IsImplicit public unsafe partial class DependentCoawaitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal __IntPtr operatorCoawaitLookup; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20DependentCoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47207,82 +39555,33 @@ public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) public unsafe partial class CoyieldExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoyieldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47392,130 +39691,49 @@ public enum ParserIntType public unsafe partial class ParserTargetInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ABI; - - [FieldOffset(24)] internal global::CppSharp.Parser.ParserIntType char16Type; - - [FieldOffset(28)] internal global::CppSharp.Parser.ParserIntType char32Type; - - [FieldOffset(32)] internal global::CppSharp.Parser.ParserIntType int64Type; - - [FieldOffset(36)] internal global::CppSharp.Parser.ParserIntType intMaxType; - - [FieldOffset(40)] internal global::CppSharp.Parser.ParserIntType intPtrType; - - [FieldOffset(44)] internal global::CppSharp.Parser.ParserIntType sizeType; - - [FieldOffset(48)] internal global::CppSharp.Parser.ParserIntType uIntMaxType; - - [FieldOffset(52)] internal global::CppSharp.Parser.ParserIntType wCharType; - - [FieldOffset(56)] internal global::CppSharp.Parser.ParserIntType wIntType; - - [FieldOffset(60)] internal uint boolAlign; - - [FieldOffset(64)] internal uint boolWidth; - - [FieldOffset(68)] internal uint charAlign; - - [FieldOffset(72)] internal uint charWidth; - - [FieldOffset(76)] internal uint char16Align; - - [FieldOffset(80)] internal uint char16Width; - - [FieldOffset(84)] internal uint char32Align; - - [FieldOffset(88)] internal uint char32Width; - - [FieldOffset(92)] internal uint halfAlign; - - [FieldOffset(96)] internal uint halfWidth; - - [FieldOffset(100)] internal uint floatAlign; - - [FieldOffset(104)] internal uint floatWidth; - - [FieldOffset(108)] internal uint doubleAlign; - - [FieldOffset(112)] internal uint doubleWidth; - - [FieldOffset(116)] internal uint shortAlign; - - [FieldOffset(120)] internal uint shortWidth; - - [FieldOffset(124)] internal uint intAlign; - - [FieldOffset(128)] internal uint intWidth; - - [FieldOffset(132)] internal uint intMaxTWidth; - - [FieldOffset(136)] internal uint longAlign; - - [FieldOffset(140)] internal uint longWidth; - - [FieldOffset(144)] internal uint longDoubleAlign; - - [FieldOffset(148)] internal uint longDoubleWidth; - - [FieldOffset(152)] internal uint longLongAlign; - - [FieldOffset(156)] internal uint longLongWidth; - - [FieldOffset(160)] internal uint pointerAlign; - - [FieldOffset(164)] internal uint pointerWidth; - - [FieldOffset(168)] internal uint wCharAlign; - - [FieldOffset(172)] internal uint wCharWidth; - - [FieldOffset(176)] internal uint float128Align; - - [FieldOffset(180)] internal uint float128Width; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47526,6 +39744,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6getABIEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetABI(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6setABIEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetABI(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -47630,20 +39854,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string ABI - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->ABI)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->ABI), value); - } - } - public global::CppSharp.Parser.ParserIntType Char16Type { get @@ -48163,6 +40373,20 @@ public uint Float128Width ((__Internal*)__Instance)->float128Width = value; } } + + public string ABI + { + get + { + var ___ret = __Internal.GetABI(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetABI(__Instance, value); + } + } } } } @@ -48268,72 +40492,32 @@ protected Parser(void* native, bool skipVTables = false) public unsafe partial class CppParserOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 288)] + [StructLayout(LayoutKind.Sequential, Size = 296)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ CompilationOptions; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C LibraryFile; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SourceFiles; - - [FieldOffset(72)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ IncludeDirs; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SystemIncludeDirs; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Defines; - - [FieldOffset(144)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Undefines; - - [FieldOffset(168)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SupportedStdTypes; - - [FieldOffset(192)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SupportedFunctionTemplates; - - [FieldOffset(216)] internal __IntPtr ASTContext; - - [FieldOffset(224)] internal int toolSetToUse; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C targetTriple; - - [FieldOffset(256)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TargetTriple; + internal global::CppSharp.Parser.AST.CppAbi abi; internal byte noStandardIncludes; - - [FieldOffset(257)] internal byte noBuiltinIncludes; - - [FieldOffset(258)] internal byte microsoftMode; - - [FieldOffset(259)] internal byte verbose; - - [FieldOffset(260)] internal byte unityBuild; - - [FieldOffset(261)] internal byte skipPrivateDeclarations; - - [FieldOffset(262)] internal byte skipLayoutInfo; - - [FieldOffset(263)] internal byte skipFunctionBodies; - [FieldOffset(264)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C clangVersion; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ctor(__IntPtr __instance); @@ -48425,7 +40609,7 @@ public partial struct __Internal internal static extern void ClearSupportedFunctionTemplates(__IntPtr __instance); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getClangVersionEv", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void GetClangVersion(__IntPtr @return, __IntPtr __instance); + internal static extern __IntPtr GetClangVersion(); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions17getArgumentsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetArgumentsCount(__IntPtr __instance); @@ -48433,6 +40617,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions26getCompilationOptionsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetCompilationOptionsCount(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14getLibraryFileEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetLibraryFile(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14setLibraryFileEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetLibraryFile(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions19getSourceFilesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSourceFilesCount(__IntPtr __instance); @@ -48453,6 +40643,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions34getSupportedFunctionTemplatesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSupportedFunctionTemplatesCount(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getTargetTripleEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTargetTriple(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15setTargetTripleEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTargetTriple(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -48728,17 +40924,16 @@ public int ToolSetToUse } } - public string TargetTriple + public global::CppSharp.Parser.AST.CppAbi Abi { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->targetTriple)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->abi; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->targetTriple), value); + ((__Internal*)__Instance)->abi = value; } } @@ -48846,16 +41041,12 @@ public bool SkipFunctionBodies } } - public string ClangVersion + public static string ClangVersion { get { - var ___ret = new global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&___ret), __Instance); - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&___ret)); - var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); - __basicStringRet0.Dispose(); - return __retString0; + var ___ret = __Internal.GetClangVersion(); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } } @@ -48877,6 +41068,20 @@ public uint CompilationOptionsCount } } + public string LibraryFile + { + get + { + var ___ret = __Internal.GetLibraryFile(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetLibraryFile(__Instance, value); + } + } + public uint SourceFilesCount { get @@ -48939,20 +41144,29 @@ public uint SupportedFunctionTemplatesCount return ___ret; } } + + public string TargetTriple + { + get + { + var ___ret = __Internal.GetTargetTriple(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetTargetTriple(__Instance, value); + } + } } public unsafe partial class CppLinkerOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ LibraryDirs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Libraries; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppLinkerOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49181,22 +41395,13 @@ public uint LibrariesCount public unsafe partial class ParserDiagnostic : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C message; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Message; internal global::CppSharp.Parser.ParserDiagnosticLevel level; - - [FieldOffset(52)] internal int lineNumber; - - [FieldOffset(56)] internal int columnNumber; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49207,6 +41412,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10getMessageEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMessage(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10setMessageEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMessage(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -49311,89 +41528,82 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string FileName + public global::CppSharp.Parser.ParserDiagnosticLevel Level { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->level; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->level = value; } } - public string Message + public int LineNumber { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->message)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumber; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->message), value); + ((__Internal*)__Instance)->lineNumber = value; } } - public global::CppSharp.Parser.ParserDiagnosticLevel Level + public int ColumnNumber { get { - return ((__Internal*)__Instance)->level; + return ((__Internal*)__Instance)->columnNumber; } set { - ((__Internal*)__Instance)->level = value; + ((__Internal*)__Instance)->columnNumber = value; } } - public int LineNumber + public string FileName { get { - return ((__Internal*)__Instance)->lineNumber; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumber = value; + __Internal.SetFileName(__Instance, value); } } - public int ColumnNumber + public string Message { get { - return ((__Internal*)__Instance)->columnNumber; + var ___ret = __Internal.GetMessage(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->columnNumber = value; + __Internal.SetMessage(__Instance, value); } } } public unsafe partial class ParserResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.ParserResultKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S0_ Diagnostics; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S0_ Libraries; - - [FieldOffset(56)] internal __IntPtr targetInfo; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser12ParserResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49623,7 +41833,7 @@ public uint LibrariesCount public unsafe partial class ClangParser : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParserC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -49635,14 +41845,14 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser12ParseLibraryEPNS0_16CppLinkerOptionsE", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ParseLibrary(__IntPtr Opts); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Compile(__IntPtr Opts, __IntPtr File); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Compile(__IntPtr Opts, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); } public __IntPtr __Instance { get; protected set; } @@ -49761,11 +41971,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Build(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Build(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49773,11 +41979,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public static global::CppSharp.Parser.ParserResult Compile(global::CppSharp.Parser.CppParserOptions Opts, string File) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; - var __basicString1 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString1, File); - var __arg1 = __basicString1.__Instance; - var ___ret = __Internal.Compile(__arg0, __arg1); - __basicString1.Dispose(); + var ___ret = __Internal.Compile(__arg0, File); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49786,11 +41988,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Link(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Link(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49802,283 +42000,243 @@ namespace Std { namespace CompressedPair { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 { - [FieldOffset(0)] internal ulong __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ { - [FieldOffset(0)] internal global::Std.TreeEndNode.__Internal_Ptr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } } @@ -50088,497 +42246,307 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S1_ __end_cap_; } } @@ -50588,16 +42556,11 @@ namespace Std { namespace Tree { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_node_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; } } @@ -50607,10 +42570,9 @@ namespace Std { namespace Map { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ { - [FieldOffset(0)] internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; } } diff --git a/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std-symbols.cpp b/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std-symbols.cpp index 6d8a95789..26e5ae164 100644 --- a/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std-symbols.cpp +++ b/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std-symbols.cpp @@ -1,5 +1,5 @@ #define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -#define _LIBCPP_HAS_NO_EXCEPTIONS +#define _LIBCPP_HIDE_FROM_ABI #include #include diff --git a/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std.cs b/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std.cs index c82d3d89d..38e735b81 100644 --- a/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std.cs +++ b/src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std.cs @@ -58,7 +58,7 @@ namespace Std { namespace CharTraits { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -165,24 +165,21 @@ namespace Std { namespace CompressedPair { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_S___rep_S2_ { - [FieldOffset(0)] internal global::Std.BasicString.Rep.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair___i___N_std_N___1_S_allocator__i { - [FieldOffset(0)] internal __IntPtr __value_; } } @@ -192,7 +189,7 @@ namespace Std { namespace Allocator { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__19allocatorIcEC2B8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -303,10 +300,9 @@ namespace Std { namespace BasicString { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { - [FieldOffset(0)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_S___rep_S2_ __r_; [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -314,6 +310,9 @@ public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_ [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Assignc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s); } namespace Rep @@ -352,19 +351,12 @@ public unsafe partial struct __Internal namespace Long { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr __data_; - - [FieldOffset(8)] internal ulong __size_; - - [FieldOffset(16)] internal ulong __cap_; - - [FieldOffset(23)] internal ulong __is_long_; } @@ -392,10 +384,9 @@ public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_ namespace Raw { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal fixed ulong __words[3]; } } @@ -517,21 +508,10 @@ public unsafe static partial class BasicStringExtensions { public partial struct __Internal { - [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Assign(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s); - [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4dataB8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr Data(__IntPtr __instance); } - public static global::Std.BasicString, global::Std.Allocator> Assign(this global::Std.BasicString, global::Std.Allocator> @this, string __s) - { - var __arg0 = @this is null ? __IntPtr.Zero : @this.__Instance; - var ___ret = __Internal.Assign(__arg0, __s); - var __result0 = global::Std.BasicString, global::Std.Allocator>.__GetOrCreateInstance(___ret, false); - return __result0; - } - public static string Data(this global::Std.BasicString, global::Std.Allocator> @this) { var __arg0 = @this is null ? __IntPtr.Zero : @this.__Instance; @@ -545,29 +525,19 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector__i___N_std_N___1_S_allocator__i { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair___i___N_std_N___1_S_allocator__i __end_cap_; } } @@ -577,10 +547,9 @@ namespace Std { namespace TreeEndNode { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internal_Ptr { - [FieldOffset(0)] internal __IntPtr __left_; } } diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin/CppSharp.CppParser.cs index a43af2c03..1e59a1920 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin/CppSharp.CppParser.cs @@ -62,19 +62,12 @@ public enum ArchType public unsafe partial class NativeLibrary : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(12)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; internal global::CppSharp.Parser.AST.ArchType archType; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Symbols; - - [FieldOffset(28)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Dependencies; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -104,6 +97,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary17clearDependenciesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearDependencies(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary15getSymbolsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSymbolsCount(__IntPtr __instance); @@ -245,30 +244,30 @@ public void ClearDependencies() __Internal.ClearDependencies(__Instance); } - public string FileName + public global::CppSharp.Parser.AST.ArchType ArchType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->archType; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->archType = value; } } - public global::CppSharp.Parser.AST.ArchType ArchType + public string FileName { get { - return ((__Internal*)__Instance)->archType; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->archType = value; + __Internal.SetFileName(__Instance, value); } } @@ -293,10 +292,9 @@ public uint DependenciesCount public unsafe partial class Comment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7CommentC2ENS1_11CommentKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -424,10 +422,9 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BlockContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -518,13 +515,10 @@ public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) public unsafe partial class FullComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S0_ Blocks; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11FullCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -661,13 +655,10 @@ public uint BlocksCount public unsafe partial class InlineContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -771,16 +762,11 @@ public bool HasTrailingNewline public unsafe partial class ParagraphComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte isWhitespace; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S0_ Content; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ParagraphCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -930,19 +916,12 @@ public uint ContentCount public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -972,11 +951,10 @@ public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.Bl public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -986,6 +964,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -1094,13 +1078,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -1259,25 +1243,14 @@ public uint ArgumentsCount public unsafe partial class ParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.ParamCommandComment.PassDirection direction; - - [FieldOffset(28)] internal uint paramIndex; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1405,22 +1378,13 @@ public uint ParamIndex public unsafe partial class TParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector__i___N_std_N___1_S_allocator__i Position; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20TParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1556,14 +1520,11 @@ public uint PositionCount public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1573,6 +1534,12 @@ public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.A [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimBlockLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1658,35 +1625,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class VerbatimBlockComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S0_ Lines; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20VerbatimBlockCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1823,23 +1781,14 @@ public uint LinesCount public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1849,6 +1798,12 @@ public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.Bl [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1934,35 +1889,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class InlineCommandComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] internal uint commandId; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.InlineCommandComment.RenderKind commentRenderKind; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1998,11 +1944,10 @@ public enum RenderKind : uint public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2012,6 +1957,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2120,13 +2071,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -2270,13 +2221,10 @@ public uint ArgumentsCount public unsafe partial class HTMLTagComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14HTMLTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2367,19 +2315,12 @@ public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C tagName; - - [FieldOffset(20)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TagName; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S0_ Attributes; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2400,20 +2341,23 @@ public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HT [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment15clearAttributesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearAttributes(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment18getAttributesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetAttributesCount(__IntPtr __instance); } public unsafe partial class Attribute : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(12)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C value; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2423,6 +2367,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8getValueEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetValue(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8setValueEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetValue(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2531,13 +2487,13 @@ public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + __Internal.SetName(__Instance, value); } } @@ -2545,13 +2501,13 @@ public string Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->value)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetValue(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->value), value); + __Internal.SetValue(__Instance, value); } } } @@ -2661,13 +2617,13 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } @@ -2683,17 +2639,12 @@ public uint AttributesCount public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C tagName; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TagName; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2703,6 +2654,12 @@ public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTML [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new HTMLEndTagComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2788,30 +2745,25 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } } public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2821,6 +2773,12 @@ public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineCont [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new TextComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2906,32 +2864,25 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class RawComment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.RawCommentKind kind; - - [FieldOffset(4)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C briefText; - - [FieldOffset(28)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C BriefText; internal __IntPtr fullCommentBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2942,6 +2893,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12getBriefTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBriefText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12setBriefTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBriefText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -3059,45 +3022,45 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) } } - public string Text + public global::CppSharp.Parser.AST.FullComment FullCommentBlock { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; } } - public string BriefText + public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->briefText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->briefText), value); + __Internal.SetText(__Instance, value); } } - public global::CppSharp.Parser.AST.FullComment FullCommentBlock + public string BriefText { get { - var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); - return __result0; + var ___ret = __Internal.GetBriefText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetBriefText(__Instance, value); } } } @@ -3111,10 +3074,9 @@ namespace Parser { public unsafe partial struct SourceLocation { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal uint ID; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser14SourceLocationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3200,13 +3162,10 @@ public uint ID public unsafe partial class SourceRange : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11SourceRangeC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -3427,13 +3386,10 @@ public enum ExceptionSpecType public unsafe partial class Type : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4TypeC2ENS1_8TypeKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -3577,16 +3533,11 @@ public bool IsDependent public unsafe partial class TypeQualifiers : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 3)] + [StructLayout(LayoutKind.Sequential, Size = 3)] public partial struct __Internal { - [FieldOffset(0)] internal byte isConst; - - [FieldOffset(1)] internal byte isVolatile; - - [FieldOffset(2)] internal byte isRestrict; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14TypeQualifiersC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] @@ -3731,13 +3682,10 @@ public bool IsRestrict public unsafe partial class QualifiedType : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr type; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.TypeQualifiers.__Internal qualifiers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13QualifiedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3876,16 +3824,11 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TagType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7TagTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3976,25 +3919,14 @@ public TagType(global::CppSharp.Parser.AST.TagType _0) public unsafe partial class ArrayType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.ArrayType.ArraySize sizeType; - - [FieldOffset(20)] internal int size; - - [FieldOffset(24)] internal int elementSize; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ArrayTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4133,25 +4065,14 @@ public int ElementSize public unsafe partial class FunctionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.ExceptionSpecType exceptionSpecType; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12FunctionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4329,19 +4250,12 @@ public uint ParametersCount public unsafe partial class PointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedPointee; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.PointerType.TypeModifier modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11PointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4454,16 +4368,11 @@ public PointerType(global::CppSharp.Parser.AST.PointerType _0) public unsafe partial class MemberPointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MemberPointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4555,16 +4464,11 @@ public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) public unsafe partial class TypedefType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4655,19 +4559,12 @@ public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) public unsafe partial class AttributedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal modified; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal equivalent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4774,22 +4671,13 @@ public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) public unsafe partial class DecayedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal decayed; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal original; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DecayedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4911,19 +4799,12 @@ public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) public unsafe partial class TemplateArgument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TemplateArgument.ArgumentKind kind; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(12)] internal __IntPtr declaration; - - [FieldOffset(16)] internal int integral; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16TemplateArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5100,22 +4981,13 @@ public int Integral public unsafe partial class TemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(20)] internal __IntPtr _template; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26TemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5280,19 +5152,12 @@ public uint ArgumentsCount public unsafe partial class DependentTemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST35DependentTemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5443,25 +5308,14 @@ public uint ArgumentsCount public unsafe partial class TemplateParameterType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr parameter; - - [FieldOffset(12)] internal uint depth; - - [FieldOffset(16)] internal uint index; - - [FieldOffset(20)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TemplateParameterTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5609,19 +5463,12 @@ public bool IsParameterPack public unsafe partial class TemplateParameterSubstitutionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal replacement; - - [FieldOffset(16)] internal __IntPtr replacedParameter; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST33TemplateParameterSubstitutionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5727,19 +5574,12 @@ public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplatePar public unsafe partial class InjectedClassNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal injectedSpecializationType; - - [FieldOffset(16)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21InjectedClassNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5845,20 +5685,13 @@ public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifier; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C identifier; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Identifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -5868,6 +5701,12 @@ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13getIdentifierEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetIdentifier(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13setIdentifierEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetIdentifier(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new DependentNameType __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -5968,26 +5807,23 @@ public string Identifier { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->identifier)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetIdentifier(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->identifier), value); + __Internal.SetIdentifier(__Instance, value); } } } public unsafe partial class PackExpansionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6064,19 +5900,12 @@ public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) public unsafe partial class UnaryTransformType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UnaryTransformTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6183,16 +6012,11 @@ public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) public unsafe partial class UnresolvedUsingType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19UnresolvedUsingTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6283,19 +6107,12 @@ public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) public unsafe partial class VectorType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal elementType; - - [FieldOffset(16)] internal uint numElements; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10VectorTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6400,16 +6217,11 @@ public uint NumElements public unsafe partial class BuiltinType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.PrimitiveType type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11BuiltinTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6706,73 +6518,30 @@ public enum VTableComponentKind public unsafe partial class Declaration : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 116)] + [StructLayout(LayoutKind.Sequential, Size = 116)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclarationC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -6802,6 +6571,24 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration19clearRedeclarationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearRedeclarations(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6getUSREv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUSR(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6setUSREPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUSR(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12getDebugTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetDebugText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12setDebugTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetDebugText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration28getPreprocessedEntitiesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetPreprocessedEntitiesCount(__IntPtr __instance); @@ -7063,164 +6850,164 @@ public int LineNumberEnd } } - public string Name + public bool IsIncomplete { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isIncomplete != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); } } - public string USR + public bool IsDependent { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->USR)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isDependent != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->USR), value); + ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); } } - public string DebugText + public bool IsImplicit { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->debugText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isImplicit != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->debugText), value); + ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); } } - public bool IsIncomplete + public bool IsInvalid { get { - return ((__Internal*)__Instance)->isIncomplete != 0; + return ((__Internal*)__Instance)->isInvalid != 0; } set { - ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); } } - public bool IsDependent + public bool IsDeprecated { get { - return ((__Internal*)__Instance)->isDependent != 0; + return ((__Internal*)__Instance)->isDeprecated != 0; } set { - ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); } } - public bool IsImplicit + public global::CppSharp.Parser.AST.Declaration CompleteDeclaration { get { - return ((__Internal*)__Instance)->isImplicit != 0; + var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + return __result0; } set { - ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; } } - public bool IsInvalid + public uint DefinitionOrder { get { - return ((__Internal*)__Instance)->isInvalid != 0; + return ((__Internal*)__Instance)->definitionOrder; } set { - ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->definitionOrder = value; } } - public bool IsDeprecated + public __IntPtr OriginalPtr { get { - return ((__Internal*)__Instance)->isDeprecated != 0; + return ((__Internal*)__Instance)->originalPtr; } set { - ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; } } - public global::CppSharp.Parser.AST.Declaration CompleteDeclaration + public global::CppSharp.Parser.AST.RawComment Comment { get { - var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); return __result0; } set { - ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; + ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; } } - public uint DefinitionOrder + public string Name { get { - return ((__Internal*)__Instance)->definitionOrder; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definitionOrder = value; + __Internal.SetName(__Instance, value); } } - public __IntPtr OriginalPtr + public string USR { get { - return ((__Internal*)__Instance)->originalPtr; + var ___ret = __Internal.GetUSR(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; + __Internal.SetUSR(__Instance, value); } } - public global::CppSharp.Parser.AST.RawComment Comment + public string DebugText { get { - var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); - return __result0; + var ___ret = __Internal.GetDebugText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetDebugText(__Instance, value); } } @@ -7245,106 +7032,41 @@ public uint RedeclarationsCount public unsafe partial class DeclarationContext : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DeclarationContextC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -7835,76 +7557,31 @@ public uint FriendsCount public unsafe partial class TypedefNameDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 124)] + [StructLayout(LayoutKind.Sequential, Size = 124)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TypedefNameDeclC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -8019,76 +7696,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypedefDecl : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 124)] + [StructLayout(LayoutKind.Sequential, Size = 124)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8183,79 +7815,32 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypeAlias : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(124)] internal __IntPtr describedAliasTemplate; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9TypeAliasC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8364,76 +7949,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Friend : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6FriendC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8542,26 +8082,24 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class StatementObsolete : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(4)] internal __IntPtr decl; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -8627,19 +8165,6 @@ protected StatementObsolete(void* native, bool skipVTables = false) __Instance = new __IntPtr(native); } - public StatementObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) { __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); @@ -8702,33 +8227,25 @@ public string String { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + __Internal.SetString(__Instance, value); } } } public unsafe partial class ExpressionObsolete : global::CppSharp.Parser.AST.StatementObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(4)] internal __IntPtr decl; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -8780,20 +8297,6 @@ protected ExpressionObsolete(void* native, bool skipVTables = false) { } - public ExpressionObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) : this((void*) null) { @@ -8824,35 +8327,27 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BinaryOperatorObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(4)] internal __IntPtr decl; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(20)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal __IntPtr LHS; - - [FieldOffset(24)] internal __IntPtr RHS; - - [FieldOffset(28)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_18ExpressionObsoleteESD_SB_", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr lhs, __IntPtr rhs, __IntPtr opcodeStr); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperatorObsolete __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -8898,25 +8393,6 @@ protected BinaryOperatorObsolete(void* native, bool skipVTables = false) { } - public BinaryOperatorObsolete(string str, global::CppSharp.Parser.AST.ExpressionObsolete lhs, global::CppSharp.Parser.AST.ExpressionObsolete rhs, string opcodeStr) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperatorObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = lhs is null ? __IntPtr.Zero : lhs.__Instance; - var __arg2 = rhs is null ? __IntPtr.Zero : rhs.__Instance; - var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); - var __arg3 = __basicString3.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); - __basicString0.Dispose(); - __basicString3.Dispose(); - } - public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete _0) : this((void*) null) { @@ -8976,37 +8452,27 @@ public string OpcodeStr { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); + __Internal.SetOpcodeStr(__Instance, value); } } } public unsafe partial class CallExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(4)] internal __IntPtr decl; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(20)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9069,20 +8535,6 @@ protected CallExprObsolete(void* native, bool skipVTables = false) { } - public CallExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) : this((void*) null) { @@ -9143,24 +8595,14 @@ public uint ArgumentsCount public unsafe partial class CXXConstructExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(4)] internal __IntPtr decl; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(20)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9223,20 +8665,6 @@ protected CXXConstructExprObsolete(void* native, bool skipVTables = false) { } - public CXXConstructExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObsolete _0) : this((void*) null) { @@ -9297,91 +8725,36 @@ public uint ArgumentsCount public unsafe partial class Parameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 140)] + [StructLayout(LayoutKind.Sequential, Size = 140)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(124)] internal byte isIndirect; - - [FieldOffset(125)] internal byte hasDefaultValue; - - [FieldOffset(128)] internal uint index; - - [FieldOffset(132)] internal __IntPtr defaultArgument; - - [FieldOffset(136)] internal __IntPtr defaultValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9558,166 +8931,61 @@ public uint Index public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 336)] + [StructLayout(LayoutKind.Sequential, Size = 336)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(240)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(248)] internal byte isReturnIndirect; - - [FieldOffset(249)] internal byte hasThisReturn; - - [FieldOffset(250)] internal byte isConstExpr; - - [FieldOffset(251)] internal byte isVariadic; - - [FieldOffset(252)] internal byte isInline; - - [FieldOffset(253)] internal byte isPure; - - [FieldOffset(254)] internal byte isDeleted; - - [FieldOffset(255)] internal byte isDefaulted; - - [FieldOffset(256)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(260)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(264)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(276)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C signature; - - [FieldOffset(288)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C body; - - [FieldOffset(300)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(304)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(308)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(320)] internal __IntPtr specializationInfo; - - [FieldOffset(324)] internal __IntPtr instantiatedFrom; - - [FieldOffset(328)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FunctionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9738,6 +9006,24 @@ public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationCo [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function15clearParametersEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearParameters(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12getSignatureEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetSignature(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12setSignatureEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetSignature(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7getBodyEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBody(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7setBodyEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBody(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function18getParametersCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetParametersCount(__IntPtr __instance); } @@ -9987,48 +9273,6 @@ public bool IsDefaulted } } - public string Mangled - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); - } - } - - public string Signature - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->signature)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->signature), value); - } - } - - public string Body - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->body)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->body), value); - } - } - public global::CppSharp.Parser.AST.Stmt BodyStmt { get @@ -10099,6 +9343,48 @@ public string Body } } + public string Mangled + { + get + { + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetMangled(__Instance, value); + } + } + + public string Signature + { + get + { + var ___ret = __Internal.GetSignature(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetSignature(__Instance, value); + } + } + + public string Body + { + get + { + var ___ret = __Internal.GetBody(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBody(__Instance, value); + } + } + public uint ParametersCount { get @@ -10111,202 +9397,73 @@ public uint ParametersCount public unsafe partial class Method : global::CppSharp.Parser.AST.Function, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 376)] + [StructLayout(LayoutKind.Sequential, Size = 376)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(240)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(248)] internal byte isReturnIndirect; - - [FieldOffset(249)] internal byte hasThisReturn; - - [FieldOffset(250)] internal byte isConstExpr; - - [FieldOffset(251)] internal byte isVariadic; - - [FieldOffset(252)] internal byte isInline; - - [FieldOffset(253)] internal byte isPure; - - [FieldOffset(254)] internal byte isDeleted; - - [FieldOffset(255)] internal byte isDefaulted; - - [FieldOffset(256)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(260)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(264)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(276)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C signature; - - [FieldOffset(288)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C body; - - [FieldOffset(300)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(304)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(308)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(320)] internal __IntPtr specializationInfo; - - [FieldOffset(324)] internal __IntPtr instantiatedFrom; - - [FieldOffset(328)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(336)] internal byte isVirtual; - - [FieldOffset(337)] internal byte isStatic; - - [FieldOffset(338)] internal byte isConst; - - [FieldOffset(339)] internal byte isExplicit; - - [FieldOffset(340)] internal byte isVolatile; - - [FieldOffset(344)] internal global::CppSharp.Parser.AST.CXXMethodKind methodKind; - - [FieldOffset(348)] internal byte isDefaultConstructor; - - [FieldOffset(349)] internal byte isCopyConstructor; - - [FieldOffset(350)] internal byte isMoveConstructor; - - [FieldOffset(352)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal conversionType; - - [FieldOffset(360)] internal global::CppSharp.Parser.AST.RefQualifierKind refQualifier; - - [FieldOffset(364)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ OverriddenMethods; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6MethodC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10588,118 +9745,45 @@ public uint OverriddenMethodsCount public unsafe partial class Enumeration : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 264)] + [StructLayout(LayoutKind.Sequential, Size = 264)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(240)] internal global::CppSharp.Parser.AST.Enumeration.EnumModifiers modifiers; - - [FieldOffset(244)] internal __IntPtr type; - - [FieldOffset(248)] internal __IntPtr builtinType; - - [FieldOffset(252)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S0_ Items; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11EnumerationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10720,9 +9804,6 @@ public unsafe partial class Enumeration : global::CppSharp.Parser.AST.Declaratio [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration10clearItemsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearItems(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration14FindItemByNameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindItemByName(__IntPtr __instance, __IntPtr Name); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration13getItemsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetItemsCount(__IntPtr __instance); } @@ -10737,79 +9818,32 @@ public enum EnumModifiers public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C expression; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Expression; internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10820,6 +9854,12 @@ public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDis [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Item __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -10901,30 +9941,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Expression + public ulong Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->value; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->value = value; } } - public ulong Value + public string Expression { get { - return ((__Internal*)__Instance)->value; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->value = value; + __Internal.SetExpression(__Instance, value); } } } @@ -11029,17 +10069,6 @@ public void ClearItems() __Internal.ClearItems(__Instance); } - public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, Name); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindItemByName(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.Enumeration.Item.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.Enumeration.EnumModifiers Modifiers { get @@ -11093,85 +10122,34 @@ public uint ItemsCount public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal byte isConstExpr; - - [FieldOffset(120)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(132)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(140)] internal __IntPtr initializer; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11182,6 +10160,12 @@ public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Variable __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -11276,65 +10260,58 @@ public bool IsConstExpr } } - public string Mangled + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public global::CppSharp.Parser.AST.ExpressionObsolete Initializer { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); + return __result0; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; } } - public global::CppSharp.Parser.AST.ExpressionObsolete Initializer + public string Mangled { get { - var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); - return __result0; + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetMangled(__Instance, value); } } } public unsafe partial class BaseClassSpecifier : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(4)] internal byte isVirtual; - - [FieldOffset(8)] internal __IntPtr type; - - [FieldOffset(12)] internal int offset; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18BaseClassSpecifierC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11497,85 +10474,34 @@ public int Offset public unsafe partial class Field : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(124)] internal __IntPtr _class; - - [FieldOffset(128)] internal byte isBitField; - - [FieldOffset(132)] internal uint bitWidth; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5FieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11725,73 +10651,30 @@ public uint BitWidth public unsafe partial class AccessSpecifierDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 116)] + [StructLayout(LayoutKind.Sequential, Size = 116)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19AccessSpecifierDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11886,16 +10769,11 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class VTableComponent : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.VTableComponentKind kind; - - [FieldOffset(4)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15VTableComponentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12045,10 +10923,9 @@ public uint Offset public unsafe partial class VTableLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S0_ Components; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12VTableLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12207,19 +11084,12 @@ public uint ComponentsCount public unsafe partial class VFTableInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public partial struct __Internal { - [FieldOffset(0)] internal ulong VBTableIndex; - - [FieldOffset(8)] internal uint VFPtrOffset; - - [FieldOffset(12)] internal uint VFPtrFullOffset; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VFTableInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12391,19 +11261,12 @@ public uint VFPtrFullOffset public unsafe partial class LayoutField : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(4)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(16)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(24)] internal __IntPtr fieldPtr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12414,6 +11277,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -12531,58 +11400,55 @@ public uint Offset } } - public string Name + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public __IntPtr FieldPtr { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + return ((__Internal*)__Instance)->fieldPtr; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; } } - public __IntPtr FieldPtr + public string Name { get { - return ((__Internal*)__Instance)->fieldPtr; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; + __Internal.SetName(__Instance, value); } } } public unsafe partial class LayoutBase : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(4)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LayoutBaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12727,40 +11593,19 @@ public uint Offset public unsafe partial class ClassLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 76)] + [StructLayout(LayoutKind.Sequential, Size = 76)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CppAbi ABI; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.RecordArgABI argABI; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S0_ VFTables; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; - - [FieldOffset(32)] internal byte hasOwnVFPtr; - - [FieldOffset(36)] internal int VBPtrOffset; - - [FieldOffset(40)] internal int alignment; - - [FieldOffset(44)] internal int size; - - [FieldOffset(48)] internal int dataSize; - - [FieldOffset(52)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(64)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S0_ Bases; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11ClassLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13113,154 +11958,57 @@ public uint BasesCount public unsafe partial class Class : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 308)] + [StructLayout(LayoutKind.Sequential, Size = 308)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(240)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(252)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(276)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(288)] internal byte isPOD; - - [FieldOffset(289)] internal byte isAbstract; - - [FieldOffset(290)] internal byte isUnion; - - [FieldOffset(291)] internal byte isDynamic; - - [FieldOffset(292)] internal byte isPolymorphic; - - [FieldOffset(293)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(294)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(295)] internal byte hasNonTrivialDestructor; - - [FieldOffset(296)] internal byte isExternCContext; - - [FieldOffset(297)] internal byte isInjected; - - [FieldOffset(300)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(304)] internal __IntPtr layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5ClassC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13680,79 +12428,32 @@ public uint SpecifiersCount public unsafe partial class Template : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 132)] + [StructLayout(LayoutKind.Sequential, Size = 132)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr TemplatedDecl; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TemplateC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -13920,79 +12621,32 @@ public uint ParametersCount public unsafe partial class TypeAliasTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 132)] + [StructLayout(LayoutKind.Sequential, Size = 132)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr TemplatedDecl; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TypeAliasTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14087,82 +12741,33 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TemplateParameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal uint depth; - - [FieldOffset(120)] internal uint index; - - [FieldOffset(124)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TemplateParameterC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -14301,88 +12906,35 @@ public bool IsParameterPack public unsafe partial class TemplateTemplateParameter : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr TemplatedDecl; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(132)] internal byte isParameterPack; - - [FieldOffset(133)] internal byte isPackExpansion; - - [FieldOffset(134)] internal byte isExpandedParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25TemplateTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14516,85 +13068,34 @@ public bool IsExpandedParameterPack public unsafe partial class TypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal uint depth; - - [FieldOffset(120)] internal uint index; - - [FieldOffset(124)] internal byte isParameterPack; - - [FieldOffset(128)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal defaultArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14704,100 +13205,39 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class NonTypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal uint depth; - - [FieldOffset(120)] internal uint index; - - [FieldOffset(124)] internal byte isParameterPack; - - [FieldOffset(128)] internal __IntPtr defaultArgument; - - [FieldOffset(132)] internal __IntPtr defaultArgumentNew; - - [FieldOffset(136)] internal uint position; - - [FieldOffset(140)] internal byte isPackExpansion; - - [FieldOffset(141)] internal byte isExpandedParameterPack; - - [FieldOffset(144)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24NonTypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14974,82 +13414,33 @@ public bool IsExpandedParameterPack public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr TemplatedDecl; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(132)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15070,12 +13461,6 @@ public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate25FindPartialSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -15180,28 +13565,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -15214,163 +13577,60 @@ public uint SpecializationsCount public unsafe partial class ClassTemplateSpecialization : global::CppSharp.Parser.AST.Class, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 328)] + [StructLayout(LayoutKind.Sequential, Size = 328)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(240)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(252)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(276)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(288)] internal byte isPOD; - - [FieldOffset(289)] internal byte isAbstract; - - [FieldOffset(290)] internal byte isUnion; - - [FieldOffset(291)] internal byte isDynamic; - - [FieldOffset(292)] internal byte isPolymorphic; - - [FieldOffset(293)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(294)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(295)] internal byte hasNonTrivialDestructor; - - [FieldOffset(296)] internal byte isExternCContext; - - [FieldOffset(297)] internal byte isInjected; - - [FieldOffset(300)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(304)] internal __IntPtr layout; - - [FieldOffset(308)] internal __IntPtr templatedDecl; - - [FieldOffset(312)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(324)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27ClassTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15533,166 +13793,61 @@ public uint ArgumentsCount public unsafe partial class ClassTemplatePartialSpecialization : global::CppSharp.Parser.AST.ClassTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 340)] + [StructLayout(LayoutKind.Sequential, Size = 340)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(240)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(252)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(276)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(288)] internal byte isPOD; - - [FieldOffset(289)] internal byte isAbstract; - - [FieldOffset(290)] internal byte isUnion; - - [FieldOffset(291)] internal byte isDynamic; - - [FieldOffset(292)] internal byte isPolymorphic; - - [FieldOffset(293)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(294)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(295)] internal byte hasNonTrivialDestructor; - - [FieldOffset(296)] internal byte isExternCContext; - - [FieldOffset(297)] internal byte isInjected; - - [FieldOffset(300)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(304)] internal __IntPtr layout; - - [FieldOffset(308)] internal __IntPtr templatedDecl; - - [FieldOffset(312)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(324)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; - - [FieldOffset(328)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST34ClassTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15829,82 +13984,33 @@ public uint ParametersCount public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr TemplatedDecl; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(132)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15925,9 +14031,6 @@ public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Templ [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16032,17 +14135,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16055,19 +14147,12 @@ public uint SpecializationsCount public unsafe partial class FunctionTemplateSpecialization : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _template; - - [FieldOffset(4)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(16)] internal __IntPtr specializedFunction; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST30FunctionTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16267,82 +14352,33 @@ public uint ArgumentsCount public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal __IntPtr TemplatedDecl; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(132)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16363,12 +14399,6 @@ public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate25FindPartialSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16473,28 +14503,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.VarTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16507,94 +14515,37 @@ public uint SpecializationsCount public unsafe partial class VarTemplateSpecialization : global::CppSharp.Parser.AST.Variable, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 164)] + [StructLayout(LayoutKind.Sequential, Size = 164)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal byte isConstExpr; - - [FieldOffset(120)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(132)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(140)] internal __IntPtr initializer; - - [FieldOffset(144)] internal __IntPtr templatedDecl; - - [FieldOffset(148)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(160)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25VarTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16757,94 +14708,37 @@ public uint ArgumentsCount public unsafe partial class VarTemplatePartialSpecialization : global::CppSharp.Parser.AST.VarTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 164)] + [StructLayout(LayoutKind.Sequential, Size = 164)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal byte isConstExpr; - - [FieldOffset(120)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(132)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(140)] internal __IntPtr initializer; - - [FieldOffset(144)] internal __IntPtr templatedDecl; - - [FieldOffset(148)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(160)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32VarTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16939,73 +14833,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class UnresolvedUsingTypename : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 116)] + [StructLayout(LayoutKind.Sequential, Size = 116)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23UnresolvedUsingTypenameC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17100,109 +14951,42 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Namespace : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(237)] internal byte isInline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9NamespaceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17310,16 +15094,11 @@ public bool IsInline public unsafe partial class PreprocessedEntity : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(4)] internal __IntPtr originalPtr; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.DeclarationKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18PreprocessedEntityC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17468,28 +15247,15 @@ public __IntPtr OriginalPtr public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 44)] + [StructLayout(LayoutKind.Sequential, Size = 44)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(4)] internal __IntPtr originalPtr; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(12)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C expression; - - [FieldOffset(36)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Expression; internal int lineNumberStart; - - [FieldOffset(40)] internal int lineNumberEnd; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17500,6 +15266,18 @@ public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.Prepro [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroDefinition __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17581,82 +15359,71 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public int LineNumberStart { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberStart; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->lineNumberStart = value; } } - public string Expression + public int LineNumberEnd { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberEnd; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->lineNumberEnd = value; } } - public int LineNumberStart + public string Name { get { - return ((__Internal*)__Instance)->lineNumberStart; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberStart = value; + __Internal.SetName(__Instance, value); } } - public int LineNumberEnd + public string Expression { get { - return ((__Internal*)__Instance)->lineNumberEnd; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberEnd = value; + __Internal.SetExpression(__Instance, value); } } } public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(4)] internal __IntPtr originalPtr; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(12)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; - - [FieldOffset(36)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; internal __IntPtr definition; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17667,6 +15434,18 @@ public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.Preproc [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroExpansion __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17748,163 +15527,90 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public global::CppSharp.Parser.AST.MacroDefinition Definition { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; } } - public string Text + public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetName(__Instance, value); } } - public global::CppSharp.Parser.AST.MacroDefinition Definition + public string Text { get { - var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); - return __result0; + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetText(__Instance, value); } } } public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namespace, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 268)] + [StructLayout(LayoutKind.Sequential, Size = 268)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(24)] internal int lineNumberStart; - - [FieldOffset(28)] internal int lineNumberEnd; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(44)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(68)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(69)] internal byte isDependent; - - [FieldOffset(70)] internal byte isImplicit; - - [FieldOffset(71)] internal byte isInvalid; - - [FieldOffset(72)] internal byte isDeprecated; - - [FieldOffset(76)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(108)] internal __IntPtr originalPtr; - - [FieldOffset(112)] internal __IntPtr comment; - - [FieldOffset(116)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(128)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(140)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(152)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(164)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(176)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(188)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(212)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(224)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(236)] internal byte isAnonymous; - - [FieldOffset(237)] internal byte isInline; - - [FieldOffset(240)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(252)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; internal byte isSystemHeader; - - [FieldOffset(256)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S0_ Macros; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnitC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17925,6 +15631,12 @@ public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namesp [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11clearMacrosEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearMacros(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit14getMacrosCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetMacrosCount(__IntPtr __instance); } @@ -18029,30 +15741,30 @@ public void ClearMacros() __Internal.ClearMacros(__Instance); } - public string FileName + public bool IsSystemHeader { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isSystemHeader != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); } } - public bool IsSystemHeader + public string FileName { get { - return ((__Internal*)__Instance)->isSystemHeader != 0; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); + __Internal.SetFileName(__Instance, value); } } @@ -18068,10 +15780,9 @@ public uint MacrosCount public unsafe partial class ASTContext : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S0_ TranslationUnits; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18083,9 +15794,6 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext18FindOrCreateModuleENSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindOrCreateModule(__IntPtr __instance, __IntPtr File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext19getTranslationUnitsEj", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr GetTranslationUnits(__IntPtr __instance, uint i); @@ -18201,17 +15909,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public global::CppSharp.Parser.AST.TranslationUnit FindOrCreateModule(string File) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, File); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindOrCreateModule(__Instance, __arg0); - __basicString0.Dispose(disposing: true, callNativeDtor:false); - var __result0 = global::CppSharp.Parser.AST.TranslationUnit.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { var ___ret = __Internal.GetTranslationUnits(__Instance, i); @@ -18384,19 +16081,12 @@ public enum StmtClass public unsafe partial class Stmt : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4StmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18576,28 +16266,15 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class DeclStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ decls; - - [FieldOffset(32)] internal byte isSingleDecl; - - [FieldOffset(36)] internal __IntPtr singleDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8DeclStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18761,25 +16438,14 @@ public uint GetdeclsCount public unsafe partial class NullStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal semiLoc; - - [FieldOffset(24)] internal byte hasLeadingEmptyMacro; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8NullStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18879,40 +16545,19 @@ public bool HasLeadingEmptyMacro public unsafe partial class CompoundStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S0_ body; - - [FieldOffset(32)] internal byte body_empty; - - [FieldOffset(36)] internal uint size; - - [FieldOffset(40)] internal __IntPtr body_front; - - [FieldOffset(44)] internal __IntPtr body_back; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracLoc; - - [FieldOffset(52)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CompoundStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19129,28 +16774,15 @@ public uint GetbodyCount public unsafe partial class SwitchCase : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(28)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchCaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19281,43 +16913,20 @@ public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) public unsafe partial class CaseStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 52)] + [StructLayout(LayoutKind.Sequential, Size = 52)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(28)] internal __IntPtr subStmt; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal caseLoc; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(40)] internal __IntPtr lHS; - - [FieldOffset(44)] internal __IntPtr rHS; - - [FieldOffset(48)] internal byte caseStmtIsGNURange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CaseStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19458,31 +17067,16 @@ public bool CaseStmtIsGNURange public unsafe partial class DefaultStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(28)] internal __IntPtr subStmt; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DefaultStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19569,28 +17163,15 @@ public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) public unsafe partial class LabelStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal identLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; - - [FieldOffset(28)] internal __IntPtr name; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9LabelStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19719,25 +17300,14 @@ public string Name public unsafe partial class AttributedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal attrLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19838,55 +17408,24 @@ public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) public unsafe partial class IfStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr cond; - - [FieldOffset(24)] internal __IntPtr then; - - [FieldOffset(28)] internal __IntPtr _else; - - [FieldOffset(32)] internal __IntPtr init; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceLocation.__Internal ifLoc; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal elseLoc; - - [FieldOffset(44)] internal byte _constexpr; - - [FieldOffset(45)] internal byte hasInitStorage; - - [FieldOffset(46)] internal byte hasVarStorage; - - [FieldOffset(47)] internal byte hasElseStorage; - - [FieldOffset(48)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(52)] internal byte isObjCAvailabilityCheck; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6IfStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20121,43 +17660,20 @@ public bool IsObjCAvailabilityCheck public unsafe partial class SwitchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr cond; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(28)] internal __IntPtr init; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal switchLoc; - - [FieldOffset(36)] internal byte hasInitStorage; - - [FieldOffset(37)] internal byte hasVarStorage; - - [FieldOffset(40)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(44)] internal byte isAllEnumCasesCovered; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20339,34 +17855,17 @@ public bool IsAllEnumCasesCovered public unsafe partial class WhileStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr cond; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(28)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(32)] internal byte hasVarStorage; - - [FieldOffset(36)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9WhileStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20508,34 +18007,17 @@ public bool HasVarStorage public unsafe partial class DoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr cond; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(28)] internal global::CppSharp.Parser.SourceLocation.__Internal doLoc; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6DoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20676,43 +18158,20 @@ public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) public unsafe partial class ForStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 52)] + [StructLayout(LayoutKind.Sequential, Size = 52)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr init; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(28)] internal __IntPtr inc; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(48)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7ForStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20895,25 +18354,14 @@ public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) public unsafe partial class GotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8GotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21013,28 +18461,15 @@ public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) public unsafe partial class IndirectGotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal starLoc; - - [FieldOffset(28)] internal __IntPtr target; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16IndirectGotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21148,22 +18583,13 @@ public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) public unsafe partial class ContinueStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal continueLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ContinueStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21250,22 +18676,13 @@ public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) public unsafe partial class BreakStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal breakLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BreakStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21352,25 +18769,14 @@ public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) public unsafe partial class ReturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr retValue; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal returnLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ReturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21471,46 +18877,21 @@ public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) public unsafe partial class AsmStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(48)] internal byte simple; - - [FieldOffset(49)] internal byte _volatile; - - [FieldOffset(52)] internal uint numOutputs; - - [FieldOffset(56)] internal uint numPlusOperands; - - [FieldOffset(60)] internal uint numInputs; - - [FieldOffset(64)] internal uint numClobbers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7AsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21797,49 +19178,22 @@ public uint GetoutputsCount public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(48)] internal byte simple; - - [FieldOffset(49)] internal byte _volatile; - - [FieldOffset(52)] internal uint numOutputs; - - [FieldOffset(56)] internal uint numPlusOperands; - - [FieldOffset(60)] internal uint numInputs; - - [FieldOffset(64)] internal uint numClobbers; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21854,22 +19208,13 @@ public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, ID public unsafe partial class AsmStringPiece : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal byte isString; - - [FieldOffset(1)] internal byte isOperand; - - [FieldOffset(4)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(16)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal uint operandNo; - - [FieldOffset(20)] internal sbyte modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21880,6 +19225,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum Kind @@ -22016,43 +19367,43 @@ public bool IsOperand } } - public string String + public uint OperandNo { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->operandNo; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + ((__Internal*)__Instance)->operandNo = value; } } - public uint OperandNo + public sbyte Modifier { get { - return ((__Internal*)__Instance)->operandNo; + return ((__Internal*)__Instance)->modifier; } set { - ((__Internal*)__Instance)->operandNo = value; + ((__Internal*)__Instance)->modifier = value; } } - public sbyte Modifier + public string String { get { - return ((__Internal*)__Instance)->modifier; + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->modifier = value; + __Internal.SetString(__Instance, value); } } } @@ -22152,59 +19503,26 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(48)] internal byte simple; - - [FieldOffset(49)] internal byte _volatile; - - [FieldOffset(52)] internal uint numOutputs; - - [FieldOffset(56)] internal uint numPlusOperands; - - [FieldOffset(60)] internal uint numInputs; - - [FieldOffset(64)] internal uint numClobbers; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(72)] internal byte hasBraces; - - [FieldOffset(76)] internal uint numAsmToks; - - [FieldOffset(80)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C asmString; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C AsmString; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -22214,6 +19532,12 @@ public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDi [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12getAsmStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetAsmString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12setAsmStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetAsmString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MSAsmStmt __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -22338,41 +19662,28 @@ public string AsmString { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->asmString)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetAsmString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->asmString), value); + __Internal.SetAsmString(__Instance, value); } } } public unsafe partial class SEHExceptStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal exceptLoc; - - [FieldOffset(24)] internal __IntPtr filterExpr; - - [FieldOffset(28)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13SEHExceptStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22487,25 +19798,14 @@ public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) public unsafe partial class SEHFinallyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal finallyLoc; - - [FieldOffset(24)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SEHFinallyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22606,37 +19906,18 @@ public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) public unsafe partial class SEHTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 44)] + [StructLayout(LayoutKind.Sequential, Size = 44)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal byte isCXXTry; - - [FieldOffset(28)] internal __IntPtr tryBlock; - - [FieldOffset(32)] internal __IntPtr handler; - - [FieldOffset(36)] internal __IntPtr exceptHandler; - - [FieldOffset(40)] internal __IntPtr finallyHandler; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SEHTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22792,22 +20073,13 @@ public bool IsCXXTry public unsafe partial class SEHLeaveStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal leaveLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12SEHLeaveStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22894,28 +20166,15 @@ public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) public unsafe partial class CapturedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ capture_inits; - - [FieldOffset(32)] internal __IntPtr capturedStmt; - - [FieldOffset(36)] internal uint capture_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22950,25 +20209,14 @@ public enum VariableCaptureKind public unsafe partial class Capture : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CapturedStmt.VariableCaptureKind captureKind; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(8)] internal byte capturesThis; - - [FieldOffset(9)] internal byte capturesVariable; - - [FieldOffset(10)] internal byte capturesVariableByCopy; - - [FieldOffset(11)] internal byte capturesVariableArrayType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmt7CaptureC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23293,28 +20541,15 @@ public uint GetcaptureInitsCount public unsafe partial class CXXCatchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal catchLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal caughtType; - - [FieldOffset(32)] internal __IntPtr handlerBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXCatchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23430,28 +20665,15 @@ public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) public unsafe partial class CXXTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal __IntPtr tryBlock; - - [FieldOffset(28)] internal uint numHandlers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23565,58 +20787,25 @@ public uint NumHandlers public unsafe partial class CXXForRangeStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal __IntPtr init; - - [FieldOffset(24)] internal __IntPtr rangeInit; - - [FieldOffset(28)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr inc; - - [FieldOffset(36)] internal __IntPtr body; - - [FieldOffset(40)] internal __IntPtr rangeStmt; - - [FieldOffset(44)] internal __IntPtr beginStmt; - - [FieldOffset(48)] internal __IntPtr endStmt; - - [FieldOffset(52)] internal __IntPtr loopVarStmt; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal coawaitLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXForRangeStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23868,31 +21057,16 @@ public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) public unsafe partial class MSDependentExistsStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal byte isIfExists; - - [FieldOffset(25)] internal byte isIfNotExists; - - [FieldOffset(28)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21MSDependentExistsStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24019,58 +21193,25 @@ public bool IsIfNotExists public unsafe partial class CoroutineBodyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte hasDependentPromiseType; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(28)] internal __IntPtr promiseDeclStmt; - - [FieldOffset(32)] internal __IntPtr initSuspendStmt; - - [FieldOffset(36)] internal __IntPtr finalSuspendStmt; - - [FieldOffset(40)] internal __IntPtr exceptionHandler; - - [FieldOffset(44)] internal __IntPtr fallthroughHandler; - - [FieldOffset(48)] internal __IntPtr allocate; - - [FieldOffset(52)] internal __IntPtr deallocate; - - [FieldOffset(56)] internal __IntPtr returnValueInit; - - [FieldOffset(60)] internal __IntPtr resultDecl; - - [FieldOffset(64)] internal __IntPtr returnStmt; - - [FieldOffset(68)] internal __IntPtr returnStmtOnAllocFailure; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24099,7 +21240,7 @@ public enum SubStmt public unsafe partial class CtorArgs : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmt8CtorArgsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24452,31 +21593,16 @@ public bool HasDependentPromiseType public unsafe partial class CoreturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte isImplicit; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(28)] internal __IntPtr operand; - - [FieldOffset(32)] internal __IntPtr promiseCall; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CoreturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24804,61 +21930,26 @@ public enum UnaryExprOrTypeTrait public unsafe partial class Expr : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4ExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24937,31 +22028,16 @@ public enum NullPointerConstantValueDependence public unsafe partial class Classification : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.Expr.Classification.Kinds kind; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.Expr.Classification.ModifiableType modifiable; - - [FieldOffset(8)] internal byte isLValue; - - [FieldOffset(9)] internal byte isXValue; - - [FieldOffset(10)] internal byte isGLValue; - - [FieldOffset(11)] internal byte isPRValue; - - [FieldOffset(12)] internal byte isRValue; - - [FieldOffset(13)] internal byte isModifiable; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4Expr14ClassificationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25468,64 +22544,27 @@ public bool HasPlaceholderType public unsafe partial class FullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25630,64 +22669,27 @@ public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) public unsafe partial class ConstantExpr : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ConstantExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25761,70 +22763,29 @@ public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) public unsafe partial class OpaqueValueExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte isUnique; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal __IntPtr sourceExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15OpaqueValueExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25938,97 +22899,38 @@ public bool IsUnique public unsafe partial class DeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal byte hadMultipleCandidates; - - [FieldOffset(61)] internal byte hasQualifier; - - [FieldOffset(64)] internal __IntPtr foundDecl; - - [FieldOffset(68)] internal byte hasTemplateKWAndArgsInfo; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(84)] internal byte hasTemplateKeyword; - - [FieldOffset(85)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(88)] internal uint numTemplateArgs; - - [FieldOffset(92)] internal byte refersToEnclosingVariableOrCapture; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26259,67 +23161,28 @@ public bool RefersToEnclosingVariableOrCapture public unsafe partial class IntegerLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14IntegerLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26419,67 +23282,28 @@ public ulong Value public unsafe partial class FixedPointLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17FixedPointLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26579,70 +23403,29 @@ public ulong Value public unsafe partial class CharacterLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal global::CppSharp.Parser.AST.CharacterLiteral.CharacterKind kind; - - [FieldOffset(64)] internal uint value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CharacterLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26764,70 +23547,29 @@ public uint Value public unsafe partial class FloatingLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte exact; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal double valueAsApproximateDouble; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15FloatingLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26940,64 +23682,27 @@ public double ValueAsApproximateDouble public unsafe partial class ImaginaryLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImaginaryLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27085,106 +23790,41 @@ public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 108)] + [StructLayout(LayoutKind.Sequential, Size = 108)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(68)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C bytes; - - [FieldOffset(80)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Bytes; internal uint byteLength; - - [FieldOffset(84)] internal uint length; - - [FieldOffset(88)] internal uint charByteWidth; - - [FieldOffset(92)] internal global::CppSharp.Parser.AST.StringLiteral.StringKind kind; - - [FieldOffset(96)] internal byte isAscii; - - [FieldOffset(97)] internal byte isWide; - - [FieldOffset(98)] internal byte isUTF8; - - [FieldOffset(99)] internal byte isUTF16; - - [FieldOffset(100)] internal byte isUTF32; - - [FieldOffset(101)] internal byte isPascal; - - [FieldOffset(102)] internal byte containsNonAscii; - - [FieldOffset(103)] internal byte containsNonAsciiOrNull; - - [FieldOffset(104)] internal uint numConcatenated; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27195,6 +23835,18 @@ public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8getBytesEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBytes(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8setBytesEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBytes(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum StringKind @@ -27285,34 +23937,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string String - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); - } - } - - public string Bytes - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->bytes)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->bytes), value); - } - } - public uint ByteLength { get @@ -27481,71 +24105,60 @@ public uint NumConcatenated ((__Internal*)__Instance)->numConcatenated = value; } } + + public string String + { + get + { + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetString(__Instance, value); + } + } + + public string Bytes + { + get + { + var ___ret = __Internal.GetBytes(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBytes(__Instance, value); + } + } } public unsafe partial class PredefinedExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal global::CppSharp.Parser.AST.PredefinedExpr.IdentKind identKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14PredefinedExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27657,70 +24270,29 @@ public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) public unsafe partial class ParenExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParen; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParen; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParenExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27834,94 +24406,37 @@ public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) public unsafe partial class UnaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 76)] + [StructLayout(LayoutKind.Sequential, Size = 76)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.UnaryOperatorKind opcode; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(68)] internal byte canOverflow; - - [FieldOffset(69)] internal byte isPrefix; - - [FieldOffset(70)] internal byte isPostfix; - - [FieldOffset(71)] internal byte isIncrementOp; - - [FieldOffset(72)] internal byte isDecrementOp; - - [FieldOffset(73)] internal byte isIncrementDecrementOp; - - [FieldOffset(74)] internal byte isArithmeticOp; - - [FieldOffset(75)] internal byte isFPContractableWithinStatement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13UnaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28139,73 +24654,30 @@ public bool IsFPContractableWithinStatement public unsafe partial class OffsetOfExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(64)] internal uint numComponents; - - [FieldOffset(68)] internal uint numExpressions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OffsetOfExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28331,82 +24803,33 @@ public uint NumExpressions public unsafe partial class UnaryExprOrTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.UnaryExprOrTypeTrait kind; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(68)] internal byte isArgumentType; - - [FieldOffset(72)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal argumentType; - - [FieldOffset(80)] internal __IntPtr argumentExpr; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeOfArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24UnaryExprOrTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28576,76 +24999,31 @@ public bool IsArgumentType public unsafe partial class ArraySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 76)] + [StructLayout(LayoutKind.Sequential, Size = 76)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr lHS; - - [FieldOffset(60)] internal __IntPtr rHS; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(68)] internal __IntPtr @base; - - [FieldOffset(72)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArraySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28788,88 +25166,35 @@ public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) public unsafe partial class CallExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 100)] + [StructLayout(LayoutKind.Sequential, Size = 100)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal __IntPtr callee; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal __IntPtr calleeDecl; - - [FieldOffset(80)] internal __IntPtr directCallee; - - [FieldOffset(84)] internal uint numArgs; - - [FieldOffset(88)] internal uint numCommas; - - [FieldOffset(92)] internal uint builtinCallee; - - [FieldOffset(96)] internal byte isCallToStdMove; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29130,100 +25455,39 @@ public uint GetargumentsCount public unsafe partial class MemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 100)] + [StructLayout(LayoutKind.Sequential, Size = 100)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr @base; - - [FieldOffset(60)] internal byte arrow; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(68)] internal byte hadMultipleCandidates; - - [FieldOffset(69)] internal byte hasQualifier; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(84)] internal byte hasTemplateKeyword; - - [FieldOffset(85)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(88)] internal uint numTemplateArgs; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(96)] internal byte isImplicitAccess; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10MemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29467,70 +25731,29 @@ public bool IsImplicitAccess public unsafe partial class CompoundLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr initializer; - - [FieldOffset(60)] internal byte fileScope; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CompoundLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29644,82 +25867,33 @@ public bool FileScope public unsafe partial class CastExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29919,85 +26093,34 @@ public uint PathSize public unsafe partial class ImplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal byte isPartOfExplicitCast; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30089,85 +26212,34 @@ public bool IsPartOfExplicitCast public unsafe partial class ExplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30273,91 +26345,36 @@ public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) public unsafe partial class CStyleCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 100)] + [StructLayout(LayoutKind.Sequential, Size = 100)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14CStyleCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30457,118 +26474,45 @@ public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 100)] + [StructLayout(LayoutKind.Sequential, Size = 100)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(64)] internal __IntPtr lHS; - - [FieldOffset(68)] internal __IntPtr rHS; - - [FieldOffset(72)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [FieldOffset(84)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(85)] internal byte isMultiplicativeOp; - - [FieldOffset(86)] internal byte isAdditiveOp; - - [FieldOffset(87)] internal byte isShiftOp; - - [FieldOffset(88)] internal byte isBitwiseOp; - - [FieldOffset(89)] internal byte isRelationalOp; - - [FieldOffset(90)] internal byte isEqualityOp; - - [FieldOffset(91)] internal byte isComparisonOp; - - [FieldOffset(92)] internal byte isLogicalOp; - - [FieldOffset(93)] internal byte isAssignmentOp; - - [FieldOffset(94)] internal byte isCompoundAssignmentOp; - - [FieldOffset(95)] internal byte isShiftAssignOp; - - [FieldOffset(96)] internal byte isFPContractableWithinStatement; - - [FieldOffset(97)] internal byte isFEnvAccessOn; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30582,6 +26526,12 @@ public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, I [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperator __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -30731,20 +26681,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string OpcodeStr - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); - } - } - public bool IsPtrMemOp { get @@ -30926,128 +26862,65 @@ public bool IsFEnvAccessOn ((__Internal*)__Instance)->isFEnvAccessOn = (byte) (value ? 1 : 0); } } + + public string OpcodeStr + { + get + { + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetOpcodeStr(__Instance, value); + } + } } public unsafe partial class CompoundAssignOperator : global::CppSharp.Parser.AST.BinaryOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 116)] + [StructLayout(LayoutKind.Sequential, Size = 116)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(64)] internal __IntPtr lHS; - - [FieldOffset(68)] internal __IntPtr rHS; - - [FieldOffset(72)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [FieldOffset(84)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(85)] internal byte isMultiplicativeOp; - - [FieldOffset(86)] internal byte isAdditiveOp; - - [FieldOffset(87)] internal byte isShiftOp; - - [FieldOffset(88)] internal byte isBitwiseOp; - - [FieldOffset(89)] internal byte isRelationalOp; - - [FieldOffset(90)] internal byte isEqualityOp; - - [FieldOffset(91)] internal byte isComparisonOp; - - [FieldOffset(92)] internal byte isLogicalOp; - - [FieldOffset(93)] internal byte isAssignmentOp; - - [FieldOffset(94)] internal byte isCompoundAssignmentOp; - - [FieldOffset(95)] internal byte isShiftAssignOp; - - [FieldOffset(96)] internal byte isFPContractableWithinStatement; - - [FieldOffset(97)] internal byte isFEnvAccessOn; - - [FieldOffset(100)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationLHSType; - - [FieldOffset(108)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CompoundAssignOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31172,76 +27045,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class AbstractConditionalOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 76)] + [StructLayout(LayoutKind.Sequential, Size = 76)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr cond; - - [FieldOffset(60)] internal __IntPtr trueExpr; - - [FieldOffset(64)] internal __IntPtr falseExpr; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27AbstractConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31400,82 +27228,33 @@ public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractCondition public unsafe partial class ConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr cond; - - [FieldOffset(60)] internal __IntPtr trueExpr; - - [FieldOffset(64)] internal __IntPtr falseExpr; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(76)] internal __IntPtr lHS; - - [FieldOffset(80)] internal __IntPtr rHS; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31577,82 +27356,33 @@ public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) public unsafe partial class BinaryConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr cond; - - [FieldOffset(60)] internal __IntPtr trueExpr; - - [FieldOffset(64)] internal __IntPtr falseExpr; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(76)] internal __IntPtr common; - - [FieldOffset(80)] internal __IntPtr opaqueValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25BinaryConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31754,67 +27484,28 @@ public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOp public unsafe partial class AddrLabelExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal ampAmpLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13AddrLabelExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31914,70 +27605,29 @@ public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) public unsafe partial class StmtExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subStmt; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8StmtExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32091,70 +27741,29 @@ public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) public unsafe partial class ShuffleVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(64)] internal uint numSubExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ShuffleVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32267,70 +27876,29 @@ public uint NumSubExprs public unsafe partial class ConvertVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr srcExpr; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ConvertVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32444,85 +28012,34 @@ public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) public unsafe partial class ChooseExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte isConditionTrue; - - [FieldOffset(56)] internal __IntPtr cond; - - [FieldOffset(60)] internal __IntPtr lHS; - - [FieldOffset(64)] internal __IntPtr rHS; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal byte isConditionDependent; - - [FieldOffset(80)] internal __IntPtr chosenSubExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ChooseExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32704,64 +28221,27 @@ public bool IsConditionDependent public unsafe partial class GNUNullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal tokenLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11GNUNullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32848,73 +28328,30 @@ public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) public unsafe partial class VAArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; - - [FieldOffset(60)] internal byte isMicrosoftABI; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9VAArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33041,97 +28478,38 @@ public bool IsMicrosoftABI public unsafe partial class InitListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr arrayFiller; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rBraceLoc; - - [FieldOffset(68)] internal __IntPtr syntacticForm; - - [FieldOffset(72)] internal uint numInits; - - [FieldOffset(76)] internal byte hasArrayFiller; - - [FieldOffset(77)] internal byte isExplicit; - - [FieldOffset(78)] internal byte isStringLiteralInit; - - [FieldOffset(79)] internal byte isTransparent; - - [FieldOffset(80)] internal byte isSemanticForm; - - [FieldOffset(84)] internal __IntPtr semanticForm; - - [FieldOffset(88)] internal byte isSyntacticForm; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12InitListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33364,79 +28742,32 @@ public bool IsSyntacticForm public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal equalOrColonLoc; - - [FieldOffset(60)] internal __IntPtr init; - - [FieldOffset(64)] internal uint size; - - [FieldOffset(68)] internal byte usesGNUSyntax; - - [FieldOffset(72)] internal uint numSubExprs; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceRange.__Internal designatorsSourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33448,40 +28779,19 @@ public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Exp public unsafe partial class Designator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr field; - - [FieldOffset(4)] internal byte isFieldDesignator; - - [FieldOffset(5)] internal byte isArrayDesignator; - - [FieldOffset(6)] internal byte isArrayRangeDesignator; - - [FieldOffset(8)] internal global::CppSharp.Parser.SourceLocation.__Internal dotLoc; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal fieldLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracketLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(28)] internal uint firstExprIndex; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr10DesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33737,7 +29047,7 @@ public uint FirstExprIndex public unsafe partial class FieldDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr15FieldDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33847,7 +29157,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class ArrayOrRangeDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr22ArrayOrRangeDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34100,61 +29410,26 @@ public uint NumSubExprs public unsafe partial class NoInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10NoInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34228,67 +29503,28 @@ public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) public unsafe partial class DesignatedInitUpdateExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr @base; - - [FieldOffset(60)] internal __IntPtr updater; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24DesignatedInitUpdateExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34390,67 +29626,28 @@ public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdate public unsafe partial class ArrayInitLoopExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr commonExpr; - - [FieldOffset(60)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ArrayInitLoopExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34552,61 +29749,26 @@ public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) public unsafe partial class ArrayInitIndexExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayInitIndexExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34680,61 +29842,26 @@ public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) public unsafe partial class ImplicitValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21ImplicitValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34808,70 +29935,29 @@ public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _ public unsafe partial class ParenListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal uint numExprs; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ParenListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34984,85 +30070,34 @@ public uint NumExprs public unsafe partial class GenericSelectionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal uint numAssocs; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal genericLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(72)] internal __IntPtr controllingExpr; - - [FieldOffset(76)] internal byte isResultDependent; - - [FieldOffset(80)] internal uint resultIndex; - - [FieldOffset(84)] internal __IntPtr resultExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20GenericSelectionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35242,76 +30277,31 @@ public uint ResultIndex public unsafe partial class ExtVectorElementExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr @base; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal accessorLoc; - - [FieldOffset(64)] internal uint numElements; - - [FieldOffset(68)] internal byte containsDuplicateElements; - - [FieldOffset(69)] internal byte isArrow; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20ExtVectorElementExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35451,67 +30441,28 @@ public bool IsArrow public unsafe partial class BlockExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal caretLocation; - - [FieldOffset(60)] internal __IntPtr body; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BlockExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35612,70 +30563,29 @@ public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) public unsafe partial class AsTypeExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr srcExpr; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AsTypeExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35789,73 +30699,30 @@ public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) public unsafe partial class PseudoObjectExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr syntacticForm; - - [FieldOffset(60)] internal uint resultExprIndex; - - [FieldOffset(64)] internal __IntPtr resultExpr; - - [FieldOffset(68)] internal uint numSemanticExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16PseudoObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35983,106 +30850,41 @@ public uint NumSemanticExprs public unsafe partial class AtomicExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr ptr; - - [FieldOffset(60)] internal __IntPtr order; - - [FieldOffset(64)] internal __IntPtr scope; - - [FieldOffset(68)] internal __IntPtr val1; - - [FieldOffset(72)] internal __IntPtr orderFail; - - [FieldOffset(76)] internal __IntPtr val2; - - [FieldOffset(80)] internal __IntPtr weak; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal valueType; - - [FieldOffset(92)] internal global::CppSharp.Parser.AST.AtomicExpr.AtomicOp op; - - [FieldOffset(96)] internal uint numSubExprs; - - [FieldOffset(100)] internal byte isVolatile; - - [FieldOffset(101)] internal byte isCmpXChg; - - [FieldOffset(102)] internal byte isOpenCL; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AtomicExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36410,61 +31212,26 @@ public bool IsOpenCL public unsafe partial class TypoExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TypoExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36538,100 +31305,39 @@ public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) public unsafe partial class CXXOperatorCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal __IntPtr callee; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal __IntPtr calleeDecl; - - [FieldOffset(80)] internal __IntPtr directCallee; - - [FieldOffset(84)] internal uint numArgs; - - [FieldOffset(88)] internal uint numCommas; - - [FieldOffset(92)] internal uint builtinCallee; - - [FieldOffset(96)] internal byte isCallToStdMove; - - [FieldOffset(100)] internal global::CppSharp.Parser.AST.OverloadedOperatorKind _operator; - - [FieldOffset(104)] internal byte isAssignmentOp; - - [FieldOffset(105)] internal byte isInfixBinaryOp; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CXXOperatorCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36778,94 +31484,37 @@ public bool IsInfixBinaryOp public unsafe partial class CXXMemberCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 108)] + [StructLayout(LayoutKind.Sequential, Size = 108)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal __IntPtr callee; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal __IntPtr calleeDecl; - - [FieldOffset(80)] internal __IntPtr directCallee; - - [FieldOffset(84)] internal uint numArgs; - - [FieldOffset(88)] internal uint numCommas; - - [FieldOffset(92)] internal uint builtinCallee; - - [FieldOffset(96)] internal byte isCallToStdMove; - - [FieldOffset(100)] internal __IntPtr implicitObjectArgument; - - [FieldOffset(104)] internal __IntPtr methodDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXMemberCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36988,91 +31637,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CUDAKernelCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal __IntPtr callee; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal __IntPtr calleeDecl; - - [FieldOffset(80)] internal __IntPtr directCallee; - - [FieldOffset(84)] internal uint numArgs; - - [FieldOffset(88)] internal uint numCommas; - - [FieldOffset(92)] internal uint builtinCallee; - - [FieldOffset(96)] internal byte isCallToStdMove; - - [FieldOffset(100)] internal __IntPtr config; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CUDAKernelCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37181,97 +31775,38 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXNamedCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal __IntPtr castName; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXNamedCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37431,97 +31966,38 @@ public string CastName public unsafe partial class CXXStaticCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal __IntPtr castName; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXStaticCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37595,100 +32071,39 @@ public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) public unsafe partial class CXXDynamicCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 116)] + [StructLayout(LayoutKind.Sequential, Size = 116)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal __IntPtr castName; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; - - [FieldOffset(112)] internal byte isAlwaysNull; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDynamicCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37775,97 +32190,38 @@ public bool IsAlwaysNull public unsafe partial class CXXReinterpretCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal __IntPtr castName; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXReinterpretCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37939,97 +32295,38 @@ public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr public unsafe partial class CXXConstCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal __IntPtr castName; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38103,97 +32400,38 @@ public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) public unsafe partial class UserDefinedLiteral : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal __IntPtr callee; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal __IntPtr calleeDecl; - - [FieldOffset(80)] internal __IntPtr directCallee; - - [FieldOffset(84)] internal uint numArgs; - - [FieldOffset(88)] internal uint numCommas; - - [FieldOffset(92)] internal uint builtinCallee; - - [FieldOffset(96)] internal byte isCallToStdMove; - - [FieldOffset(100)] internal global::CppSharp.Parser.AST.UserDefinedLiteral.LiteralOperatorKind literalOperatorKind; - - [FieldOffset(104)] internal __IntPtr cookedLiteral; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal uDSuffixLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UserDefinedLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38338,67 +32576,28 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXBoolLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte value; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXBoolLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38498,64 +32697,27 @@ public bool Value public unsafe partial class CXXNullPtrLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXNullPtrLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38642,64 +32804,27 @@ public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _ public unsafe partial class CXXStdInitializerListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25CXXStdInitializerListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38787,70 +32912,29 @@ public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerLi public unsafe partial class CXXTypeidExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr exprOperand; - - [FieldOffset(60)] internal byte isPotentiallyEvaluated; - - [FieldOffset(61)] internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXTypeidExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38964,73 +33048,30 @@ public bool IsTypeOperand public unsafe partial class MSPropertyRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte isImplicitAccess; - - [FieldOffset(56)] internal __IntPtr baseExpr; - - [FieldOffset(60)] internal byte isArrow; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MSPropertyRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39157,70 +33198,29 @@ public bool IsArrow public unsafe partial class MSPropertySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(60)] internal __IntPtr @base; - - [FieldOffset(64)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23MSPropertySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39335,70 +33335,29 @@ public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptEx public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 76)] + [StructLayout(LayoutKind.Sequential, Size = 76)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr exprOperand; - - [FieldOffset(60)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C uuidStr; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C UuidStr; internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39409,6 +33368,12 @@ public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10getUuidStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUuidStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10setUuidStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUuidStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new CXXUuidofExpr __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -39504,97 +33469,58 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string UuidStr + public bool IsTypeOperand { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->uuidStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isTypeOperand != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->uuidStr), value); + ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); } } - public bool IsTypeOperand + public string UuidStr { get { - return ((__Internal*)__Instance)->isTypeOperand != 0; + var ___ret = __Internal.GetUuidStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); + __Internal.SetUuidStr(__Instance, value); } } } public unsafe partial class CXXThisExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal byte @implicit; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXThisExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39694,70 +33620,29 @@ public bool Implicit public unsafe partial class CXXThrowExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal throwLoc; - - [FieldOffset(64)] internal byte isThrownVariableInScope; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXThrowExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39871,67 +33756,28 @@ public bool IsThrownVariableInScope public unsafe partial class CXXDefaultArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr expr; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal usedLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXDefaultArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40032,67 +33878,28 @@ public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) public unsafe partial class CXXDefaultInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr field; - - [FieldOffset(60)] internal __IntPtr expr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDefaultInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40194,64 +34001,27 @@ public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) public unsafe partial class CXXBindTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CXXBindTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40339,88 +34109,35 @@ public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) public unsafe partial class CXXConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(72)] internal byte elidable; - - [FieldOffset(73)] internal byte hadMultipleCandidates; - - [FieldOffset(74)] internal byte listInitialization; - - [FieldOffset(75)] internal byte stdInitListInitialization; - - [FieldOffset(76)] internal byte requiresZeroInitialization; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(88)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40688,70 +34405,29 @@ public uint GetargumentsCount public unsafe partial class CXXInheritedCtorInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte constructsVBase; - - [FieldOffset(54)] internal byte inheritedFromVBase; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXInheritedCtorInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40864,94 +34540,37 @@ public bool InheritedFromVBase public unsafe partial class CXXFunctionalCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(60)] internal __IntPtr subExpr; - - [FieldOffset(64)] internal __IntPtr castKindName; - - [FieldOffset(68)] internal __IntPtr subExprAsWritten; - - [FieldOffset(72)] internal __IntPtr conversionFunction; - - [FieldOffset(76)] internal byte path_empty; - - [FieldOffset(80)] internal uint path_size; - - [FieldOffset(84)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(100)] internal byte isListInitialization; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXFunctionalCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41064,88 +34683,35 @@ public bool IsListInitialization public unsafe partial class CXXTemporaryObjectExpr : global::CppSharp.Parser.AST.CXXConstructExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(72)] internal byte elidable; - - [FieldOffset(73)] internal byte hadMultipleCandidates; - - [FieldOffset(74)] internal byte listInitialization; - - [FieldOffset(75)] internal byte stdInitListInitialization; - - [FieldOffset(76)] internal byte requiresZeroInitialization; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(88)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXTemporaryObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41240,91 +34806,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class LambdaExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 100)] + [StructLayout(LayoutKind.Sequential, Size = 100)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ capture_inits; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal captureDefaultLoc; - - [FieldOffset(72)] internal uint capture_size; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceRange.__Internal introducerRange; - - [FieldOffset(84)] internal __IntPtr callOperator; - - [FieldOffset(88)] internal byte isGenericLambda; - - [FieldOffset(92)] internal __IntPtr body; - - [FieldOffset(96)] internal byte isMutable; - - [FieldOffset(97)] internal byte hasExplicitParameters; - - [FieldOffset(98)] internal byte hasExplicitResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LambdaExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41582,64 +35093,27 @@ public uint GetcaptureInitsCount public unsafe partial class CXXScalarValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXScalarValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41726,106 +35200,41 @@ public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr public unsafe partial class CXXNewExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 132)] + [StructLayout(LayoutKind.Sequential, Size = 132)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ placement_arguments; - - [FieldOffset(68)] internal __IntPtr operatorNew; - - [FieldOffset(72)] internal __IntPtr operatorDelete; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal allocatedType; - - [FieldOffset(84)] internal byte isArray; - - [FieldOffset(88)] internal __IntPtr arraySize; - - [FieldOffset(92)] internal uint numPlacementArgs; - - [FieldOffset(96)] internal byte isParenTypeId; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceRange.__Internal typeIdParens; - - [FieldOffset(108)] internal byte isGlobalNew; - - [FieldOffset(109)] internal byte hasInitializer; - - [FieldOffset(112)] internal global::CppSharp.Parser.AST.CXXNewExpr.InitializationStyle initializationStyle; - - [FieldOffset(116)] internal __IntPtr initializer; - - [FieldOffset(120)] internal __IntPtr constructExpr; - - [FieldOffset(124)] internal global::CppSharp.Parser.SourceRange.__Internal directInitRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXNewExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42162,79 +35571,32 @@ public uint GetplacementArgumentsCount public unsafe partial class CXXDeleteExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte isGlobalDelete; - - [FieldOffset(54)] internal byte isArrayForm; - - [FieldOffset(55)] internal byte isArrayFormAsWritten; - - [FieldOffset(56)] internal __IntPtr operatorDelete; - - [FieldOffset(60)] internal __IntPtr argument; - - [FieldOffset(64)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXDeleteExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42390,85 +35752,34 @@ public bool IsArrayFormAsWritten public unsafe partial class CXXPseudoDestructorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr @base; - - [FieldOffset(60)] internal byte hasQualifier; - - [FieldOffset(61)] internal byte isArrow; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal colonColonLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal tildeLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal destroyedTypeLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23CXXPseudoDestructorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42649,67 +35960,28 @@ public bool IsArrow public unsafe partial class TypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 60)] + [StructLayout(LayoutKind.Sequential, Size = 60)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte value; - - [FieldOffset(56)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13TypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42809,70 +36081,29 @@ public uint NumArgs public unsafe partial class ArrayTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 76)] + [StructLayout(LayoutKind.Sequential, Size = 76)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal queriedType; - - [FieldOffset(64)] internal ulong value; - - [FieldOffset(72)] internal __IntPtr dimensionExpression; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42988,67 +36219,28 @@ public ulong Value public unsafe partial class ExpressionTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr queriedExpression; - - [FieldOffset(60)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ExpressionTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43149,85 +36341,34 @@ public bool Value public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal uint numDecls; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(76)] internal byte hasTemplateKeyword; - - [FieldOffset(77)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(80)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43242,7 +36383,7 @@ public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDi public unsafe partial class FindResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExpr10FindResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43532,91 +36673,36 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedLookupExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal uint numDecls; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(76)] internal byte hasTemplateKeyword; - - [FieldOffset(77)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(80)] internal uint numTemplateArgs; - - [FieldOffset(84)] internal byte requiresADL; - - [FieldOffset(85)] internal byte isOverloaded; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedLookupExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43716,82 +36802,33 @@ public bool IsOverloaded public unsafe partial class DependentScopeDeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(72)] internal byte hasTemplateKeyword; - - [FieldOffset(73)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(76)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25DependentScopeDeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43956,70 +36993,29 @@ public uint NumTemplateArgs public unsafe partial class ExprWithCleanups : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr subExpr; - - [FieldOffset(60)] internal uint numObjects; - - [FieldOffset(64)] internal byte cleanupsHaveSideEffects; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExprWithCleanupsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44119,79 +37115,32 @@ public bool CleanupsHaveSideEffects public unsafe partial class CXXUnresolvedConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 92)] + [StructLayout(LayoutKind.Sequential, Size = 92)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(84)] internal byte isListInitialization; - - [FieldOffset(88)] internal uint arg_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26CXXUnresolvedConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44395,100 +37344,39 @@ public uint GetargumentsCount public unsafe partial class CXXDependentScopeMemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(53)] internal byte isImplicitAccess; - - [FieldOffset(56)] internal __IntPtr @base; - - [FieldOffset(60)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(68)] internal byte isArrow; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(76)] internal __IntPtr firstQualifierFoundInScope; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27CXXDependentScopeMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44735,106 +37623,41 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedMemberExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal uint numDecls; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(68)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(76)] internal byte hasTemplateKeyword; - - [FieldOffset(77)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(80)] internal uint numTemplateArgs; - - [FieldOffset(84)] internal byte isImplicitAccess; - - [FieldOffset(88)] internal __IntPtr @base; - - [FieldOffset(92)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(100)] internal byte hasUnresolvedUsing; - - [FieldOffset(101)] internal byte isArrow; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45002,67 +37825,28 @@ public bool IsArrow public unsafe partial class CXXNoexceptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr operand; - - [FieldOffset(60)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXNoexceptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45163,67 +37947,28 @@ public bool Value public unsafe partial class PackExpansionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr pattern; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45324,79 +38069,32 @@ public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) public unsafe partial class SizeOfPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal packLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(68)] internal __IntPtr pack; - - [FieldOffset(72)] internal uint packLength; - - [FieldOffset(76)] internal byte isPartiallySubstituted; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SizeOfPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45549,67 +38247,28 @@ public bool IsPartiallySubstituted public unsafe partial class SubstNonTypeTemplateParmExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(60)] internal __IntPtr replacement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST28SubstNonTypeTemplateParmExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45710,67 +38369,28 @@ public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemp public unsafe partial class SubstNonTypeTemplateParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(60)] internal global::CppSharp.Parser.AST.TemplateArgument.__Internal argumentPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32SubstNonTypeTemplateParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45872,67 +38492,28 @@ public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonType public unsafe partial class FunctionParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(60)] internal uint numExpansions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20FunctionParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46032,73 +38613,30 @@ public uint NumExpansions public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr temporary; - - [FieldOffset(60)] internal __IntPtr TemporaryExpr; - - [FieldOffset(64)] internal uint manglingNumber; - - [FieldOffset(68)] internal byte isBoundToLvalueReference; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46110,7 +38648,7 @@ public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.A public unsafe partial class ExtraState : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExpr10ExtraStateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46336,85 +38874,34 @@ public bool IsBoundToLvalueReference public unsafe partial class CXXFoldExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr lHS; - - [FieldOffset(60)] internal __IntPtr rHS; - - [FieldOffset(64)] internal byte isRightFold; - - [FieldOffset(65)] internal byte isLeftFold; - - [FieldOffset(68)] internal __IntPtr pattern; - - [FieldOffset(72)] internal __IntPtr init; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind _operator; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXFoldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46596,79 +39083,32 @@ public bool IsLeftFold public unsafe partial class CoroutineSuspendExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(60)] internal __IntPtr commonExpr; - - [FieldOffset(64)] internal __IntPtr opaqueValue; - - [FieldOffset(68)] internal __IntPtr readyExpr; - - [FieldOffset(72)] internal __IntPtr suspendExpr; - - [FieldOffset(76)] internal __IntPtr resumeExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CoroutineSuspendExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46851,85 +39291,34 @@ public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) public unsafe partial class CoawaitExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(60)] internal __IntPtr commonExpr; - - [FieldOffset(64)] internal __IntPtr opaqueValue; - - [FieldOffset(68)] internal __IntPtr readyExpr; - - [FieldOffset(72)] internal __IntPtr suspendExpr; - - [FieldOffset(76)] internal __IntPtr resumeExpr; - - [FieldOffset(80)] internal byte isImplicit; - - [FieldOffset(84)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47030,70 +39419,29 @@ public bool IsImplicit public unsafe partial class DependentCoawaitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 68)] + [StructLayout(LayoutKind.Sequential, Size = 68)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal __IntPtr operand; - - [FieldOffset(60)] internal __IntPtr operatorCoawaitLookup; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20DependentCoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47208,82 +39556,33 @@ public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) public unsafe partial class CoyieldExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 84)] + [StructLayout(LayoutKind.Sequential, Size = 84)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(28)] internal byte valueDependent; - - [FieldOffset(29)] internal byte typeDependent; - - [FieldOffset(30)] internal byte instantiationDependent; - - [FieldOffset(31)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(36)] internal byte isLValue; - - [FieldOffset(37)] internal byte isRValue; - - [FieldOffset(38)] internal byte isXValue; - - [FieldOffset(39)] internal byte isGLValue; - - [FieldOffset(40)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(44)] internal __IntPtr sourceBitField; - - [FieldOffset(48)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(52)] internal byte hasPlaceholderType; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(60)] internal __IntPtr commonExpr; - - [FieldOffset(64)] internal __IntPtr opaqueValue; - - [FieldOffset(68)] internal __IntPtr readyExpr; - - [FieldOffset(72)] internal __IntPtr suspendExpr; - - [FieldOffset(76)] internal __IntPtr resumeExpr; - - [FieldOffset(80)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoyieldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47393,130 +39692,49 @@ public enum ParserIntType public unsafe partial class ParserTargetInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 172)] + [StructLayout(LayoutKind.Sequential, Size = 172)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ABI; - - [FieldOffset(12)] internal global::CppSharp.Parser.ParserIntType char16Type; - - [FieldOffset(16)] internal global::CppSharp.Parser.ParserIntType char32Type; - - [FieldOffset(20)] internal global::CppSharp.Parser.ParserIntType int64Type; - - [FieldOffset(24)] internal global::CppSharp.Parser.ParserIntType intMaxType; - - [FieldOffset(28)] internal global::CppSharp.Parser.ParserIntType intPtrType; - - [FieldOffset(32)] internal global::CppSharp.Parser.ParserIntType sizeType; - - [FieldOffset(36)] internal global::CppSharp.Parser.ParserIntType uIntMaxType; - - [FieldOffset(40)] internal global::CppSharp.Parser.ParserIntType wCharType; - - [FieldOffset(44)] internal global::CppSharp.Parser.ParserIntType wIntType; - - [FieldOffset(48)] internal uint boolAlign; - - [FieldOffset(52)] internal uint boolWidth; - - [FieldOffset(56)] internal uint charAlign; - - [FieldOffset(60)] internal uint charWidth; - - [FieldOffset(64)] internal uint char16Align; - - [FieldOffset(68)] internal uint char16Width; - - [FieldOffset(72)] internal uint char32Align; - - [FieldOffset(76)] internal uint char32Width; - - [FieldOffset(80)] internal uint halfAlign; - - [FieldOffset(84)] internal uint halfWidth; - - [FieldOffset(88)] internal uint floatAlign; - - [FieldOffset(92)] internal uint floatWidth; - - [FieldOffset(96)] internal uint doubleAlign; - - [FieldOffset(100)] internal uint doubleWidth; - - [FieldOffset(104)] internal uint shortAlign; - - [FieldOffset(108)] internal uint shortWidth; - - [FieldOffset(112)] internal uint intAlign; - - [FieldOffset(116)] internal uint intWidth; - - [FieldOffset(120)] internal uint intMaxTWidth; - - [FieldOffset(124)] internal uint longAlign; - - [FieldOffset(128)] internal uint longWidth; - - [FieldOffset(132)] internal uint longDoubleAlign; - - [FieldOffset(136)] internal uint longDoubleWidth; - - [FieldOffset(140)] internal uint longLongAlign; - - [FieldOffset(144)] internal uint longLongWidth; - - [FieldOffset(148)] internal uint pointerAlign; - - [FieldOffset(152)] internal uint pointerWidth; - - [FieldOffset(156)] internal uint wCharAlign; - - [FieldOffset(160)] internal uint wCharWidth; - - [FieldOffset(164)] internal uint float128Align; - - [FieldOffset(168)] internal uint float128Width; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47527,6 +39745,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6getABIEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetABI(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6setABIEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetABI(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -47631,20 +39855,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string ABI - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->ABI)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->ABI), value); - } - } - public global::CppSharp.Parser.ParserIntType Char16Type { get @@ -48164,6 +40374,20 @@ public uint Float128Width ((__Internal*)__Instance)->float128Width = value; } } + + public string ABI + { + get + { + var ___ret = __Internal.GetABI(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetABI(__Instance, value); + } + } } } } @@ -48269,72 +40493,32 @@ protected Parser(void* native, bool skipVTables = false) public unsafe partial class CppParserOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 148)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ CompilationOptions; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C LibraryFile; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SourceFiles; - - [FieldOffset(36)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ IncludeDirs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SystemIncludeDirs; - - [FieldOffset(60)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Defines; - - [FieldOffset(72)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Undefines; - - [FieldOffset(84)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SupportedStdTypes; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SupportedFunctionTemplates; - - [FieldOffset(108)] internal __IntPtr ASTContext; - - [FieldOffset(112)] internal int toolSetToUse; - - [FieldOffset(116)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C targetTriple; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TargetTriple; + internal global::CppSharp.Parser.AST.CppAbi abi; internal byte noStandardIncludes; - - [FieldOffset(129)] internal byte noBuiltinIncludes; - - [FieldOffset(130)] internal byte microsoftMode; - - [FieldOffset(131)] internal byte verbose; - - [FieldOffset(132)] internal byte unityBuild; - - [FieldOffset(133)] internal byte skipPrivateDeclarations; - - [FieldOffset(134)] internal byte skipLayoutInfo; - - [FieldOffset(135)] internal byte skipFunctionBodies; - [FieldOffset(136)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C clangVersion; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -48426,7 +40610,7 @@ public partial struct __Internal internal static extern void ClearSupportedFunctionTemplates(__IntPtr __instance); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getClangVersionEv", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void GetClangVersion(__IntPtr @return, __IntPtr __instance); + internal static extern __IntPtr GetClangVersion(); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions17getArgumentsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetArgumentsCount(__IntPtr __instance); @@ -48434,6 +40618,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions26getCompilationOptionsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetCompilationOptionsCount(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14getLibraryFileEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetLibraryFile(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14setLibraryFileEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetLibraryFile(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions19getSourceFilesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSourceFilesCount(__IntPtr __instance); @@ -48454,6 +40644,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions34getSupportedFunctionTemplatesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSupportedFunctionTemplatesCount(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getTargetTripleEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTargetTriple(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15setTargetTripleEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTargetTriple(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -48729,17 +40925,16 @@ public int ToolSetToUse } } - public string TargetTriple + public global::CppSharp.Parser.AST.CppAbi Abi { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->targetTriple)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->abi; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->targetTriple), value); + ((__Internal*)__Instance)->abi = value; } } @@ -48847,16 +41042,12 @@ public bool SkipFunctionBodies } } - public string ClangVersion + public static string ClangVersion { get { - var ___ret = new global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&___ret), __Instance); - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&___ret)); - var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); - __basicStringRet0.Dispose(); - return __retString0; + var ___ret = __Internal.GetClangVersion(); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } } @@ -48878,6 +41069,20 @@ public uint CompilationOptionsCount } } + public string LibraryFile + { + get + { + var ___ret = __Internal.GetLibraryFile(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetLibraryFile(__Instance, value); + } + } + public uint SourceFilesCount { get @@ -48940,20 +41145,29 @@ public uint SupportedFunctionTemplatesCount return ___ret; } } + + public string TargetTriple + { + get + { + var ___ret = __Internal.GetTargetTriple(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetTargetTriple(__Instance, value); + } + } } public unsafe partial class CppLinkerOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(12)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ LibraryDirs; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Libraries; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppLinkerOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49182,22 +41396,13 @@ public uint LibrariesCount public unsafe partial class ParserDiagnostic : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 36)] + [StructLayout(LayoutKind.Sequential, Size = 36)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(12)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C message; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Message; internal global::CppSharp.Parser.ParserDiagnosticLevel level; - - [FieldOffset(28)] internal int lineNumber; - - [FieldOffset(32)] internal int columnNumber; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49208,6 +41413,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10getMessageEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMessage(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10setMessageEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMessage(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -49312,89 +41529,82 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string FileName + public global::CppSharp.Parser.ParserDiagnosticLevel Level { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->level; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->level = value; } } - public string Message + public int LineNumber { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->message)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumber; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->message), value); + ((__Internal*)__Instance)->lineNumber = value; } } - public global::CppSharp.Parser.ParserDiagnosticLevel Level + public int ColumnNumber { get { - return ((__Internal*)__Instance)->level; + return ((__Internal*)__Instance)->columnNumber; } set { - ((__Internal*)__Instance)->level = value; + ((__Internal*)__Instance)->columnNumber = value; } } - public int LineNumber + public string FileName { get { - return ((__Internal*)__Instance)->lineNumber; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumber = value; + __Internal.SetFileName(__Instance, value); } } - public int ColumnNumber + public string Message { get { - return ((__Internal*)__Instance)->columnNumber; + var ___ret = __Internal.GetMessage(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->columnNumber = value; + __Internal.SetMessage(__Instance, value); } } } public unsafe partial class ParserResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.ParserResultKind kind; - - [FieldOffset(4)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S0_ Diagnostics; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S0_ Libraries; - - [FieldOffset(28)] internal __IntPtr targetInfo; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser12ParserResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49624,7 +41834,7 @@ public uint LibrariesCount public unsafe partial class ClangParser : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParserC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -49636,14 +41846,14 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser12ParseLibraryEPNS0_16CppLinkerOptionsE", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ParseLibrary(__IntPtr Opts); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Compile(__IntPtr Opts, __IntPtr File); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Compile(__IntPtr Opts, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); } public __IntPtr __Instance { get; protected set; } @@ -49762,11 +41972,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Build(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Build(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49774,11 +41980,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public static global::CppSharp.Parser.ParserResult Compile(global::CppSharp.Parser.CppParserOptions Opts, string File) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; - var __basicString1 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString1, File); - var __arg1 = __basicString1.__Instance; - var ___ret = __Internal.Compile(__arg0, __arg1); - __basicString1.Dispose(); + var ___ret = __Internal.Compile(__arg0, File); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49787,11 +41989,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Link(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Link(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49803,283 +42001,243 @@ namespace Std { namespace CompressedPair { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 { - [FieldOffset(0)] internal uint __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ { - [FieldOffset(0)] internal global::Std.TreeEndNode.__Internal_Ptr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } } @@ -50089,497 +42247,307 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S1_ __end_cap_; } } @@ -50589,16 +42557,11 @@ namespace Std { namespace Tree { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_node_; - - [FieldOffset(4)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; } } @@ -50608,10 +42571,9 @@ namespace Std { namespace Map { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ { - [FieldOffset(0)] internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; } } diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std-symbols.cpp b/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std-symbols.cpp index 6d8a95789..26e5ae164 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std-symbols.cpp +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std-symbols.cpp @@ -1,5 +1,5 @@ #define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -#define _LIBCPP_HAS_NO_EXCEPTIONS +#define _LIBCPP_HIDE_FROM_ABI #include #include diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std.cs index f6a7b3207..212089cdc 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin/Std.cs @@ -58,7 +58,7 @@ namespace Std { namespace CharTraits { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -165,24 +165,21 @@ namespace Std { namespace CompressedPair { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_S___rep_S2_ { - [FieldOffset(0)] internal global::Std.BasicString.Rep.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair___i___N_std_N___1_S_allocator__i { - [FieldOffset(0)] internal __IntPtr __value_; } } @@ -192,7 +189,7 @@ namespace Std { namespace Allocator { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__19allocatorIcEC2B8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -303,10 +300,9 @@ namespace Std { namespace BasicString { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { - [FieldOffset(0)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_S___rep_S2_ __r_; [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -314,6 +310,9 @@ public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_ [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Assignc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s); } namespace Rep @@ -420,10 +419,9 @@ public unsafe partial struct __Internal namespace Raw { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal fixed uint __words[3]; } } @@ -546,21 +544,10 @@ public unsafe static partial class BasicStringExtensions { public partial struct __Internal { - [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Assign(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s); - [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4dataB8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr Data(__IntPtr __instance); } - public static global::Std.BasicString, global::Std.Allocator> Assign(this global::Std.BasicString, global::Std.Allocator> @this, string __s) - { - var __arg0 = @this is null ? __IntPtr.Zero : @this.__Instance; - var ___ret = __Internal.Assign(__arg0, __s); - var __result0 = global::Std.BasicString, global::Std.Allocator>.__GetOrCreateInstance(___ret, false); - return __result0; - } - public static string Data(this global::Std.BasicString, global::Std.Allocator> @this) { var __arg0 = @this is null ? __IntPtr.Zero : @this.__Instance; @@ -574,29 +561,19 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public unsafe partial struct __Internalc__N_std_N___1_S_vector__i___N_std_N___1_S_allocator__i { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(4)] internal __IntPtr __end_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair___i___N_std_N___1_S_allocator__i __end_cap_; } } @@ -606,10 +583,9 @@ namespace Std { namespace TreeEndNode { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public unsafe partial struct __Internal_Ptr { - [FieldOffset(0)] internal __IntPtr __left_; } } diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/CppSharp.CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/CppSharp.CppParser.cs index 9b913386c..12b0d289d 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/CppSharp.CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/CppSharp.CppParser.cs @@ -62,19 +62,12 @@ public enum ArchType public unsafe partial class NativeLibrary : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; internal global::CppSharp.Parser.AST.ArchType archType; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Symbols; - - [FieldOffset(56)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Dependencies; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -104,6 +97,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary17clearDependenciesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearDependencies(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary15getSymbolsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSymbolsCount(__IntPtr __instance); @@ -245,30 +244,30 @@ public void ClearDependencies() __Internal.ClearDependencies(__Instance); } - public string FileName + public global::CppSharp.Parser.AST.ArchType ArchType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->archType; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->archType = value; } } - public global::CppSharp.Parser.AST.ArchType ArchType + public string FileName { get { - return ((__Internal*)__Instance)->archType; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->archType = value; + __Internal.SetFileName(__Instance, value); } } @@ -293,10 +292,9 @@ public uint DependenciesCount public unsafe partial class Comment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7CommentC2ENS1_11CommentKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -424,10 +422,9 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BlockContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -518,13 +515,10 @@ public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) public unsafe partial class FullComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S0_ Blocks; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11FullCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -661,13 +655,10 @@ public uint BlocksCount public unsafe partial class InlineContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -771,16 +762,11 @@ public bool HasTrailingNewline public unsafe partial class ParagraphComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte isWhitespace; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S0_ Content; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ParagraphCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -930,19 +916,12 @@ public uint ContentCount public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -972,11 +951,10 @@ public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.Bl public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -986,6 +964,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -1094,13 +1078,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -1259,25 +1243,14 @@ public uint ArgumentsCount public unsafe partial class ParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.ParamCommandComment.PassDirection direction; - - [FieldOffset(44)] internal uint paramIndex; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1405,22 +1378,13 @@ public uint ParamIndex public unsafe partial class TParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector__i___N_std_N___1_S_allocator__i Position; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20TParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1556,14 +1520,11 @@ public uint PositionCount public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1573,6 +1534,12 @@ public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.A [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimBlockLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1658,35 +1625,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class VerbatimBlockComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S0_ Lines; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20VerbatimBlockCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1823,23 +1781,14 @@ public uint LinesCount public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1849,6 +1798,12 @@ public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.Bl [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1934,35 +1889,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class InlineCommandComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] internal uint commandId; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.InlineCommandComment.RenderKind commentRenderKind; - - [FieldOffset(16)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1998,11 +1944,10 @@ public enum RenderKind : uint public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2012,6 +1957,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2120,13 +2071,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -2270,13 +2221,10 @@ public uint ArgumentsCount public unsafe partial class HTMLTagComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14HTMLTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2367,19 +2315,12 @@ public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C tagName; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TagName; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S0_ Attributes; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2400,20 +2341,23 @@ public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HT [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment15clearAttributesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearAttributes(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment18getAttributesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetAttributesCount(__IntPtr __instance); } public unsafe partial class Attribute : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C value; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2423,6 +2367,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8getValueEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetValue(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8setValueEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetValue(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2531,13 +2487,13 @@ public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + __Internal.SetName(__Instance, value); } } @@ -2545,13 +2501,13 @@ public string Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->value)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetValue(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->value), value); + __Internal.SetValue(__Instance, value); } } } @@ -2661,13 +2617,13 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } @@ -2683,17 +2639,12 @@ public uint AttributesCount public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C tagName; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TagName; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2703,6 +2654,12 @@ public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTML [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new HTMLEndTagComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2788,30 +2745,25 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } } public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2821,6 +2773,12 @@ public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineCont [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new TextComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2906,32 +2864,25 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class RawComment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.RawCommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C briefText; - - [FieldOffset(56)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C BriefText; internal __IntPtr fullCommentBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2942,6 +2893,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12getBriefTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBriefText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12setBriefTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBriefText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -3059,45 +3022,45 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) } } - public string Text + public global::CppSharp.Parser.AST.FullComment FullCommentBlock { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; } } - public string BriefText + public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->briefText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->briefText), value); + __Internal.SetText(__Instance, value); } } - public global::CppSharp.Parser.AST.FullComment FullCommentBlock + public string BriefText { get { - var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); - return __result0; + var ___ret = __Internal.GetBriefText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetBriefText(__Instance, value); } } } @@ -3111,10 +3074,9 @@ namespace Parser { public unsafe partial struct SourceLocation { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal uint ID; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser14SourceLocationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3200,13 +3162,10 @@ public uint ID public unsafe partial class SourceRange : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11SourceRangeC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -3427,13 +3386,10 @@ public enum ExceptionSpecType public unsafe partial class Type : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4TypeC2ENS1_8TypeKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -3577,16 +3533,11 @@ public bool IsDependent public unsafe partial class TypeQualifiers : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 3)] + [StructLayout(LayoutKind.Sequential, Size = 3)] public partial struct __Internal { - [FieldOffset(0)] internal byte isConst; - - [FieldOffset(1)] internal byte isVolatile; - - [FieldOffset(2)] internal byte isRestrict; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14TypeQualifiersC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] @@ -3731,13 +3682,10 @@ public bool IsRestrict public unsafe partial class QualifiedType : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr type; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.TypeQualifiers.__Internal qualifiers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13QualifiedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3876,16 +3824,11 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TagType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7TagTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3976,25 +3919,14 @@ public TagType(global::CppSharp.Parser.AST.TagType _0) public unsafe partial class ArrayType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.ArrayType.ArraySize sizeType; - - [FieldOffset(32)] internal long size; - - [FieldOffset(40)] internal long elementSize; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ArrayTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4133,25 +4065,14 @@ public long ElementSize public unsafe partial class FunctionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(28)] internal global::CppSharp.Parser.AST.ExceptionSpecType exceptionSpecType; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12FunctionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4329,19 +4250,12 @@ public uint ParametersCount public unsafe partial class PointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedPointee; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.PointerType.TypeModifier modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11PointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4454,16 +4368,11 @@ public PointerType(global::CppSharp.Parser.AST.PointerType _0) public unsafe partial class MemberPointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MemberPointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4555,16 +4464,11 @@ public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) public unsafe partial class TypedefType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4655,19 +4559,12 @@ public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) public unsafe partial class AttributedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal modified; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal equivalent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4774,22 +4671,13 @@ public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) public unsafe partial class DecayedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal decayed; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal original; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DecayedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4911,19 +4799,12 @@ public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) public unsafe partial class TemplateArgument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TemplateArgument.ArgumentKind kind; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(24)] internal __IntPtr declaration; - - [FieldOffset(32)] internal long integral; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16TemplateArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5100,22 +4981,13 @@ public long Integral public unsafe partial class TemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(32)] internal __IntPtr _template; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26TemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5280,19 +5152,12 @@ public uint ArgumentsCount public unsafe partial class DependentTemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST35DependentTemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5443,25 +5308,14 @@ public uint ArgumentsCount public unsafe partial class TemplateParameterType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr parameter; - - [FieldOffset(16)] internal uint depth; - - [FieldOffset(20)] internal uint index; - - [FieldOffset(24)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TemplateParameterTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5609,19 +5463,12 @@ public bool IsParameterPack public unsafe partial class TemplateParameterSubstitutionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal replacement; - - [FieldOffset(24)] internal __IntPtr replacedParameter; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST33TemplateParameterSubstitutionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5727,19 +5574,12 @@ public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplatePar public unsafe partial class InjectedClassNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal injectedSpecializationType; - - [FieldOffset(24)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21InjectedClassNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5845,20 +5685,13 @@ public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifier; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C identifier; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Identifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -5868,6 +5701,12 @@ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13getIdentifierEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetIdentifier(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13setIdentifierEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetIdentifier(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new DependentNameType __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -5968,26 +5807,23 @@ public string Identifier { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->identifier)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetIdentifier(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->identifier), value); + __Internal.SetIdentifier(__Instance, value); } } } public unsafe partial class PackExpansionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6064,19 +5900,12 @@ public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) public unsafe partial class UnaryTransformType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UnaryTransformTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6183,16 +6012,11 @@ public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) public unsafe partial class UnresolvedUsingType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19UnresolvedUsingTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6283,19 +6107,12 @@ public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) public unsafe partial class VectorType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal elementType; - - [FieldOffset(24)] internal uint numElements; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10VectorTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6400,16 +6217,11 @@ public uint NumElements public unsafe partial class BuiltinType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.PrimitiveType type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11BuiltinTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6706,73 +6518,30 @@ public enum VTableComponentKind public unsafe partial class Declaration : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclarationC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -6802,6 +6571,24 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration19clearRedeclarationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearRedeclarations(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6getUSREv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUSR(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6setUSREPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUSR(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12getDebugTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetDebugText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12setDebugTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetDebugText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration28getPreprocessedEntitiesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetPreprocessedEntitiesCount(__IntPtr __instance); @@ -7063,164 +6850,164 @@ public int LineNumberEnd } } - public string Name + public bool IsIncomplete { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isIncomplete != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); } } - public string USR + public bool IsDependent { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->USR)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isDependent != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->USR), value); + ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); } } - public string DebugText + public bool IsImplicit { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->debugText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isImplicit != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->debugText), value); + ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); } } - public bool IsIncomplete + public bool IsInvalid { get { - return ((__Internal*)__Instance)->isIncomplete != 0; + return ((__Internal*)__Instance)->isInvalid != 0; } set { - ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); } } - public bool IsDependent + public bool IsDeprecated { get { - return ((__Internal*)__Instance)->isDependent != 0; + return ((__Internal*)__Instance)->isDeprecated != 0; } set { - ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); } } - public bool IsImplicit + public global::CppSharp.Parser.AST.Declaration CompleteDeclaration { get { - return ((__Internal*)__Instance)->isImplicit != 0; + var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + return __result0; } set { - ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; } } - public bool IsInvalid + public uint DefinitionOrder { get { - return ((__Internal*)__Instance)->isInvalid != 0; + return ((__Internal*)__Instance)->definitionOrder; } set { - ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->definitionOrder = value; } } - public bool IsDeprecated + public __IntPtr OriginalPtr { get { - return ((__Internal*)__Instance)->isDeprecated != 0; + return ((__Internal*)__Instance)->originalPtr; } set { - ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; } } - public global::CppSharp.Parser.AST.Declaration CompleteDeclaration + public global::CppSharp.Parser.AST.RawComment Comment { get { - var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); return __result0; } set { - ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; + ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; } } - public uint DefinitionOrder + public string Name { get { - return ((__Internal*)__Instance)->definitionOrder; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definitionOrder = value; + __Internal.SetName(__Instance, value); } } - public __IntPtr OriginalPtr + public string USR { get { - return ((__Internal*)__Instance)->originalPtr; + var ___ret = __Internal.GetUSR(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; + __Internal.SetUSR(__Instance, value); } } - public global::CppSharp.Parser.AST.RawComment Comment + public string DebugText { get { - var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); - return __result0; + var ___ret = __Internal.GetDebugText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetDebugText(__Instance, value); } } @@ -7245,106 +7032,41 @@ public uint RedeclarationsCount public unsafe partial class DeclarationContext : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 448)] + [StructLayout(LayoutKind.Sequential, Size = 448)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DeclarationContextC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -7835,76 +7557,31 @@ public uint FriendsCount public unsafe partial class TypedefNameDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 216)] + [StructLayout(LayoutKind.Sequential, Size = 216)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TypedefNameDeclC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -8019,76 +7696,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypedefDecl : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 216)] + [StructLayout(LayoutKind.Sequential, Size = 216)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8183,79 +7815,32 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypeAlias : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 224)] + [StructLayout(LayoutKind.Sequential, Size = 224)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(216)] internal __IntPtr describedAliasTemplate; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9TypeAliasC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8364,76 +7949,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Friend : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 208)] + [StructLayout(LayoutKind.Sequential, Size = 208)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6FriendC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8542,26 +8082,24 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class StatementObsolete : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -8627,19 +8165,6 @@ protected StatementObsolete(void* native, bool skipVTables = false) __Instance = new __IntPtr(native); } - public StatementObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) { __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); @@ -8702,33 +8227,25 @@ public string String { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + __Internal.SetString(__Instance, value); } } } public unsafe partial class ExpressionObsolete : global::CppSharp.Parser.AST.StatementObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -8780,20 +8297,6 @@ protected ExpressionObsolete(void* native, bool skipVTables = false) { } - public ExpressionObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) : this((void*) null) { @@ -8824,35 +8327,27 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BinaryOperatorObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal __IntPtr LHS; - - [FieldOffset(48)] internal __IntPtr RHS; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_18ExpressionObsoleteESD_SB_", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr lhs, __IntPtr rhs, __IntPtr opcodeStr); + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperatorObsolete __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -8898,25 +8393,6 @@ protected BinaryOperatorObsolete(void* native, bool skipVTables = false) { } - public BinaryOperatorObsolete(string str, global::CppSharp.Parser.AST.ExpressionObsolete lhs, global::CppSharp.Parser.AST.ExpressionObsolete rhs, string opcodeStr) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperatorObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = lhs is null ? __IntPtr.Zero : lhs.__Instance; - var __arg2 = rhs is null ? __IntPtr.Zero : rhs.__Instance; - var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); - var __arg3 = __basicString3.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); - __basicString0.Dispose(); - __basicString3.Dispose(); - } - public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete _0) : this((void*) null) { @@ -8976,37 +8452,27 @@ public string OpcodeStr { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); + __Internal.SetOpcodeStr(__Instance, value); } } } public unsafe partial class CallExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9069,20 +8535,6 @@ protected CallExprObsolete(void* native, bool skipVTables = false) { } - public CallExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) : this((void*) null) { @@ -9143,24 +8595,14 @@ public uint ArgumentsCount public unsafe partial class CXXConstructExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9223,20 +8665,6 @@ protected CXXConstructExprObsolete(void* native, bool skipVTables = false) { } - public CXXConstructExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObsolete _0) : this((void*) null) { @@ -9297,91 +8725,36 @@ public uint ArgumentsCount public unsafe partial class Parameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(216)] internal byte isIndirect; - - [FieldOffset(217)] internal byte hasDefaultValue; - - [FieldOffset(220)] internal uint index; - - [FieldOffset(224)] internal __IntPtr defaultArgument; - - [FieldOffset(232)] internal __IntPtr defaultValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9558,166 +8931,61 @@ public uint Index public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 624)] + [StructLayout(LayoutKind.Sequential, Size = 624)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(464)] internal byte isReturnIndirect; - - [FieldOffset(465)] internal byte hasThisReturn; - - [FieldOffset(466)] internal byte isConstExpr; - - [FieldOffset(467)] internal byte isVariadic; - - [FieldOffset(468)] internal byte isInline; - - [FieldOffset(469)] internal byte isPure; - - [FieldOffset(470)] internal byte isDeleted; - - [FieldOffset(471)] internal byte isDefaulted; - - [FieldOffset(472)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(476)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(480)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(504)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C signature; - - [FieldOffset(528)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C body; - - [FieldOffset(552)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(560)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(568)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(592)] internal __IntPtr specializationInfo; - - [FieldOffset(600)] internal __IntPtr instantiatedFrom; - - [FieldOffset(608)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FunctionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9738,6 +9006,24 @@ public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationCo [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function15clearParametersEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearParameters(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12getSignatureEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetSignature(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12setSignatureEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetSignature(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7getBodyEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBody(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7setBodyEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBody(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function18getParametersCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetParametersCount(__IntPtr __instance); } @@ -9987,48 +9273,6 @@ public bool IsDefaulted } } - public string Mangled - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); - } - } - - public string Signature - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->signature)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->signature), value); - } - } - - public string Body - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->body)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->body), value); - } - } - public global::CppSharp.Parser.AST.Stmt BodyStmt { get @@ -10099,6 +9343,48 @@ public string Body } } + public string Mangled + { + get + { + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetMangled(__Instance, value); + } + } + + public string Signature + { + get + { + var ___ret = __Internal.GetSignature(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetSignature(__Instance, value); + } + } + + public string Body + { + get + { + var ___ret = __Internal.GetBody(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBody(__Instance, value); + } + } + public uint ParametersCount { get @@ -10111,202 +9397,73 @@ public uint ParametersCount public unsafe partial class Method : global::CppSharp.Parser.AST.Function, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 688)] + [StructLayout(LayoutKind.Sequential, Size = 688)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(464)] internal byte isReturnIndirect; - - [FieldOffset(465)] internal byte hasThisReturn; - - [FieldOffset(466)] internal byte isConstExpr; - - [FieldOffset(467)] internal byte isVariadic; - - [FieldOffset(468)] internal byte isInline; - - [FieldOffset(469)] internal byte isPure; - - [FieldOffset(470)] internal byte isDeleted; - - [FieldOffset(471)] internal byte isDefaulted; - - [FieldOffset(472)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(476)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(480)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(504)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C signature; - - [FieldOffset(528)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C body; - - [FieldOffset(552)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(560)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(568)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(592)] internal __IntPtr specializationInfo; - - [FieldOffset(600)] internal __IntPtr instantiatedFrom; - - [FieldOffset(608)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(624)] internal byte isVirtual; - - [FieldOffset(625)] internal byte isStatic; - - [FieldOffset(626)] internal byte isConst; - - [FieldOffset(627)] internal byte isExplicit; - - [FieldOffset(628)] internal byte isVolatile; - - [FieldOffset(632)] internal global::CppSharp.Parser.AST.CXXMethodKind methodKind; - - [FieldOffset(636)] internal byte isDefaultConstructor; - - [FieldOffset(637)] internal byte isCopyConstructor; - - [FieldOffset(638)] internal byte isMoveConstructor; - - [FieldOffset(640)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal conversionType; - - [FieldOffset(656)] internal global::CppSharp.Parser.AST.RefQualifierKind refQualifier; - - [FieldOffset(664)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ OverriddenMethods; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6MethodC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10588,118 +9745,45 @@ public uint OverriddenMethodsCount public unsafe partial class Enumeration : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 488)] + [StructLayout(LayoutKind.Sequential, Size = 488)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(444)] internal global::CppSharp.Parser.AST.Enumeration.EnumModifiers modifiers; - - [FieldOffset(448)] internal __IntPtr type; - - [FieldOffset(456)] internal __IntPtr builtinType; - - [FieldOffset(464)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S0_ Items; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11EnumerationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10720,9 +9804,6 @@ public unsafe partial class Enumeration : global::CppSharp.Parser.AST.Declaratio [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration10clearItemsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearItems(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration14FindItemByNameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindItemByName(__IntPtr __instance, __IntPtr Name); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration13getItemsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetItemsCount(__IntPtr __instance); } @@ -10737,79 +9818,32 @@ public enum EnumModifiers public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C expression; - - [FieldOffset(224)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Expression; internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10820,6 +9854,12 @@ public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDis [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Item __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -10901,30 +9941,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Expression + public ulong Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->value; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->value = value; } } - public ulong Value + public string Expression { get { - return ((__Internal*)__Instance)->value; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->value = value; + __Internal.SetExpression(__Instance, value); } } } @@ -11029,17 +10069,6 @@ public void ClearItems() __Internal.ClearItems(__Instance); } - public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, Name); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindItemByName(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.Enumeration.Item.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.Enumeration.EnumModifiers Modifiers { get @@ -11093,85 +10122,34 @@ public uint ItemsCount public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal byte isConstExpr; - - [FieldOffset(208)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(232)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(248)] internal __IntPtr initializer; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11182,6 +10160,12 @@ public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Variable __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -11276,65 +10260,58 @@ public bool IsConstExpr } } - public string Mangled + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public global::CppSharp.Parser.AST.ExpressionObsolete Initializer { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); + return __result0; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; } } - public global::CppSharp.Parser.AST.ExpressionObsolete Initializer + public string Mangled { get { - var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); - return __result0; + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetMangled(__Instance, value); } } } public unsafe partial class BaseClassSpecifier : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(4)] internal byte isVirtual; - - [FieldOffset(8)] internal __IntPtr type; - - [FieldOffset(16)] internal int offset; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18BaseClassSpecifierC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11497,85 +10474,34 @@ public int Offset public unsafe partial class Field : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(216)] internal __IntPtr _class; - - [FieldOffset(224)] internal byte isBitField; - - [FieldOffset(228)] internal uint bitWidth; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5FieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11725,73 +10651,30 @@ public uint BitWidth public unsafe partial class AccessSpecifierDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19AccessSpecifierDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11886,16 +10769,11 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class VTableComponent : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.VTableComponentKind kind; - - [FieldOffset(4)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15VTableComponentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12045,10 +10923,9 @@ public uint Offset public unsafe partial class VTableLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S0_ Components; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12VTableLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12206,19 +11083,12 @@ public uint ComponentsCount public unsafe partial class VFTableInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal ulong VBTableIndex; - - [FieldOffset(8)] internal uint VFPtrOffset; - - [FieldOffset(12)] internal uint VFPtrFullOffset; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VFTableInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12390,19 +11260,12 @@ public uint VFPtrFullOffset public unsafe partial class LayoutField : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(48)] internal __IntPtr fieldPtr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12413,6 +11276,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -12530,58 +11399,55 @@ public uint Offset } } - public string Name + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public __IntPtr FieldPtr { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + return ((__Internal*)__Instance)->fieldPtr; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; } } - public __IntPtr FieldPtr + public string Name { get { - return ((__Internal*)__Instance)->fieldPtr; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; + __Internal.SetName(__Instance, value); } } } public unsafe partial class LayoutBase : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LayoutBaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12726,40 +11592,19 @@ public uint Offset public unsafe partial class ClassLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CppAbi ABI; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.RecordArgABI argABI; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S0_ VFTables; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; - - [FieldOffset(56)] internal byte hasOwnVFPtr; - - [FieldOffset(64)] internal long VBPtrOffset; - - [FieldOffset(72)] internal int alignment; - - [FieldOffset(76)] internal int size; - - [FieldOffset(80)] internal int dataSize; - - [FieldOffset(88)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(112)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S0_ Bases; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11ClassLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13112,154 +11957,57 @@ public uint BasesCount public unsafe partial class Class : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 568)] + [StructLayout(LayoutKind.Sequential, Size = 568)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(472)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(496)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(520)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(544)] internal byte isPOD; - - [FieldOffset(545)] internal byte isAbstract; - - [FieldOffset(546)] internal byte isUnion; - - [FieldOffset(547)] internal byte isDynamic; - - [FieldOffset(548)] internal byte isPolymorphic; - - [FieldOffset(549)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(550)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(551)] internal byte hasNonTrivialDestructor; - - [FieldOffset(552)] internal byte isExternCContext; - - [FieldOffset(553)] internal byte isInjected; - - [FieldOffset(556)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(560)] internal __IntPtr layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5ClassC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13679,79 +12427,32 @@ public uint SpecifiersCount public unsafe partial class Template : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TemplateC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -13919,79 +12620,32 @@ public uint ParametersCount public unsafe partial class TypeAliasTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TypeAliasTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14086,82 +12740,33 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TemplateParameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 216)] + [StructLayout(LayoutKind.Sequential, Size = 216)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal uint depth; - - [FieldOffset(204)] internal uint index; - - [FieldOffset(208)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TemplateParameterC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -14300,88 +12905,35 @@ public bool IsParameterPack public unsafe partial class TemplateTemplateParameter : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal byte isParameterPack; - - [FieldOffset(233)] internal byte isPackExpansion; - - [FieldOffset(234)] internal byte isExpandedParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25TemplateTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14515,85 +13067,34 @@ public bool IsExpandedParameterPack public unsafe partial class TypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal uint depth; - - [FieldOffset(204)] internal uint index; - - [FieldOffset(208)] internal byte isParameterPack; - - [FieldOffset(216)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal defaultArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14703,100 +13204,39 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class NonTypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal uint depth; - - [FieldOffset(204)] internal uint index; - - [FieldOffset(208)] internal byte isParameterPack; - - [FieldOffset(216)] internal __IntPtr defaultArgument; - - [FieldOffset(224)] internal __IntPtr defaultArgumentNew; - - [FieldOffset(232)] internal uint position; - - [FieldOffset(236)] internal byte isPackExpansion; - - [FieldOffset(237)] internal byte isExpandedParameterPack; - - [FieldOffset(240)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24NonTypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14973,82 +13413,33 @@ public bool IsExpandedParameterPack public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15069,12 +13460,6 @@ public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate25FindPartialSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -15179,28 +13564,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -15213,163 +13576,60 @@ public uint SpecializationsCount public unsafe partial class ClassTemplateSpecialization : global::CppSharp.Parser.AST.Class, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 608)] + [StructLayout(LayoutKind.Sequential, Size = 608)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(472)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(496)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(520)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(544)] internal byte isPOD; - - [FieldOffset(545)] internal byte isAbstract; - - [FieldOffset(546)] internal byte isUnion; - - [FieldOffset(547)] internal byte isDynamic; - - [FieldOffset(548)] internal byte isPolymorphic; - - [FieldOffset(549)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(550)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(551)] internal byte hasNonTrivialDestructor; - - [FieldOffset(552)] internal byte isExternCContext; - - [FieldOffset(553)] internal byte isInjected; - - [FieldOffset(556)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(560)] internal __IntPtr layout; - - [FieldOffset(568)] internal __IntPtr templatedDecl; - - [FieldOffset(576)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(600)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27ClassTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15532,166 +13792,61 @@ public uint ArgumentsCount public unsafe partial class ClassTemplatePartialSpecialization : global::CppSharp.Parser.AST.ClassTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 632)] + [StructLayout(LayoutKind.Sequential, Size = 632)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(448)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ Bases; - - [FieldOffset(472)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ Fields; - - [FieldOffset(496)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ Methods; - - [FieldOffset(520)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ Specifiers; - - [FieldOffset(544)] internal byte isPOD; - - [FieldOffset(545)] internal byte isAbstract; - - [FieldOffset(546)] internal byte isUnion; - - [FieldOffset(547)] internal byte isDynamic; - - [FieldOffset(548)] internal byte isPolymorphic; - - [FieldOffset(549)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(550)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(551)] internal byte hasNonTrivialDestructor; - - [FieldOffset(552)] internal byte isExternCContext; - - [FieldOffset(553)] internal byte isInjected; - - [FieldOffset(556)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(560)] internal __IntPtr layout; - - [FieldOffset(568)] internal __IntPtr templatedDecl; - - [FieldOffset(576)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(600)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; - - [FieldOffset(608)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST34ClassTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15828,82 +13983,33 @@ public uint ParametersCount public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15924,9 +14030,6 @@ public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Templ [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16031,17 +14134,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16054,19 +14146,12 @@ public uint SpecializationsCount public unsafe partial class FunctionTemplateSpecialization : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _template; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(32)] internal __IntPtr specializedFunction; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST30FunctionTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16266,82 +14351,33 @@ public uint ArgumentsCount public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal __IntPtr TemplatedDecl; - - [FieldOffset(208)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Parameters; - - [FieldOffset(232)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S0_ Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16362,12 +14398,6 @@ public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate18FindSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate25FindPartialSpecializationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16472,28 +14502,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.VarTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16506,94 +14514,37 @@ public uint SpecializationsCount public unsafe partial class VarTemplateSpecialization : global::CppSharp.Parser.AST.Variable, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 296)] + [StructLayout(LayoutKind.Sequential, Size = 296)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal byte isConstExpr; - - [FieldOffset(208)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(232)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(248)] internal __IntPtr initializer; - - [FieldOffset(256)] internal __IntPtr templatedDecl; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(288)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25VarTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16756,94 +14707,37 @@ public uint ArgumentsCount public unsafe partial class VarTemplatePartialSpecialization : global::CppSharp.Parser.AST.VarTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 296)] + [StructLayout(LayoutKind.Sequential, Size = 296)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal byte isConstExpr; - - [FieldOffset(208)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C mangled; - - [FieldOffset(232)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(248)] internal __IntPtr initializer; - - [FieldOffset(256)] internal __IntPtr templatedDecl; - - [FieldOffset(264)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(288)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32VarTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16938,73 +14832,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class UnresolvedUsingTypename : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23UnresolvedUsingTypenameC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17099,109 +14950,42 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Namespace : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 448)] + [StructLayout(LayoutKind.Sequential, Size = 448)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(441)] internal byte isInline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9NamespaceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17309,16 +15093,11 @@ public bool IsInline public unsafe partial class PreprocessedEntity : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18PreprocessedEntityC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17467,28 +15246,15 @@ public __IntPtr OriginalPtr public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(48)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C expression; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Expression; internal int lineNumberStart; - - [FieldOffset(76)] internal int lineNumberEnd; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17499,6 +15265,18 @@ public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.Prepro [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroDefinition __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17580,82 +15358,71 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public int LineNumberStart { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberStart; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->lineNumberStart = value; } } - public string Expression + public int LineNumberEnd { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberEnd; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->lineNumberEnd = value; } } - public int LineNumberStart + public string Name { get { - return ((__Internal*)__Instance)->lineNumberStart; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberStart = value; + __Internal.SetName(__Instance, value); } } - public int LineNumberEnd + public string Expression { get { - return ((__Internal*)__Instance)->lineNumberEnd; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberEnd = value; + __Internal.SetExpression(__Instance, value); } } } public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(48)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C text; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Text; internal __IntPtr definition; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17666,6 +15433,18 @@ public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.Preproc [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroExpansion __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17747,163 +15526,90 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public global::CppSharp.Parser.AST.MacroDefinition Definition { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; } } - public string Text + public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetName(__Instance, value); } } - public global::CppSharp.Parser.AST.MacroDefinition Definition + public string Text { get { - var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); - return __result0; + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetText(__Instance, value); } } } public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namespace, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 504)] + [StructLayout(LayoutKind.Sequential, Size = 504)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C name; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C USR; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C debugText; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(113)] internal byte isDependent; - - [FieldOffset(114)] internal byte isImplicit; - - [FieldOffset(115)] internal byte isInvalid; - - [FieldOffset(116)] internal byte isDeprecated; - - [FieldOffset(120)] internal __IntPtr completeDeclaration; - - [FieldOffset(128)] internal uint definitionOrder; - - [FieldOffset(136)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ PreprocessedEntities; - - [FieldOffset(160)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ Redeclarations; - - [FieldOffset(184)] internal __IntPtr originalPtr; - - [FieldOffset(192)] internal __IntPtr comment; - - [FieldOffset(200)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ Namespaces; - - [FieldOffset(224)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ Enums; - - [FieldOffset(248)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ Functions; - - [FieldOffset(272)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ Classes; - - [FieldOffset(296)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ Templates; - - [FieldOffset(320)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ Typedefs; - - [FieldOffset(344)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ TypeAliases; - - [FieldOffset(368)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ Variables; - - [FieldOffset(392)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ Friends; - - [FieldOffset(416)] internal global::Std.Map.__Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ anonymous; - - [FieldOffset(440)] internal byte isAnonymous; - - [FieldOffset(441)] internal byte isInline; - - [FieldOffset(448)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(472)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; internal byte isSystemHeader; - - [FieldOffset(480)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S0_ Macros; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnitC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17924,6 +15630,12 @@ public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namesp [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11clearMacrosEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearMacros(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit14getMacrosCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetMacrosCount(__IntPtr __instance); } @@ -18028,30 +15740,30 @@ public void ClearMacros() __Internal.ClearMacros(__Instance); } - public string FileName + public bool IsSystemHeader { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isSystemHeader != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); } } - public bool IsSystemHeader + public string FileName { get { - return ((__Internal*)__Instance)->isSystemHeader != 0; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); + __Internal.SetFileName(__Instance, value); } } @@ -18067,10 +15779,9 @@ public uint MacrosCount public unsafe partial class ASTContext : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S0_ TranslationUnits; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18082,9 +15793,6 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext18FindOrCreateModuleENSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindOrCreateModule(__IntPtr __instance, __IntPtr File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext19getTranslationUnitsEj", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr GetTranslationUnits(__IntPtr __instance, uint i); @@ -18200,17 +15908,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public global::CppSharp.Parser.AST.TranslationUnit FindOrCreateModule(string File) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, File); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindOrCreateModule(__Instance, __arg0); - __basicString0.Dispose(disposing: true, callNativeDtor:false); - var __result0 = global::CppSharp.Parser.AST.TranslationUnit.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { var ___ret = __Internal.GetTranslationUnits(__Instance, i); @@ -18383,19 +16080,12 @@ public enum StmtClass public unsafe partial class Stmt : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4StmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18575,28 +16265,15 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class DeclStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ decls; - - [FieldOffset(48)] internal byte isSingleDecl; - - [FieldOffset(56)] internal __IntPtr singleDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8DeclStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18760,25 +16437,14 @@ public uint GetdeclsCount public unsafe partial class NullStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal semiLoc; - - [FieldOffset(24)] internal byte hasLeadingEmptyMacro; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8NullStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18878,40 +16544,19 @@ public bool HasLeadingEmptyMacro public unsafe partial class CompoundStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S0_ body; - - [FieldOffset(48)] internal byte body_empty; - - [FieldOffset(52)] internal uint size; - - [FieldOffset(56)] internal __IntPtr body_front; - - [FieldOffset(64)] internal __IntPtr body_back; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CompoundStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19128,28 +16773,15 @@ public uint GetbodyCount public unsafe partial class SwitchCase : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchCaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19280,43 +16912,20 @@ public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) public unsafe partial class CaseStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal caseLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(48)] internal __IntPtr lHS; - - [FieldOffset(56)] internal __IntPtr rHS; - - [FieldOffset(64)] internal byte caseStmtIsGNURange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CaseStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19457,31 +17066,16 @@ public bool CaseStmtIsGNURange public unsafe partial class DefaultStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DefaultStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19568,28 +17162,15 @@ public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) public unsafe partial class LabelStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal identLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; - - [FieldOffset(32)] internal __IntPtr name; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9LabelStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19718,25 +17299,14 @@ public string Name public unsafe partial class AttributedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal attrLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19837,55 +17407,24 @@ public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) public unsafe partial class IfStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr then; - - [FieldOffset(40)] internal __IntPtr _else; - - [FieldOffset(48)] internal __IntPtr init; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal ifLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal elseLoc; - - [FieldOffset(64)] internal byte _constexpr; - - [FieldOffset(65)] internal byte hasInitStorage; - - [FieldOffset(66)] internal byte hasVarStorage; - - [FieldOffset(67)] internal byte hasElseStorage; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(80)] internal byte isObjCAvailabilityCheck; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6IfStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20120,43 +17659,20 @@ public bool IsObjCAvailabilityCheck public unsafe partial class SwitchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal __IntPtr init; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal switchLoc; - - [FieldOffset(52)] internal byte hasInitStorage; - - [FieldOffset(53)] internal byte hasVarStorage; - - [FieldOffset(56)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(64)] internal byte isAllEnumCasesCovered; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20338,34 +17854,17 @@ public bool IsAllEnumCasesCovered public unsafe partial class WhileStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(44)] internal byte hasVarStorage; - - [FieldOffset(48)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9WhileStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20507,34 +18006,17 @@ public bool HasVarStorage public unsafe partial class DoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal doLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6DoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20675,43 +18157,20 @@ public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) public unsafe partial class ForStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr cond; - - [FieldOffset(40)] internal __IntPtr inc; - - [FieldOffset(48)] internal __IntPtr body; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7ForStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20894,25 +18353,14 @@ public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) public unsafe partial class GotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8GotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21012,28 +18460,15 @@ public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) public unsafe partial class IndirectGotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal starLoc; - - [FieldOffset(32)] internal __IntPtr target; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16IndirectGotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21147,22 +18582,13 @@ public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) public unsafe partial class ContinueStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal continueLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ContinueStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21249,22 +18675,13 @@ public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) public unsafe partial class BreakStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal breakLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BreakStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21351,25 +18768,14 @@ public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) public unsafe partial class ReturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr retValue; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal returnLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ReturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21470,46 +18876,21 @@ public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) public unsafe partial class AsmStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7AsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21796,49 +19177,22 @@ public uint GetoutputsCount public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21853,22 +19207,13 @@ public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, ID public unsafe partial class AsmStringPiece : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal byte isString; - - [FieldOffset(1)] internal byte isOperand; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; internal uint operandNo; - - [FieldOffset(36)] internal sbyte modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21879,6 +19224,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum Kind @@ -22015,43 +19366,43 @@ public bool IsOperand } } - public string String + public uint OperandNo { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->operandNo; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + ((__Internal*)__Instance)->operandNo = value; } } - public uint OperandNo + public sbyte Modifier { get { - return ((__Internal*)__Instance)->operandNo; + return ((__Internal*)__Instance)->modifier; } set { - ((__Internal*)__Instance)->operandNo = value; + ((__Internal*)__Instance)->modifier = value; } } - public sbyte Modifier + public string String { get { - return ((__Internal*)__Instance)->modifier; + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->modifier = value; + __Internal.SetString(__Instance, value); } } } @@ -22151,59 +19502,26 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(100)] internal byte hasBraces; - - [FieldOffset(104)] internal uint numAsmToks; - - [FieldOffset(112)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C asmString; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C AsmString; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -22213,6 +19531,12 @@ public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDi [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12getAsmStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetAsmString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12setAsmStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetAsmString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MSAsmStmt __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -22337,41 +19661,28 @@ public string AsmString { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->asmString)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetAsmString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->asmString), value); + __Internal.SetAsmString(__Instance, value); } } } public unsafe partial class SEHExceptStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal exceptLoc; - - [FieldOffset(24)] internal __IntPtr filterExpr; - - [FieldOffset(32)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13SEHExceptStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22486,25 +19797,14 @@ public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) public unsafe partial class SEHFinallyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal finallyLoc; - - [FieldOffset(24)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SEHFinallyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22605,37 +19905,18 @@ public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) public unsafe partial class SEHTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal byte isCXXTry; - - [FieldOffset(32)] internal __IntPtr tryBlock; - - [FieldOffset(40)] internal __IntPtr handler; - - [FieldOffset(48)] internal __IntPtr exceptHandler; - - [FieldOffset(56)] internal __IntPtr finallyHandler; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SEHTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22791,22 +20072,13 @@ public bool IsCXXTry public unsafe partial class SEHLeaveStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal leaveLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12SEHLeaveStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22893,28 +20165,15 @@ public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) public unsafe partial class CapturedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ capture_inits; - - [FieldOffset(48)] internal __IntPtr capturedStmt; - - [FieldOffset(56)] internal uint capture_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22949,25 +20208,14 @@ public enum VariableCaptureKind public unsafe partial class Capture : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CapturedStmt.VariableCaptureKind captureKind; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(8)] internal byte capturesThis; - - [FieldOffset(9)] internal byte capturesVariable; - - [FieldOffset(10)] internal byte capturesVariableByCopy; - - [FieldOffset(11)] internal byte capturesVariableArrayType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmt7CaptureC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23292,28 +20540,15 @@ public uint GetcaptureInitsCount public unsafe partial class CXXCatchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal catchLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal caughtType; - - [FieldOffset(40)] internal __IntPtr handlerBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXCatchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23429,28 +20664,15 @@ public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) public unsafe partial class CXXTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal __IntPtr tryBlock; - - [FieldOffset(32)] internal uint numHandlers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23564,58 +20786,25 @@ public uint NumHandlers public unsafe partial class CXXForRangeStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr rangeInit; - - [FieldOffset(40)] internal __IntPtr cond; - - [FieldOffset(48)] internal __IntPtr inc; - - [FieldOffset(56)] internal __IntPtr body; - - [FieldOffset(64)] internal __IntPtr rangeStmt; - - [FieldOffset(72)] internal __IntPtr beginStmt; - - [FieldOffset(80)] internal __IntPtr endStmt; - - [FieldOffset(88)] internal __IntPtr loopVarStmt; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal coawaitLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXForRangeStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23867,31 +21056,16 @@ public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) public unsafe partial class MSDependentExistsStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal byte isIfExists; - - [FieldOffset(25)] internal byte isIfNotExists; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21MSDependentExistsStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24018,58 +21192,25 @@ public bool IsIfNotExists public unsafe partial class CoroutineBodyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte hasDependentPromiseType; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(32)] internal __IntPtr promiseDeclStmt; - - [FieldOffset(40)] internal __IntPtr initSuspendStmt; - - [FieldOffset(48)] internal __IntPtr finalSuspendStmt; - - [FieldOffset(56)] internal __IntPtr exceptionHandler; - - [FieldOffset(64)] internal __IntPtr fallthroughHandler; - - [FieldOffset(72)] internal __IntPtr allocate; - - [FieldOffset(80)] internal __IntPtr deallocate; - - [FieldOffset(88)] internal __IntPtr returnValueInit; - - [FieldOffset(96)] internal __IntPtr resultDecl; - - [FieldOffset(104)] internal __IntPtr returnStmt; - - [FieldOffset(112)] internal __IntPtr returnStmtOnAllocFailure; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24098,7 +21239,7 @@ public enum SubStmt public unsafe partial class CtorArgs : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmt8CtorArgsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24451,31 +21592,16 @@ public bool HasDependentPromiseType public unsafe partial class CoreturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte isImplicit; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(32)] internal __IntPtr operand; - - [FieldOffset(40)] internal __IntPtr promiseCall; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CoreturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24803,61 +21929,26 @@ public enum UnaryExprOrTypeTrait public unsafe partial class Expr : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4ExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24936,31 +22027,16 @@ public enum NullPointerConstantValueDependence public unsafe partial class Classification : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.Expr.Classification.Kinds kind; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.Expr.Classification.ModifiableType modifiable; - - [FieldOffset(8)] internal byte isLValue; - - [FieldOffset(9)] internal byte isXValue; - - [FieldOffset(10)] internal byte isGLValue; - - [FieldOffset(11)] internal byte isPRValue; - - [FieldOffset(12)] internal byte isRValue; - - [FieldOffset(13)] internal byte isModifiable; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4Expr14ClassificationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25467,64 +22543,27 @@ public bool HasPlaceholderType public unsafe partial class FullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25629,64 +22668,27 @@ public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) public unsafe partial class ConstantExpr : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ConstantExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25760,70 +22762,29 @@ public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) public unsafe partial class OpaqueValueExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isUnique; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal __IntPtr sourceExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15OpaqueValueExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25937,97 +22898,38 @@ public bool IsUnique public unsafe partial class DeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte hadMultipleCandidates; - - [FieldOffset(81)] internal byte hasQualifier; - - [FieldOffset(88)] internal __IntPtr foundDecl; - - [FieldOffset(96)] internal byte hasTemplateKWAndArgsInfo; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal byte refersToEnclosingVariableOrCapture; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26258,67 +23160,28 @@ public bool RefersToEnclosingVariableOrCapture public unsafe partial class IntegerLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14IntegerLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26418,67 +23281,28 @@ public ulong Value public unsafe partial class FixedPointLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17FixedPointLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26578,70 +23402,29 @@ public ulong Value public unsafe partial class CharacterLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.CharacterLiteral.CharacterKind kind; - - [FieldOffset(84)] internal uint value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CharacterLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26763,70 +23546,29 @@ public uint Value public unsafe partial class FloatingLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte exact; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal double valueAsApproximateDouble; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15FloatingLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26939,64 +23681,27 @@ public double ValueAsApproximateDouble public unsafe partial class ImaginaryLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImaginaryLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27084,106 +23789,41 @@ public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C @string; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C bytes; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C String; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Bytes; internal uint byteLength; - - [FieldOffset(132)] internal uint length; - - [FieldOffset(136)] internal uint charByteWidth; - - [FieldOffset(140)] internal global::CppSharp.Parser.AST.StringLiteral.StringKind kind; - - [FieldOffset(144)] internal byte isAscii; - - [FieldOffset(145)] internal byte isWide; - - [FieldOffset(146)] internal byte isUTF8; - - [FieldOffset(147)] internal byte isUTF16; - - [FieldOffset(148)] internal byte isUTF32; - - [FieldOffset(149)] internal byte isPascal; - - [FieldOffset(150)] internal byte containsNonAscii; - - [FieldOffset(151)] internal byte containsNonAsciiOrNull; - - [FieldOffset(152)] internal uint numConcatenated; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27194,6 +23834,18 @@ public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8getBytesEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBytes(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8setBytesEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBytes(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum StringKind @@ -27284,34 +23936,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string String - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); - } - } - - public string Bytes - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->bytes)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->bytes), value); - } - } - public uint ByteLength { get @@ -27480,71 +24104,60 @@ public uint NumConcatenated ((__Internal*)__Instance)->numConcatenated = value; } } + + public string String + { + get + { + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetString(__Instance, value); + } + } + + public string Bytes + { + get + { + var ___ret = __Internal.GetBytes(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBytes(__Instance, value); + } + } } public unsafe partial class PredefinedExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.PredefinedExpr.IdentKind identKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14PredefinedExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27656,70 +24269,29 @@ public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) public unsafe partial class ParenExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParen; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParen; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParenExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27833,94 +24405,37 @@ public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) public unsafe partial class UnaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryOperatorKind opcode; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(92)] internal byte canOverflow; - - [FieldOffset(93)] internal byte isPrefix; - - [FieldOffset(94)] internal byte isPostfix; - - [FieldOffset(95)] internal byte isIncrementOp; - - [FieldOffset(96)] internal byte isDecrementOp; - - [FieldOffset(97)] internal byte isIncrementDecrementOp; - - [FieldOffset(98)] internal byte isArithmeticOp; - - [FieldOffset(99)] internal byte isFPContractableWithinStatement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13UnaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28138,73 +24653,30 @@ public bool IsFPContractableWithinStatement public unsafe partial class OffsetOfExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numComponents; - - [FieldOffset(88)] internal uint numExpressions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OffsetOfExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28330,82 +24802,33 @@ public uint NumExpressions public unsafe partial class UnaryExprOrTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryExprOrTypeTrait kind; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal byte isArgumentType; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal argumentType; - - [FieldOffset(112)] internal __IntPtr argumentExpr; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeOfArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24UnaryExprOrTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28575,76 +24998,31 @@ public bool IsArgumentType public unsafe partial class ArraySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(104)] internal __IntPtr @base; - - [FieldOffset(112)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArraySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28787,88 +25165,35 @@ public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) public unsafe partial class CallExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29129,100 +25454,39 @@ public uint GetargumentsCount public unsafe partial class MemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte arrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(96)] internal byte hadMultipleCandidates; - - [FieldOffset(97)] internal byte hasQualifier; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(124)] internal byte isImplicitAccess; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10MemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29466,70 +25730,29 @@ public bool IsImplicitAccess public unsafe partial class CompoundLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr initializer; - - [FieldOffset(88)] internal byte fileScope; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CompoundLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29643,82 +25866,33 @@ public bool FileScope public unsafe partial class CastExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29918,85 +26092,34 @@ public uint PathSize public unsafe partial class ImplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal byte isPartOfExplicitCast; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30088,85 +26211,34 @@ public bool IsPartOfExplicitCast public unsafe partial class ExplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30272,91 +26344,36 @@ public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) public unsafe partial class CStyleCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14CStyleCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30456,118 +26473,45 @@ public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(129)] internal byte isMultiplicativeOp; - - [FieldOffset(130)] internal byte isAdditiveOp; - - [FieldOffset(131)] internal byte isShiftOp; - - [FieldOffset(132)] internal byte isBitwiseOp; - - [FieldOffset(133)] internal byte isRelationalOp; - - [FieldOffset(134)] internal byte isEqualityOp; - - [FieldOffset(135)] internal byte isComparisonOp; - - [FieldOffset(136)] internal byte isLogicalOp; - - [FieldOffset(137)] internal byte isAssignmentOp; - - [FieldOffset(138)] internal byte isCompoundAssignmentOp; - - [FieldOffset(139)] internal byte isShiftAssignOp; - - [FieldOffset(140)] internal byte isFPContractableWithinStatement; - - [FieldOffset(141)] internal byte isFEnvAccessOn; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30581,6 +26525,12 @@ public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, I [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperator __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -30730,20 +26680,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string OpcodeStr - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); - } - } - public bool IsPtrMemOp { get @@ -30925,128 +26861,65 @@ public bool IsFEnvAccessOn ((__Internal*)__Instance)->isFEnvAccessOn = (byte) (value ? 1 : 0); } } + + public string OpcodeStr + { + get + { + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetOpcodeStr(__Instance, value); + } + } } public unsafe partial class CompoundAssignOperator : global::CppSharp.Parser.AST.BinaryOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C opcodeStr; - - [FieldOffset(128)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(129)] internal byte isMultiplicativeOp; - - [FieldOffset(130)] internal byte isAdditiveOp; - - [FieldOffset(131)] internal byte isShiftOp; - - [FieldOffset(132)] internal byte isBitwiseOp; - - [FieldOffset(133)] internal byte isRelationalOp; - - [FieldOffset(134)] internal byte isEqualityOp; - - [FieldOffset(135)] internal byte isComparisonOp; - - [FieldOffset(136)] internal byte isLogicalOp; - - [FieldOffset(137)] internal byte isAssignmentOp; - - [FieldOffset(138)] internal byte isCompoundAssignmentOp; - - [FieldOffset(139)] internal byte isShiftAssignOp; - - [FieldOffset(140)] internal byte isFPContractableWithinStatement; - - [FieldOffset(141)] internal byte isFEnvAccessOn; - - [FieldOffset(144)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationLHSType; - - [FieldOffset(160)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CompoundAssignOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31171,76 +27044,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class AbstractConditionalOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27AbstractConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31399,82 +27227,33 @@ public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractCondition public unsafe partial class ConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr lHS; - - [FieldOffset(120)] internal __IntPtr rHS; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31576,82 +27355,33 @@ public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) public unsafe partial class BinaryConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr common; - - [FieldOffset(120)] internal __IntPtr opaqueValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25BinaryConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31753,67 +27483,28 @@ public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOp public unsafe partial class AddrLabelExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal ampAmpLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13AddrLabelExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31913,70 +27604,29 @@ public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) public unsafe partial class StmtExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subStmt; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8StmtExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32090,70 +27740,29 @@ public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) public unsafe partial class ShuffleVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numSubExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ShuffleVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32266,70 +27875,29 @@ public uint NumSubExprs public unsafe partial class ConvertVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ConvertVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32443,85 +28011,34 @@ public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) public unsafe partial class ChooseExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isConditionTrue; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal byte isConditionDependent; - - [FieldOffset(120)] internal __IntPtr chosenSubExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ChooseExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32703,64 +28220,27 @@ public bool IsConditionDependent public unsafe partial class GNUNullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal tokenLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11GNUNullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32847,73 +28327,30 @@ public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) public unsafe partial class VAArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal byte isMicrosoftABI; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9VAArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33040,97 +28477,38 @@ public bool IsMicrosoftABI public unsafe partial class InitListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr arrayFiller; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rBraceLoc; - - [FieldOffset(96)] internal __IntPtr syntacticForm; - - [FieldOffset(104)] internal uint numInits; - - [FieldOffset(108)] internal byte hasArrayFiller; - - [FieldOffset(109)] internal byte isExplicit; - - [FieldOffset(110)] internal byte isStringLiteralInit; - - [FieldOffset(111)] internal byte isTransparent; - - [FieldOffset(112)] internal byte isSemanticForm; - - [FieldOffset(120)] internal __IntPtr semanticForm; - - [FieldOffset(128)] internal byte isSyntacticForm; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12InitListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33363,79 +28741,32 @@ public bool IsSyntacticForm public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal equalOrColonLoc; - - [FieldOffset(80)] internal __IntPtr init; - - [FieldOffset(88)] internal uint size; - - [FieldOffset(92)] internal byte usesGNUSyntax; - - [FieldOffset(96)] internal uint numSubExprs; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceRange.__Internal designatorsSourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33447,40 +28778,19 @@ public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Exp public unsafe partial class Designator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr field; - - [FieldOffset(8)] internal byte isFieldDesignator; - - [FieldOffset(9)] internal byte isArrayDesignator; - - [FieldOffset(10)] internal byte isArrayRangeDesignator; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal dotLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal fieldLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracketLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(28)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(32)] internal uint firstExprIndex; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr10DesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33736,7 +29046,7 @@ public uint FirstExprIndex public unsafe partial class FieldDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr15FieldDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33846,7 +29156,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class ArrayOrRangeDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr22ArrayOrRangeDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34099,61 +29409,26 @@ public uint NumSubExprs public unsafe partial class NoInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10NoInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34227,67 +29502,28 @@ public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) public unsafe partial class DesignatedInitUpdateExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr updater; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24DesignatedInitUpdateExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34389,67 +29625,28 @@ public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdate public unsafe partial class ArrayInitLoopExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ArrayInitLoopExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34551,61 +29748,26 @@ public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) public unsafe partial class ArrayInitIndexExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayInitIndexExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34679,61 +29841,26 @@ public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) public unsafe partial class ImplicitValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21ImplicitValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34807,70 +29934,29 @@ public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _ public unsafe partial class ParenListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numExprs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ParenListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34983,85 +30069,34 @@ public uint NumExprs public unsafe partial class GenericSelectionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numAssocs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal genericLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(96)] internal __IntPtr controllingExpr; - - [FieldOffset(104)] internal byte isResultDependent; - - [FieldOffset(108)] internal uint resultIndex; - - [FieldOffset(112)] internal __IntPtr resultExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20GenericSelectionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35241,76 +30276,31 @@ public uint ResultIndex public unsafe partial class ExtVectorElementExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal accessorLoc; - - [FieldOffset(92)] internal uint numElements; - - [FieldOffset(96)] internal byte containsDuplicateElements; - - [FieldOffset(97)] internal byte isArrow; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20ExtVectorElementExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35450,67 +30440,28 @@ public bool IsArrow public unsafe partial class BlockExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal caretLocation; - - [FieldOffset(80)] internal __IntPtr body; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BlockExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35611,70 +30562,29 @@ public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) public unsafe partial class AsTypeExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AsTypeExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35788,73 +30698,30 @@ public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) public unsafe partial class PseudoObjectExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr syntacticForm; - - [FieldOffset(88)] internal uint resultExprIndex; - - [FieldOffset(96)] internal __IntPtr resultExpr; - - [FieldOffset(104)] internal uint numSemanticExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16PseudoObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35982,106 +30849,41 @@ public uint NumSemanticExprs public unsafe partial class AtomicExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr ptr; - - [FieldOffset(88)] internal __IntPtr order; - - [FieldOffset(96)] internal __IntPtr scope; - - [FieldOffset(104)] internal __IntPtr val1; - - [FieldOffset(112)] internal __IntPtr orderFail; - - [FieldOffset(120)] internal __IntPtr val2; - - [FieldOffset(128)] internal __IntPtr weak; - - [FieldOffset(136)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal valueType; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.AtomicExpr.AtomicOp op; - - [FieldOffset(156)] internal uint numSubExprs; - - [FieldOffset(160)] internal byte isVolatile; - - [FieldOffset(161)] internal byte isCmpXChg; - - [FieldOffset(162)] internal byte isOpenCL; - - [FieldOffset(164)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AtomicExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36409,61 +31211,26 @@ public bool IsOpenCL public unsafe partial class TypoExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TypoExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36537,100 +31304,39 @@ public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) public unsafe partial class CXXOperatorCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.OverloadedOperatorKind _operator; - - [FieldOffset(156)] internal byte isAssignmentOp; - - [FieldOffset(157)] internal byte isInfixBinaryOp; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CXXOperatorCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36777,94 +31483,37 @@ public bool IsInfixBinaryOp public unsafe partial class CXXMemberCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr implicitObjectArgument; - - [FieldOffset(160)] internal __IntPtr methodDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXMemberCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36987,91 +31636,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CUDAKernelCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr config; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CUDAKernelCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37180,97 +31774,38 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXNamedCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXNamedCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37430,97 +31965,38 @@ public string CastName public unsafe partial class CXXStaticCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXStaticCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37594,100 +32070,39 @@ public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) public unsafe partial class CXXDynamicCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; - - [FieldOffset(160)] internal byte isAlwaysNull; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDynamicCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37774,97 +32189,38 @@ public bool IsAlwaysNull public unsafe partial class CXXReinterpretCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXReinterpretCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37938,97 +32294,38 @@ public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr public unsafe partial class CXXConstCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38102,97 +32399,38 @@ public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) public unsafe partial class UserDefinedLiteral : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.UserDefinedLiteral.LiteralOperatorKind literalOperatorKind; - - [FieldOffset(160)] internal __IntPtr cookedLiteral; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal uDSuffixLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UserDefinedLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38337,67 +32575,28 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXBoolLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXBoolLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38497,64 +32696,27 @@ public bool Value public unsafe partial class CXXNullPtrLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXNullPtrLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38641,64 +32803,27 @@ public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _ public unsafe partial class CXXStdInitializerListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25CXXStdInitializerListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38786,70 +32911,29 @@ public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerLi public unsafe partial class CXXTypeidExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] internal byte isPotentiallyEvaluated; - - [FieldOffset(89)] internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXTypeidExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38963,73 +33047,30 @@ public bool IsTypeOperand public unsafe partial class MSPropertyRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr baseExpr; - - [FieldOffset(88)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MSPropertyRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39156,70 +33197,29 @@ public bool IsArrow public unsafe partial class MSPropertySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23MSPropertySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39334,70 +33334,29 @@ public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptEx public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C uuidStr; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C UuidStr; internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39408,6 +33367,12 @@ public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10getUuidStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUuidStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10setUuidStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUuidStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new CXXUuidofExpr __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -39503,97 +33468,58 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string UuidStr + public bool IsTypeOperand { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->uuidStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isTypeOperand != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->uuidStr), value); + ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); } } - public bool IsTypeOperand + public string UuidStr { get { - return ((__Internal*)__Instance)->isTypeOperand != 0; + var ___ret = __Internal.GetUuidStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); + __Internal.SetUuidStr(__Instance, value); } } } public unsafe partial class CXXThisExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte @implicit; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXThisExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39693,70 +33619,29 @@ public bool Implicit public unsafe partial class CXXThrowExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal throwLoc; - - [FieldOffset(92)] internal byte isThrownVariableInScope; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXThrowExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39870,67 +33755,28 @@ public bool IsThrownVariableInScope public unsafe partial class CXXDefaultArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr expr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal usedLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXDefaultArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40031,67 +33877,28 @@ public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) public unsafe partial class CXXDefaultInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr field; - - [FieldOffset(88)] internal __IntPtr expr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDefaultInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40193,64 +34000,27 @@ public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) public unsafe partial class CXXBindTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CXXBindTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40338,88 +34108,35 @@ public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) public unsafe partial class CXXConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40687,70 +34404,29 @@ public uint GetargumentsCount public unsafe partial class CXXInheritedCtorInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte constructsVBase; - - [FieldOffset(74)] internal byte inheritedFromVBase; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXInheritedCtorInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40863,94 +34539,37 @@ public bool InheritedFromVBase public unsafe partial class CXXFunctionalCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(144)] internal byte isListInitialization; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXFunctionalCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41063,88 +34682,35 @@ public bool IsListInitialization public unsafe partial class CXXTemporaryObjectExpr : global::CppSharp.Parser.AST.CXXConstructExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXTemporaryObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41239,91 +34805,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class LambdaExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ capture_inits; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal captureDefaultLoc; - - [FieldOffset(108)] internal uint capture_size; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceRange.__Internal introducerRange; - - [FieldOffset(120)] internal __IntPtr callOperator; - - [FieldOffset(128)] internal byte isGenericLambda; - - [FieldOffset(136)] internal __IntPtr body; - - [FieldOffset(144)] internal byte isMutable; - - [FieldOffset(145)] internal byte hasExplicitParameters; - - [FieldOffset(146)] internal byte hasExplicitResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LambdaExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41581,64 +35092,27 @@ public uint GetcaptureInitsCount public unsafe partial class CXXScalarValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXScalarValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41725,106 +35199,41 @@ public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr public unsafe partial class CXXNewExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ placement_arguments; - - [FieldOffset(104)] internal __IntPtr operatorNew; - - [FieldOffset(112)] internal __IntPtr operatorDelete; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal allocatedType; - - [FieldOffset(136)] internal byte isArray; - - [FieldOffset(144)] internal __IntPtr arraySize; - - [FieldOffset(152)] internal uint numPlacementArgs; - - [FieldOffset(156)] internal byte isParenTypeId; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceRange.__Internal typeIdParens; - - [FieldOffset(168)] internal byte isGlobalNew; - - [FieldOffset(169)] internal byte hasInitializer; - - [FieldOffset(172)] internal global::CppSharp.Parser.AST.CXXNewExpr.InitializationStyle initializationStyle; - - [FieldOffset(176)] internal __IntPtr initializer; - - [FieldOffset(184)] internal __IntPtr constructExpr; - - [FieldOffset(192)] internal global::CppSharp.Parser.SourceRange.__Internal directInitRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXNewExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42161,79 +35570,32 @@ public uint GetplacementArgumentsCount public unsafe partial class CXXDeleteExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isGlobalDelete; - - [FieldOffset(74)] internal byte isArrayForm; - - [FieldOffset(75)] internal byte isArrayFormAsWritten; - - [FieldOffset(80)] internal __IntPtr operatorDelete; - - [FieldOffset(88)] internal __IntPtr argument; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXDeleteExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42389,85 +35751,34 @@ public bool IsArrayFormAsWritten public unsafe partial class CXXPseudoDestructorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte hasQualifier; - - [FieldOffset(89)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal colonColonLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal tildeLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal destroyedTypeLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23CXXPseudoDestructorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42648,67 +35959,28 @@ public bool IsArrow public unsafe partial class TypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13TypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42808,70 +36080,29 @@ public uint NumArgs public unsafe partial class ArrayTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal queriedType; - - [FieldOffset(96)] internal ulong value; - - [FieldOffset(104)] internal __IntPtr dimensionExpression; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42987,67 +36218,28 @@ public ulong Value public unsafe partial class ExpressionTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr queriedExpression; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ExpressionTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43148,85 +36340,34 @@ public bool Value public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43241,7 +36382,7 @@ public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDi public unsafe partial class FindResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExpr10FindResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43531,91 +36672,36 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedLookupExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte requiresADL; - - [FieldOffset(105)] internal byte isOverloaded; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedLookupExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43715,82 +36801,33 @@ public bool IsOverloaded public unsafe partial class DependentScopeDeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(92)] internal byte hasTemplateKeyword; - - [FieldOffset(93)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(96)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25DependentScopeDeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43955,70 +36992,29 @@ public uint NumTemplateArgs public unsafe partial class ExprWithCleanups : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal uint numObjects; - - [FieldOffset(92)] internal byte cleanupsHaveSideEffects; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExprWithCleanupsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44118,79 +37114,32 @@ public bool CleanupsHaveSideEffects public unsafe partial class CXXUnresolvedConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(128)] internal byte isListInitialization; - - [FieldOffset(132)] internal uint arg_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26CXXUnresolvedConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44394,100 +37343,39 @@ public uint GetargumentsCount public unsafe partial class CXXDependentScopeMemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(104)] internal byte isArrow; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(112)] internal __IntPtr firstQualifierFoundInScope; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(128)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(132)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(136)] internal byte hasTemplateKeyword; - - [FieldOffset(137)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(140)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27CXXDependentScopeMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44734,106 +37622,41 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedMemberExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte isImplicitAccess; - - [FieldOffset(112)] internal __IntPtr @base; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(136)] internal byte hasUnresolvedUsing; - - [FieldOffset(137)] internal byte isArrow; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45001,67 +37824,28 @@ public bool IsArrow public unsafe partial class CXXNoexceptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXNoexceptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45162,67 +37946,28 @@ public bool Value public unsafe partial class PackExpansionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr pattern; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45323,79 +38068,32 @@ public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) public unsafe partial class SizeOfPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal packLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal __IntPtr pack; - - [FieldOffset(96)] internal uint packLength; - - [FieldOffset(100)] internal byte isPartiallySubstituted; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SizeOfPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45548,67 +38246,28 @@ public bool IsPartiallySubstituted public unsafe partial class SubstNonTypeTemplateParmExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(80)] internal __IntPtr replacement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST28SubstNonTypeTemplateParmExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45709,67 +38368,28 @@ public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemp public unsafe partial class SubstNonTypeTemplateParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.TemplateArgument.__Internal argumentPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32SubstNonTypeTemplateParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45871,67 +38491,28 @@ public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonType public unsafe partial class FunctionParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal uint numExpansions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20FunctionParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46031,73 +38612,30 @@ public uint NumExpansions public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr temporary; - - [FieldOffset(88)] internal __IntPtr TemporaryExpr; - - [FieldOffset(96)] internal uint manglingNumber; - - [FieldOffset(100)] internal byte isBoundToLvalueReference; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46109,7 +38647,7 @@ public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.A public unsafe partial class ExtraState : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExpr10ExtraStateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46335,85 +38873,34 @@ public bool IsBoundToLvalueReference public unsafe partial class CXXFoldExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal byte isRightFold; - - [FieldOffset(97)] internal byte isLeftFold; - - [FieldOffset(104)] internal __IntPtr pattern; - - [FieldOffset(112)] internal __IntPtr init; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.AST.BinaryOperatorKind _operator; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXFoldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46595,79 +39082,32 @@ public bool IsLeftFold public unsafe partial class CoroutineSuspendExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CoroutineSuspendExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46850,85 +39290,34 @@ public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) public unsafe partial class CoawaitExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal byte isImplicit; - - [FieldOffset(128)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47029,70 +39418,29 @@ public bool IsImplicit public unsafe partial class DependentCoawaitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal __IntPtr operatorCoawaitLookup; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20DependentCoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47207,82 +39555,33 @@ public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) public unsafe partial class CoyieldExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoyieldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47392,130 +39691,49 @@ public enum ParserIntType public unsafe partial class ParserTargetInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ABI; - - [FieldOffset(24)] internal global::CppSharp.Parser.ParserIntType char16Type; - - [FieldOffset(28)] internal global::CppSharp.Parser.ParserIntType char32Type; - - [FieldOffset(32)] internal global::CppSharp.Parser.ParserIntType int64Type; - - [FieldOffset(36)] internal global::CppSharp.Parser.ParserIntType intMaxType; - - [FieldOffset(40)] internal global::CppSharp.Parser.ParserIntType intPtrType; - - [FieldOffset(44)] internal global::CppSharp.Parser.ParserIntType sizeType; - - [FieldOffset(48)] internal global::CppSharp.Parser.ParserIntType uIntMaxType; - - [FieldOffset(52)] internal global::CppSharp.Parser.ParserIntType wCharType; - - [FieldOffset(56)] internal global::CppSharp.Parser.ParserIntType wIntType; - - [FieldOffset(60)] internal uint boolAlign; - - [FieldOffset(64)] internal uint boolWidth; - - [FieldOffset(68)] internal uint charAlign; - - [FieldOffset(72)] internal uint charWidth; - - [FieldOffset(76)] internal uint char16Align; - - [FieldOffset(80)] internal uint char16Width; - - [FieldOffset(84)] internal uint char32Align; - - [FieldOffset(88)] internal uint char32Width; - - [FieldOffset(92)] internal uint halfAlign; - - [FieldOffset(96)] internal uint halfWidth; - - [FieldOffset(100)] internal uint floatAlign; - - [FieldOffset(104)] internal uint floatWidth; - - [FieldOffset(108)] internal uint doubleAlign; - - [FieldOffset(112)] internal uint doubleWidth; - - [FieldOffset(116)] internal uint shortAlign; - - [FieldOffset(120)] internal uint shortWidth; - - [FieldOffset(124)] internal uint intAlign; - - [FieldOffset(128)] internal uint intWidth; - - [FieldOffset(132)] internal uint intMaxTWidth; - - [FieldOffset(136)] internal uint longAlign; - - [FieldOffset(140)] internal uint longWidth; - - [FieldOffset(144)] internal uint longDoubleAlign; - - [FieldOffset(148)] internal uint longDoubleWidth; - - [FieldOffset(152)] internal uint longLongAlign; - - [FieldOffset(156)] internal uint longLongWidth; - - [FieldOffset(160)] internal uint pointerAlign; - - [FieldOffset(164)] internal uint pointerWidth; - - [FieldOffset(168)] internal uint wCharAlign; - - [FieldOffset(172)] internal uint wCharWidth; - - [FieldOffset(176)] internal uint float128Align; - - [FieldOffset(180)] internal uint float128Width; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47526,6 +39744,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6getABIEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetABI(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6setABIEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetABI(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -47630,20 +39854,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string ABI - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->ABI)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->ABI), value); - } - } - public global::CppSharp.Parser.ParserIntType Char16Type { get @@ -48163,6 +40373,20 @@ public uint Float128Width ((__Internal*)__Instance)->float128Width = value; } } + + public string ABI + { + get + { + var ___ret = __Internal.GetABI(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetABI(__Instance, value); + } + } } } } @@ -48268,72 +40492,32 @@ protected Parser(void* native, bool skipVTables = false) public unsafe partial class CppParserOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 288)] + [StructLayout(LayoutKind.Sequential, Size = 296)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ CompilationOptions; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C LibraryFile; internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SourceFiles; - - [FieldOffset(72)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ IncludeDirs; - - [FieldOffset(96)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SystemIncludeDirs; - - [FieldOffset(120)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Defines; - - [FieldOffset(144)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Undefines; - - [FieldOffset(168)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SupportedStdTypes; - - [FieldOffset(192)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ SupportedFunctionTemplates; - - [FieldOffset(216)] internal __IntPtr ASTContext; - - [FieldOffset(224)] internal int toolSetToUse; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C targetTriple; - - [FieldOffset(256)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C TargetTriple; + internal global::CppSharp.Parser.AST.CppAbi abi; internal byte noStandardIncludes; - - [FieldOffset(257)] internal byte noBuiltinIncludes; - - [FieldOffset(258)] internal byte microsoftMode; - - [FieldOffset(259)] internal byte verbose; - - [FieldOffset(260)] internal byte unityBuild; - - [FieldOffset(261)] internal byte skipPrivateDeclarations; - - [FieldOffset(262)] internal byte skipLayoutInfo; - - [FieldOffset(263)] internal byte skipFunctionBodies; - [FieldOffset(264)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C clangVersion; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -48425,7 +40609,7 @@ public partial struct __Internal internal static extern void ClearSupportedFunctionTemplates(__IntPtr __instance); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getClangVersionEv", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void GetClangVersion(__IntPtr @return, __IntPtr __instance); + internal static extern __IntPtr GetClangVersion(); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions17getArgumentsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetArgumentsCount(__IntPtr __instance); @@ -48433,6 +40617,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions26getCompilationOptionsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetCompilationOptionsCount(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14getLibraryFileEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetLibraryFile(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14setLibraryFileEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetLibraryFile(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions19getSourceFilesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSourceFilesCount(__IntPtr __instance); @@ -48453,6 +40643,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions34getSupportedFunctionTemplatesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSupportedFunctionTemplatesCount(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getTargetTripleEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTargetTriple(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15setTargetTripleEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTargetTriple(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -48728,17 +40924,16 @@ public int ToolSetToUse } } - public string TargetTriple + public global::CppSharp.Parser.AST.CppAbi Abi { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->targetTriple)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->abi; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->targetTriple), value); + ((__Internal*)__Instance)->abi = value; } } @@ -48846,16 +41041,12 @@ public bool SkipFunctionBodies } } - public string ClangVersion + public static string ClangVersion { get { - var ___ret = new global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&___ret), __Instance); - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&___ret)); - var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); - __basicStringRet0.Dispose(); - return __retString0; + var ___ret = __Internal.GetClangVersion(); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } } @@ -48877,6 +41068,20 @@ public uint CompilationOptionsCount } } + public string LibraryFile + { + get + { + var ___ret = __Internal.GetLibraryFile(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetLibraryFile(__Instance, value); + } + } + public uint SourceFilesCount { get @@ -48939,20 +41144,29 @@ public uint SupportedFunctionTemplatesCount return ___ret; } } + + public string TargetTriple + { + get + { + var ___ret = __Internal.GetTargetTriple(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetTargetTriple(__Instance, value); + } + } } public unsafe partial class CppLinkerOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ LibraryDirs; - - [FieldOffset(48)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ Libraries; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppLinkerOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49181,22 +41395,13 @@ public uint LibrariesCount public unsafe partial class ParserDiagnostic : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C fileName; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C message; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C FileName; + internal global::Std.BasicString.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C Message; internal global::CppSharp.Parser.ParserDiagnosticLevel level; - - [FieldOffset(52)] internal int lineNumber; - - [FieldOffset(56)] internal int columnNumber; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49207,6 +41412,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10getMessageEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMessage(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10setMessageEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMessage(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -49311,89 +41528,82 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string FileName + public global::CppSharp.Parser.ParserDiagnosticLevel Level { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->level; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->level = value; } } - public string Message + public int LineNumber { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->message)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumber; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->message), value); + ((__Internal*)__Instance)->lineNumber = value; } } - public global::CppSharp.Parser.ParserDiagnosticLevel Level + public int ColumnNumber { get { - return ((__Internal*)__Instance)->level; + return ((__Internal*)__Instance)->columnNumber; } set { - ((__Internal*)__Instance)->level = value; + ((__Internal*)__Instance)->columnNumber = value; } } - public int LineNumber + public string FileName { get { - return ((__Internal*)__Instance)->lineNumber; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumber = value; + __Internal.SetFileName(__Instance, value); } } - public int ColumnNumber + public string Message { get { - return ((__Internal*)__Instance)->columnNumber; + var ___ret = __Internal.GetMessage(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->columnNumber = value; + __Internal.SetMessage(__Instance, value); } } } public unsafe partial class ParserResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.ParserResultKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S0_ Diagnostics; - - [FieldOffset(32)] internal global::Std.Vector.__Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S0_ Libraries; - - [FieldOffset(56)] internal __IntPtr targetInfo; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser12ParserResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49623,7 +41833,7 @@ public uint LibrariesCount public unsafe partial class ClangParser : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParserC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -49635,14 +41845,14 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser12ParseLibraryEPNS0_16CppLinkerOptionsE", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ParseLibrary(__IntPtr Opts); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Compile(__IntPtr Opts, __IntPtr File); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Compile(__IntPtr Opts, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); } public __IntPtr __Instance { get; protected set; } @@ -49761,11 +41971,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Build(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Build(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49773,11 +41979,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public static global::CppSharp.Parser.ParserResult Compile(global::CppSharp.Parser.CppParserOptions Opts, string File) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; - var __basicString1 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString1, File); - var __arg1 = __basicString1.__Instance; - var ___ret = __Internal.Compile(__arg0, __arg1); - __basicString1.Dispose(); + var ___ret = __Internal.Compile(__arg0, File); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49786,11 +41988,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Link(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Link(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49802,283 +42000,243 @@ namespace Std { namespace CompressedPair { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 { - [FieldOffset(0)] internal ulong __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ { - [FieldOffset(0)] internal global::Std.TreeEndNode.__Internal_Ptr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } } @@ -50088,497 +42246,307 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_NativeLibrary___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Expr___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Stmt___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ExpressionObsolete___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Method___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Field___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Template___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Class___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Function___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair______N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_N___1_S_allocator__S1_ __end_cap_; } } @@ -50588,16 +42556,11 @@ namespace Std { namespace Tree { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_node_; - - [FieldOffset(8)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_; } } @@ -50607,10 +42570,9 @@ namespace Std { namespace Map { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_ { - [FieldOffset(0)] internal global::Std.Tree.__Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_; } } diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std-symbols.cpp b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std-symbols.cpp index 6d8a95789..26e5ae164 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std-symbols.cpp +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std-symbols.cpp @@ -1,5 +1,5 @@ #define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -#define _LIBCPP_HAS_NO_EXCEPTIONS +#define _LIBCPP_HIDE_FROM_ABI #include #include diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std.cs index d0c4dc6e7..61962e298 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std.cs @@ -58,7 +58,7 @@ namespace Std { namespace CharTraits { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -165,24 +165,21 @@ namespace Std { namespace CompressedPair { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_S___rep_S2_ { - [FieldOffset(0)] internal global::Std.BasicString.Rep.__Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair_____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S1_ { - [FieldOffset(0)] internal __IntPtr __value_; } - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair___i___N_std_N___1_S_allocator__i { - [FieldOffset(0)] internal __IntPtr __value_; } } @@ -192,7 +189,7 @@ namespace Std { namespace Allocator { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__19allocatorIcEC2B8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -303,10 +300,9 @@ namespace Std { namespace BasicString { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { - [FieldOffset(0)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C_S___rep_S2_ __r_; [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -314,6 +310,9 @@ public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_ [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Assignc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s); } namespace Rep @@ -420,10 +419,9 @@ public unsafe partial struct __Internal namespace Raw { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal fixed ulong __words[3]; } } @@ -546,21 +544,10 @@ public unsafe static partial class BasicStringExtensions { public partial struct __Internal { - [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Assign(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s); - [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4dataB8un170006Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr Data(__IntPtr __instance); } - public static global::Std.BasicString, global::Std.Allocator> Assign(this global::Std.BasicString, global::Std.Allocator> @this, string __s) - { - var __arg0 = @this is null ? __IntPtr.Zero : @this.__Instance; - var ___ret = __Internal.Assign(__arg0, __s); - var __result0 = global::Std.BasicString, global::Std.Allocator>.__GetOrCreateInstance(___ret, false); - return __result0; - } - public static string Data(this global::Std.BasicString, global::Std.Allocator> @this) { var __arg0 = @this is null ? __IntPtr.Zero : @this.__Instance; @@ -574,29 +561,19 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S0_ { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair_____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S_allocator__S1_ __end_cap_; } - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internalc__N_std_N___1_S_vector__i___N_std_N___1_S_allocator__i { - [FieldOffset(0)] internal __IntPtr __begin_; - - [FieldOffset(8)] internal __IntPtr __end_; - - [FieldOffset(16)] internal global::Std.CompressedPair.__Internalc__N_std_N___1_S___compressed_pair___i___N_std_N___1_S_allocator__i __end_cap_; } } @@ -606,10 +583,9 @@ namespace Std { namespace TreeEndNode { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internal_Ptr { - [FieldOffset(0)] internal __IntPtr __left_; } } 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 2026c2482..38d6b09a4 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 @@ -62,19 +62,12 @@ public enum ArchType public unsafe partial class NativeLibrary : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C fileName; - - [FieldOffset(32)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C FileName; internal global::CppSharp.Parser.AST.ArchType archType; - - [FieldOffset(40)] internal global::Std.Vector.__Internal Symbols; - - [FieldOffset(64)] internal global::Std.Vector.__Internal Dependencies; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -104,6 +97,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary17clearDependenciesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearDependencies(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary15getSymbolsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSymbolsCount(__IntPtr __instance); @@ -245,30 +244,30 @@ public void ClearDependencies() __Internal.ClearDependencies(__Instance); } - public string FileName + public global::CppSharp.Parser.AST.ArchType ArchType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->archType; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->archType = value; } } - public global::CppSharp.Parser.AST.ArchType ArchType + public string FileName { get { - return ((__Internal*)__Instance)->archType; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->archType = value; + __Internal.SetFileName(__Instance, value); } } @@ -293,10 +292,9 @@ public uint DependenciesCount public unsafe partial class Comment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7CommentC2ENS1_11CommentKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -424,10 +422,9 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BlockContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -518,13 +515,10 @@ public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) public unsafe partial class FullComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Blocks; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11FullCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -661,13 +655,10 @@ public uint BlocksCount public unsafe partial class InlineContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -771,16 +762,11 @@ public bool HasTrailingNewline public unsafe partial class ParagraphComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte isWhitespace; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Content; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ParagraphCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -930,19 +916,12 @@ public uint ContentCount public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -972,11 +951,10 @@ public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.Bl public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -986,6 +964,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -1094,13 +1078,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -1259,25 +1243,14 @@ public uint ArgumentsCount public unsafe partial class ParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.ParamCommandComment.PassDirection direction; - - [FieldOffset(44)] internal uint paramIndex; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1405,22 +1378,13 @@ public uint ParamIndex public unsafe partial class TParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internal Position; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20TParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1556,14 +1520,11 @@ public uint PositionCount public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1573,6 +1534,12 @@ public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.A [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimBlockLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1658,35 +1625,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class VerbatimBlockComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internal Lines; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20VerbatimBlockCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1823,23 +1781,14 @@ public uint LinesCount public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1849,6 +1798,12 @@ public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.Bl [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1934,35 +1889,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class InlineCommandComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] internal uint commandId; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.InlineCommandComment.RenderKind commentRenderKind; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1998,11 +1944,10 @@ public enum RenderKind : uint public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2012,6 +1957,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2120,13 +2071,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -2270,13 +2221,10 @@ public uint ArgumentsCount public unsafe partial class HTMLTagComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14HTMLTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2367,19 +2315,12 @@ public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C tagName; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C TagName; internal global::Std.Vector.__Internal Attributes; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2400,20 +2341,23 @@ public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HT [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment15clearAttributesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearAttributes(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment18getAttributesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetAttributesCount(__IntPtr __instance); } public unsafe partial class Attribute : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C value; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2423,6 +2367,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8getValueEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetValue(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8setValueEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetValue(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2531,13 +2487,13 @@ public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + __Internal.SetName(__Instance, value); } } @@ -2545,13 +2501,13 @@ public string Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->value)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetValue(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->value), value); + __Internal.SetValue(__Instance, value); } } } @@ -2661,13 +2617,13 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } @@ -2683,17 +2639,12 @@ public uint AttributesCount public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C tagName; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C TagName; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2703,6 +2654,12 @@ public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTML [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new HTMLEndTagComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2788,30 +2745,25 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } } public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2821,6 +2773,12 @@ public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineCont [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new TextComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2906,32 +2864,25 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class RawComment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.RawCommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C briefText; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C BriefText; internal __IntPtr fullCommentBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2942,6 +2893,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12getBriefTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBriefText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12setBriefTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBriefText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -3059,45 +3022,45 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) } } - public string Text + public global::CppSharp.Parser.AST.FullComment FullCommentBlock { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; } } - public string BriefText + public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->briefText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->briefText), value); + __Internal.SetText(__Instance, value); } } - public global::CppSharp.Parser.AST.FullComment FullCommentBlock + public string BriefText { get { - var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); - return __result0; + var ___ret = __Internal.GetBriefText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetBriefText(__Instance, value); } } } @@ -3111,10 +3074,9 @@ namespace Parser { public unsafe partial struct SourceLocation { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal uint ID; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser14SourceLocationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3200,13 +3162,10 @@ public uint ID public unsafe partial class SourceRange : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11SourceRangeC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -3427,13 +3386,10 @@ public enum ExceptionSpecType public unsafe partial class Type : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4TypeC2ENS1_8TypeKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -3577,16 +3533,11 @@ public bool IsDependent public unsafe partial class TypeQualifiers : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 3)] + [StructLayout(LayoutKind.Sequential, Size = 3)] public partial struct __Internal { - [FieldOffset(0)] internal byte isConst; - - [FieldOffset(1)] internal byte isVolatile; - - [FieldOffset(2)] internal byte isRestrict; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14TypeQualifiersC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] @@ -3731,13 +3682,10 @@ public bool IsRestrict public unsafe partial class QualifiedType : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr type; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.TypeQualifiers.__Internal qualifiers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13QualifiedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3876,16 +3824,11 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TagType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7TagTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3976,25 +3919,14 @@ public TagType(global::CppSharp.Parser.AST.TagType _0) public unsafe partial class ArrayType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.ArrayType.ArraySize sizeType; - - [FieldOffset(32)] internal long size; - - [FieldOffset(40)] internal long elementSize; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ArrayTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4133,25 +4065,14 @@ public long ElementSize public unsafe partial class FunctionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(28)] internal global::CppSharp.Parser.AST.ExceptionSpecType exceptionSpecType; - - [FieldOffset(32)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12FunctionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4329,19 +4250,12 @@ public uint ParametersCount public unsafe partial class PointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedPointee; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.PointerType.TypeModifier modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11PointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4454,16 +4368,11 @@ public PointerType(global::CppSharp.Parser.AST.PointerType _0) public unsafe partial class MemberPointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MemberPointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4555,16 +4464,11 @@ public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) public unsafe partial class TypedefType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4655,19 +4559,12 @@ public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) public unsafe partial class AttributedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal modified; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal equivalent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4774,22 +4671,13 @@ public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) public unsafe partial class DecayedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal decayed; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal original; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DecayedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4911,19 +4799,12 @@ public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) public unsafe partial class TemplateArgument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TemplateArgument.ArgumentKind kind; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(24)] internal __IntPtr declaration; - - [FieldOffset(32)] internal long integral; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16TemplateArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5100,22 +4981,13 @@ public long Integral public unsafe partial class TemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(32)] internal __IntPtr _template; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26TemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5280,19 +5152,12 @@ public uint ArgumentsCount public unsafe partial class DependentTemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST35DependentTemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5443,25 +5308,14 @@ public uint ArgumentsCount public unsafe partial class TemplateParameterType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr parameter; - - [FieldOffset(16)] internal uint depth; - - [FieldOffset(20)] internal uint index; - - [FieldOffset(24)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TemplateParameterTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5609,19 +5463,12 @@ public bool IsParameterPack public unsafe partial class TemplateParameterSubstitutionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal replacement; - - [FieldOffset(24)] internal __IntPtr replacedParameter; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST33TemplateParameterSubstitutionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5727,19 +5574,12 @@ public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplatePar public unsafe partial class InjectedClassNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal injectedSpecializationType; - - [FieldOffset(24)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21InjectedClassNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5845,20 +5685,13 @@ public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifier; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C identifier; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Identifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -5868,6 +5701,12 @@ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13getIdentifierEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetIdentifier(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13setIdentifierEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetIdentifier(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new DependentNameType __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -5968,26 +5807,23 @@ public string Identifier { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->identifier)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetIdentifier(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->identifier), value); + __Internal.SetIdentifier(__Instance, value); } } } public unsafe partial class PackExpansionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6064,19 +5900,12 @@ public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) public unsafe partial class UnaryTransformType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UnaryTransformTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6183,16 +6012,11 @@ public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) public unsafe partial class UnresolvedUsingType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19UnresolvedUsingTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6283,19 +6107,12 @@ public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) public unsafe partial class VectorType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal elementType; - - [FieldOffset(24)] internal uint numElements; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10VectorTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6400,16 +6217,11 @@ public uint NumElements public unsafe partial class BuiltinType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.PrimitiveType type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11BuiltinTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6706,73 +6518,30 @@ public enum VTableComponentKind public unsafe partial class Declaration : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 224)] + [StructLayout(LayoutKind.Sequential, Size = 224)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclarationC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -6802,6 +6571,24 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration19clearRedeclarationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearRedeclarations(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6getUSREv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUSR(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6setUSREPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUSR(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12getDebugTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetDebugText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12setDebugTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetDebugText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration28getPreprocessedEntitiesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetPreprocessedEntitiesCount(__IntPtr __instance); @@ -7063,164 +6850,164 @@ public int LineNumberEnd } } - public string Name + public bool IsIncomplete { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isIncomplete != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); } } - public string USR + public bool IsDependent { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->USR)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isDependent != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->USR), value); + ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); } } - public string DebugText + public bool IsImplicit { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->debugText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isImplicit != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->debugText), value); + ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); } } - public bool IsIncomplete + public bool IsInvalid { get { - return ((__Internal*)__Instance)->isIncomplete != 0; + return ((__Internal*)__Instance)->isInvalid != 0; } set { - ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); } } - public bool IsDependent + public bool IsDeprecated { get { - return ((__Internal*)__Instance)->isDependent != 0; + return ((__Internal*)__Instance)->isDeprecated != 0; } set { - ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); } } - public bool IsImplicit + public global::CppSharp.Parser.AST.Declaration CompleteDeclaration { get { - return ((__Internal*)__Instance)->isImplicit != 0; + var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + return __result0; } set { - ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; } } - public bool IsInvalid + public uint DefinitionOrder { get { - return ((__Internal*)__Instance)->isInvalid != 0; + return ((__Internal*)__Instance)->definitionOrder; } set { - ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->definitionOrder = value; } } - public bool IsDeprecated + public __IntPtr OriginalPtr { get { - return ((__Internal*)__Instance)->isDeprecated != 0; + return ((__Internal*)__Instance)->originalPtr; } set { - ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; } } - public global::CppSharp.Parser.AST.Declaration CompleteDeclaration + public global::CppSharp.Parser.AST.RawComment Comment { get { - var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); return __result0; } set { - ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; + ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; } } - public uint DefinitionOrder + public string Name { get { - return ((__Internal*)__Instance)->definitionOrder; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definitionOrder = value; + __Internal.SetName(__Instance, value); } } - public __IntPtr OriginalPtr + public string USR { get { - return ((__Internal*)__Instance)->originalPtr; + var ___ret = __Internal.GetUSR(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; + __Internal.SetUSR(__Instance, value); } } - public global::CppSharp.Parser.AST.RawComment Comment + public string DebugText { get { - var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); - return __result0; + var ___ret = __Internal.GetDebugText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetDebugText(__Instance, value); } } @@ -7245,106 +7032,41 @@ public uint RedeclarationsCount public unsafe partial class DeclarationContext : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 496)] + [StructLayout(LayoutKind.Sequential, Size = 496)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DeclarationContextC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -7835,76 +7557,31 @@ public uint FriendsCount public unsafe partial class TypedefNameDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TypedefNameDeclC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -8019,76 +7696,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypedefDecl : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8183,79 +7815,32 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypeAlias : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 248)] + [StructLayout(LayoutKind.Sequential, Size = 248)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(240)] internal __IntPtr describedAliasTemplate; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9TypeAliasC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8364,76 +7949,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Friend : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6FriendC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8542,26 +8082,24 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class StatementObsolete : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -8627,19 +8165,6 @@ protected StatementObsolete(void* native, bool skipVTables = false) __Instance = new __IntPtr(native); } - public StatementObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) { __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); @@ -8702,33 +8227,25 @@ public string String { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + __Internal.SetString(__Instance, value); } } } public unsafe partial class ExpressionObsolete : global::CppSharp.Parser.AST.StatementObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -8780,20 +8297,6 @@ protected ExpressionObsolete(void* native, bool skipVTables = false) { } - public ExpressionObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) : this((void*) null) { @@ -8824,35 +8327,27 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BinaryOperatorObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; internal __IntPtr LHS; - - [FieldOffset(56)] internal __IntPtr RHS; - - [FieldOffset(64)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C opcodeStr; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS1_18ExpressionObsoleteESC_SA_", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr lhs, __IntPtr rhs, __IntPtr opcodeStr); + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C OpcodeStr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperatorObsolete __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -8898,25 +8393,6 @@ protected BinaryOperatorObsolete(void* native, bool skipVTables = false) { } - public BinaryOperatorObsolete(string str, global::CppSharp.Parser.AST.ExpressionObsolete lhs, global::CppSharp.Parser.AST.ExpressionObsolete rhs, string opcodeStr) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperatorObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = lhs is null ? __IntPtr.Zero : lhs.__Instance; - var __arg2 = rhs is null ? __IntPtr.Zero : rhs.__Instance; - var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); - var __arg3 = __basicString3.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); - __basicString0.Dispose(); - __basicString3.Dispose(); - } - public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete _0) : this((void*) null) { @@ -8976,37 +8452,27 @@ public string OpcodeStr { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); + __Internal.SetOpcodeStr(__Instance, value); } } } public unsafe partial class CallExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; internal global::Std.Vector.__Internal Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9069,20 +8535,6 @@ protected CallExprObsolete(void* native, bool skipVTables = false) { } - public CallExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) : this((void*) null) { @@ -9143,24 +8595,14 @@ public uint ArgumentsCount public unsafe partial class CXXConstructExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; internal global::Std.Vector.__Internal Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9223,20 +8665,6 @@ protected CXXConstructExprObsolete(void* native, bool skipVTables = false) { } - public CXXConstructExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObsolete _0) : this((void*) null) { @@ -9297,91 +8725,36 @@ public uint ArgumentsCount public unsafe partial class Parameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 264)] + [StructLayout(LayoutKind.Sequential, Size = 264)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(240)] internal byte isIndirect; - - [FieldOffset(241)] internal byte hasDefaultValue; - - [FieldOffset(244)] internal uint index; - - [FieldOffset(248)] internal __IntPtr defaultArgument; - - [FieldOffset(256)] internal __IntPtr defaultValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9558,166 +8931,61 @@ public uint Index public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 696)] + [StructLayout(LayoutKind.Sequential, Size = 696)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(496)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(512)] internal byte isReturnIndirect; - - [FieldOffset(513)] internal byte hasThisReturn; - - [FieldOffset(514)] internal byte isConstExpr; - - [FieldOffset(515)] internal byte isVariadic; - - [FieldOffset(516)] internal byte isInline; - - [FieldOffset(517)] internal byte isPure; - - [FieldOffset(518)] internal byte isDeleted; - - [FieldOffset(519)] internal byte isDefaulted; - - [FieldOffset(520)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(524)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(528)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C mangled; - - [FieldOffset(560)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C signature; - - [FieldOffset(592)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C body; - - [FieldOffset(624)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(632)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(640)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(664)] internal __IntPtr specializationInfo; - - [FieldOffset(672)] internal __IntPtr instantiatedFrom; - - [FieldOffset(680)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FunctionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9738,6 +9006,24 @@ public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationCo [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function15clearParametersEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearParameters(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12getSignatureEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetSignature(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12setSignatureEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetSignature(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7getBodyEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBody(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7setBodyEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBody(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function18getParametersCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetParametersCount(__IntPtr __instance); } @@ -9987,48 +9273,6 @@ public bool IsDefaulted } } - public string Mangled - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); - } - } - - public string Signature - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->signature)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->signature), value); - } - } - - public string Body - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->body)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->body), value); - } - } - public global::CppSharp.Parser.AST.Stmt BodyStmt { get @@ -10099,6 +9343,48 @@ public string Body } } + public string Mangled + { + get + { + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetMangled(__Instance, value); + } + } + + public string Signature + { + get + { + var ___ret = __Internal.GetSignature(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetSignature(__Instance, value); + } + } + + public string Body + { + get + { + var ___ret = __Internal.GetBody(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBody(__Instance, value); + } + } + public uint ParametersCount { get @@ -10111,202 +9397,73 @@ public uint ParametersCount public unsafe partial class Method : global::CppSharp.Parser.AST.Function, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 760)] + [StructLayout(LayoutKind.Sequential, Size = 760)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(496)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(512)] internal byte isReturnIndirect; - - [FieldOffset(513)] internal byte hasThisReturn; - - [FieldOffset(514)] internal byte isConstExpr; - - [FieldOffset(515)] internal byte isVariadic; - - [FieldOffset(516)] internal byte isInline; - - [FieldOffset(517)] internal byte isPure; - - [FieldOffset(518)] internal byte isDeleted; - - [FieldOffset(519)] internal byte isDefaulted; - - [FieldOffset(520)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(524)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(528)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C mangled; - - [FieldOffset(560)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C signature; - - [FieldOffset(592)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C body; - - [FieldOffset(624)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Mangled; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Signature; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Body; internal __IntPtr bodyStmt; - - [FieldOffset(632)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(640)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(664)] internal __IntPtr specializationInfo; - - [FieldOffset(672)] internal __IntPtr instantiatedFrom; - - [FieldOffset(680)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(696)] internal byte isVirtual; - - [FieldOffset(697)] internal byte isStatic; - - [FieldOffset(698)] internal byte isConst; - - [FieldOffset(699)] internal byte isExplicit; - - [FieldOffset(700)] internal byte isVolatile; - - [FieldOffset(704)] internal global::CppSharp.Parser.AST.CXXMethodKind methodKind; - - [FieldOffset(708)] internal byte isDefaultConstructor; - - [FieldOffset(709)] internal byte isCopyConstructor; - - [FieldOffset(710)] internal byte isMoveConstructor; - - [FieldOffset(712)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal conversionType; - - [FieldOffset(728)] internal global::CppSharp.Parser.AST.RefQualifierKind refQualifier; - - [FieldOffset(736)] internal global::Std.Vector.__Internal OverriddenMethods; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6MethodC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10588,118 +9745,45 @@ public uint OverriddenMethodsCount public unsafe partial class Enumeration : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 536)] + [StructLayout(LayoutKind.Sequential, Size = 536)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(492)] internal global::CppSharp.Parser.AST.Enumeration.EnumModifiers modifiers; - - [FieldOffset(496)] internal __IntPtr type; - - [FieldOffset(504)] internal __IntPtr builtinType; - - [FieldOffset(512)] internal global::Std.Vector.__Internal Items; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11EnumerationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10720,9 +9804,6 @@ public unsafe partial class Enumeration : global::CppSharp.Parser.AST.Declaratio [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration10clearItemsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearItems(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration14FindItemByNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindItemByName(__IntPtr __instance, __IntPtr Name); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration13getItemsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetItemsCount(__IntPtr __instance); } @@ -10737,79 +9818,32 @@ public enum EnumModifiers public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 264)] + [StructLayout(LayoutKind.Sequential, Size = 264)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C expression; - - [FieldOffset(256)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Expression; internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10820,6 +9854,12 @@ public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDis [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Item __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -10901,30 +9941,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Expression + public ulong Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->value; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->value = value; } } - public ulong Value + public string Expression { get { - return ((__Internal*)__Instance)->value; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->value = value; + __Internal.SetExpression(__Instance, value); } } } @@ -11029,17 +10069,6 @@ public void ClearItems() __Internal.ClearItems(__Instance); } - public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, Name); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindItemByName(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.Enumeration.Item.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.Enumeration.EnumModifiers Modifiers { get @@ -11093,85 +10122,34 @@ public uint ItemsCount public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 288)] + [StructLayout(LayoutKind.Sequential, Size = 288)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal byte isConstExpr; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C mangled; - - [FieldOffset(264)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(280)] internal __IntPtr initializer; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11182,6 +10160,12 @@ public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Variable __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -11276,65 +10260,58 @@ public bool IsConstExpr } } - public string Mangled + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public global::CppSharp.Parser.AST.ExpressionObsolete Initializer { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); + return __result0; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; } } - public global::CppSharp.Parser.AST.ExpressionObsolete Initializer + public string Mangled { get { - var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); - return __result0; + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetMangled(__Instance, value); } } } public unsafe partial class BaseClassSpecifier : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(4)] internal byte isVirtual; - - [FieldOffset(8)] internal __IntPtr type; - - [FieldOffset(16)] internal int offset; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18BaseClassSpecifierC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11497,85 +10474,34 @@ public int Offset public unsafe partial class Field : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(240)] internal __IntPtr _class; - - [FieldOffset(248)] internal byte isBitField; - - [FieldOffset(252)] internal uint bitWidth; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5FieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11725,73 +10651,30 @@ public uint BitWidth public unsafe partial class AccessSpecifierDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 224)] + [StructLayout(LayoutKind.Sequential, Size = 224)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19AccessSpecifierDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11886,16 +10769,11 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class VTableComponent : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.VTableComponentKind kind; - - [FieldOffset(4)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15VTableComponentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12045,10 +10923,9 @@ public uint Offset public unsafe partial class VTableLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal Components; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12VTableLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12206,19 +11083,12 @@ public uint ComponentsCount public unsafe partial class VFTableInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal ulong VBTableIndex; - - [FieldOffset(8)] internal uint VFPtrOffset; - - [FieldOffset(12)] internal uint VFPtrFullOffset; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VFTableInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12390,19 +11260,12 @@ public uint VFPtrFullOffset public unsafe partial class LayoutField : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(56)] internal __IntPtr fieldPtr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12413,6 +11276,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -12530,58 +11399,55 @@ public uint Offset } } - public string Name + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public __IntPtr FieldPtr { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + return ((__Internal*)__Instance)->fieldPtr; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; } } - public __IntPtr FieldPtr + public string Name { get { - return ((__Internal*)__Instance)->fieldPtr; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; + __Internal.SetName(__Instance, value); } } } public unsafe partial class LayoutBase : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LayoutBaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12726,40 +11592,19 @@ public uint Offset public unsafe partial class ClassLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CppAbi ABI; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.RecordArgABI argABI; - - [FieldOffset(8)] internal global::Std.Vector.__Internal VFTables; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; - - [FieldOffset(56)] internal byte hasOwnVFPtr; - - [FieldOffset(64)] internal long VBPtrOffset; - - [FieldOffset(72)] internal int alignment; - - [FieldOffset(76)] internal int size; - - [FieldOffset(80)] internal int dataSize; - - [FieldOffset(88)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Bases; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11ClassLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13112,154 +11957,57 @@ public uint BasesCount public unsafe partial class Class : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 616)] + [StructLayout(LayoutKind.Sequential, Size = 616)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Bases; - - [FieldOffset(520)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(544)] internal global::Std.Vector.__Internal Methods; - - [FieldOffset(568)] internal global::Std.Vector.__Internal Specifiers; - - [FieldOffset(592)] internal byte isPOD; - - [FieldOffset(593)] internal byte isAbstract; - - [FieldOffset(594)] internal byte isUnion; - - [FieldOffset(595)] internal byte isDynamic; - - [FieldOffset(596)] internal byte isPolymorphic; - - [FieldOffset(597)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(598)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(599)] internal byte hasNonTrivialDestructor; - - [FieldOffset(600)] internal byte isExternCContext; - - [FieldOffset(601)] internal byte isInjected; - - [FieldOffset(604)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(608)] internal __IntPtr layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5ClassC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13679,79 +12427,32 @@ public uint SpecifiersCount public unsafe partial class Template : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr TemplatedDecl; - - [FieldOffset(232)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TemplateC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -13919,79 +12620,32 @@ public uint ParametersCount public unsafe partial class TypeAliasTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr TemplatedDecl; - - [FieldOffset(232)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TypeAliasTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14086,82 +12740,33 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TemplateParameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 240)] + [StructLayout(LayoutKind.Sequential, Size = 240)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal uint depth; - - [FieldOffset(228)] internal uint index; - - [FieldOffset(232)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TemplateParameterC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -14300,88 +12905,35 @@ public bool IsParameterPack public unsafe partial class TemplateTemplateParameter : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 264)] + [StructLayout(LayoutKind.Sequential, Size = 264)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr TemplatedDecl; - - [FieldOffset(232)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(256)] internal byte isParameterPack; - - [FieldOffset(257)] internal byte isPackExpansion; - - [FieldOffset(258)] internal byte isExpandedParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25TemplateTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14515,85 +13067,34 @@ public bool IsExpandedParameterPack public unsafe partial class TypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 256)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal uint depth; - - [FieldOffset(228)] internal uint index; - - [FieldOffset(232)] internal byte isParameterPack; - - [FieldOffset(240)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal defaultArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14703,100 +13204,39 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class NonTypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 280)] + [StructLayout(LayoutKind.Sequential, Size = 280)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal uint depth; - - [FieldOffset(228)] internal uint index; - - [FieldOffset(232)] internal byte isParameterPack; - - [FieldOffset(240)] internal __IntPtr defaultArgument; - - [FieldOffset(248)] internal __IntPtr defaultArgumentNew; - - [FieldOffset(256)] internal uint position; - - [FieldOffset(260)] internal byte isPackExpansion; - - [FieldOffset(261)] internal byte isExpandedParameterPack; - - [FieldOffset(264)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24NonTypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14973,82 +13413,33 @@ public bool IsExpandedParameterPack public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 280)] + [StructLayout(LayoutKind.Sequential, Size = 280)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr TemplatedDecl; - - [FieldOffset(232)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(256)] internal global::Std.Vector.__Internal Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15069,12 +13460,6 @@ public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate18FindSpecializationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate25FindPartialSpecializationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -15179,28 +13564,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -15213,163 +13576,60 @@ public uint SpecializationsCount public unsafe partial class ClassTemplateSpecialization : global::CppSharp.Parser.AST.Class, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 656)] + [StructLayout(LayoutKind.Sequential, Size = 656)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Bases; - - [FieldOffset(520)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(544)] internal global::Std.Vector.__Internal Methods; - - [FieldOffset(568)] internal global::Std.Vector.__Internal Specifiers; - - [FieldOffset(592)] internal byte isPOD; - - [FieldOffset(593)] internal byte isAbstract; - - [FieldOffset(594)] internal byte isUnion; - - [FieldOffset(595)] internal byte isDynamic; - - [FieldOffset(596)] internal byte isPolymorphic; - - [FieldOffset(597)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(598)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(599)] internal byte hasNonTrivialDestructor; - - [FieldOffset(600)] internal byte isExternCContext; - - [FieldOffset(601)] internal byte isInjected; - - [FieldOffset(604)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(608)] internal __IntPtr layout; - - [FieldOffset(616)] internal __IntPtr templatedDecl; - - [FieldOffset(624)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(648)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27ClassTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15532,166 +13792,61 @@ public uint ArgumentsCount public unsafe partial class ClassTemplatePartialSpecialization : global::CppSharp.Parser.AST.ClassTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 680)] + [StructLayout(LayoutKind.Sequential, Size = 680)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Bases; - - [FieldOffset(520)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(544)] internal global::Std.Vector.__Internal Methods; - - [FieldOffset(568)] internal global::Std.Vector.__Internal Specifiers; - - [FieldOffset(592)] internal byte isPOD; - - [FieldOffset(593)] internal byte isAbstract; - - [FieldOffset(594)] internal byte isUnion; - - [FieldOffset(595)] internal byte isDynamic; - - [FieldOffset(596)] internal byte isPolymorphic; - - [FieldOffset(597)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(598)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(599)] internal byte hasNonTrivialDestructor; - - [FieldOffset(600)] internal byte isExternCContext; - - [FieldOffset(601)] internal byte isInjected; - - [FieldOffset(604)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(608)] internal __IntPtr layout; - - [FieldOffset(616)] internal __IntPtr templatedDecl; - - [FieldOffset(624)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(648)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; - - [FieldOffset(656)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST34ClassTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15828,82 +13983,33 @@ public uint ParametersCount public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 280)] + [StructLayout(LayoutKind.Sequential, Size = 280)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr TemplatedDecl; - - [FieldOffset(232)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(256)] internal global::Std.Vector.__Internal Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15924,9 +14030,6 @@ public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Templ [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate18FindSpecializationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16031,17 +14134,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16054,19 +14146,12 @@ public uint SpecializationsCount public unsafe partial class FunctionTemplateSpecialization : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _template; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(32)] internal __IntPtr specializedFunction; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST30FunctionTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16266,82 +14351,33 @@ public uint ArgumentsCount public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 280)] + [StructLayout(LayoutKind.Sequential, Size = 280)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal __IntPtr TemplatedDecl; - - [FieldOffset(232)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(256)] internal global::Std.Vector.__Internal Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16362,12 +14398,6 @@ public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate18FindSpecializationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate25FindPartialSpecializationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16472,28 +14502,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.VarTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16506,94 +14514,37 @@ public uint SpecializationsCount public unsafe partial class VarTemplateSpecialization : global::CppSharp.Parser.AST.Variable, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 328)] + [StructLayout(LayoutKind.Sequential, Size = 328)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal byte isConstExpr; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C mangled; - - [FieldOffset(264)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(280)] internal __IntPtr initializer; - - [FieldOffset(288)] internal __IntPtr templatedDecl; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(320)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25VarTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16756,94 +14707,37 @@ public uint ArgumentsCount public unsafe partial class VarTemplatePartialSpecialization : global::CppSharp.Parser.AST.VarTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 328)] + [StructLayout(LayoutKind.Sequential, Size = 328)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal byte isConstExpr; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C mangled; - - [FieldOffset(264)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(280)] internal __IntPtr initializer; - - [FieldOffset(288)] internal __IntPtr templatedDecl; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(320)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32VarTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16938,73 +14832,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class UnresolvedUsingTypename : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 224)] + [StructLayout(LayoutKind.Sequential, Size = 224)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23UnresolvedUsingTypenameC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17099,109 +14950,42 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Namespace : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 496)] + [StructLayout(LayoutKind.Sequential, Size = 496)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(489)] internal byte isInline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9NamespaceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17309,16 +15093,11 @@ public bool IsInline public unsafe partial class PreprocessedEntity : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18PreprocessedEntityC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17467,28 +15246,15 @@ public __IntPtr OriginalPtr public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C expression; - - [FieldOffset(88)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Expression; internal int lineNumberStart; - - [FieldOffset(92)] internal int lineNumberEnd; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17499,6 +15265,18 @@ public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.Prepro [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroDefinition __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17580,82 +15358,71 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public int LineNumberStart { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberStart; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->lineNumberStart = value; } } - public string Expression + public int LineNumberEnd { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberEnd; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->lineNumberEnd = value; } } - public int LineNumberStart + public string Name { get { - return ((__Internal*)__Instance)->lineNumberStart; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberStart = value; + __Internal.SetName(__Instance, value); } } - public int LineNumberEnd + public string Expression { get { - return ((__Internal*)__Instance)->lineNumberEnd; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberEnd = value; + __Internal.SetExpression(__Instance, value); } } } public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C text; - - [FieldOffset(88)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Text; internal __IntPtr definition; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17666,6 +15433,18 @@ public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.Preproc [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroExpansion __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17747,163 +15526,90 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public global::CppSharp.Parser.AST.MacroDefinition Definition { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; } } - public string Text + public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetName(__Instance, value); } } - public global::CppSharp.Parser.AST.MacroDefinition Definition + public string Text { get { - var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); - return __result0; + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetText(__Instance, value); } } } public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namespace, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 560)] + [StructLayout(LayoutKind.Sequential, Size = 560)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name; - - [FieldOffset(72)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Name; internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C DebugText; internal byte isIncomplete; - - [FieldOffset(137)] internal byte isDependent; - - [FieldOffset(138)] internal byte isImplicit; - - [FieldOffset(139)] internal byte isInvalid; - - [FieldOffset(140)] internal byte isDeprecated; - - [FieldOffset(144)] internal __IntPtr completeDeclaration; - - [FieldOffset(152)] internal uint definitionOrder; - - [FieldOffset(160)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(208)] internal __IntPtr originalPtr; - - [FieldOffset(216)] internal __IntPtr comment; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(296)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(368)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(392)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(416)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(440)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(488)] internal byte isAnonymous; - - [FieldOffset(489)] internal byte isInline; - - [FieldOffset(496)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C fileName; - - [FieldOffset(528)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C FileName; internal byte isSystemHeader; - - [FieldOffset(536)] internal global::Std.Vector.__Internal Macros; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnitC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17924,6 +15630,12 @@ public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namesp [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11clearMacrosEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearMacros(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit14getMacrosCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetMacrosCount(__IntPtr __instance); } @@ -18028,30 +15740,30 @@ public void ClearMacros() __Internal.ClearMacros(__Instance); } - public string FileName + public bool IsSystemHeader { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isSystemHeader != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); } } - public bool IsSystemHeader + public string FileName { get { - return ((__Internal*)__Instance)->isSystemHeader != 0; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); + __Internal.SetFileName(__Instance, value); } } @@ -18067,10 +15779,9 @@ public uint MacrosCount public unsafe partial class ASTContext : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal TranslationUnits; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18082,9 +15793,6 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext18FindOrCreateModuleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindOrCreateModule(__IntPtr __instance, __IntPtr File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext19getTranslationUnitsEj", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr GetTranslationUnits(__IntPtr __instance, uint i); @@ -18200,17 +15908,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public global::CppSharp.Parser.AST.TranslationUnit FindOrCreateModule(string File) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, File); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindOrCreateModule(__Instance, __arg0); - __basicString0.Dispose(disposing: true, callNativeDtor:false); - var __result0 = global::CppSharp.Parser.AST.TranslationUnit.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { var ___ret = __Internal.GetTranslationUnits(__Instance, i); @@ -18383,19 +16080,12 @@ public enum StmtClass public unsafe partial class Stmt : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4StmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18575,28 +16265,15 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class DeclStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal decls; - - [FieldOffset(48)] internal byte isSingleDecl; - - [FieldOffset(56)] internal __IntPtr singleDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8DeclStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18760,25 +16437,14 @@ public uint GetdeclsCount public unsafe partial class NullStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal semiLoc; - - [FieldOffset(24)] internal byte hasLeadingEmptyMacro; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8NullStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18878,40 +16544,19 @@ public bool HasLeadingEmptyMacro public unsafe partial class CompoundStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal body; - - [FieldOffset(48)] internal byte body_empty; - - [FieldOffset(52)] internal uint size; - - [FieldOffset(56)] internal __IntPtr body_front; - - [FieldOffset(64)] internal __IntPtr body_back; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CompoundStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19128,28 +16773,15 @@ public uint GetbodyCount public unsafe partial class SwitchCase : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchCaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19280,43 +16912,20 @@ public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) public unsafe partial class CaseStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal caseLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(48)] internal __IntPtr lHS; - - [FieldOffset(56)] internal __IntPtr rHS; - - [FieldOffset(64)] internal byte caseStmtIsGNURange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CaseStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19457,31 +17066,16 @@ public bool CaseStmtIsGNURange public unsafe partial class DefaultStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DefaultStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19568,28 +17162,15 @@ public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) public unsafe partial class LabelStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal identLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; - - [FieldOffset(32)] internal __IntPtr name; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9LabelStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19718,25 +17299,14 @@ public string Name public unsafe partial class AttributedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal attrLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19837,55 +17407,24 @@ public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) public unsafe partial class IfStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr then; - - [FieldOffset(40)] internal __IntPtr _else; - - [FieldOffset(48)] internal __IntPtr init; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal ifLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal elseLoc; - - [FieldOffset(64)] internal byte _constexpr; - - [FieldOffset(65)] internal byte hasInitStorage; - - [FieldOffset(66)] internal byte hasVarStorage; - - [FieldOffset(67)] internal byte hasElseStorage; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(80)] internal byte isObjCAvailabilityCheck; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6IfStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20120,43 +17659,20 @@ public bool IsObjCAvailabilityCheck public unsafe partial class SwitchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal __IntPtr init; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal switchLoc; - - [FieldOffset(52)] internal byte hasInitStorage; - - [FieldOffset(53)] internal byte hasVarStorage; - - [FieldOffset(56)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(64)] internal byte isAllEnumCasesCovered; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20338,34 +17854,17 @@ public bool IsAllEnumCasesCovered public unsafe partial class WhileStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(44)] internal byte hasVarStorage; - - [FieldOffset(48)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9WhileStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20507,34 +18006,17 @@ public bool HasVarStorage public unsafe partial class DoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal doLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6DoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20675,43 +18157,20 @@ public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) public unsafe partial class ForStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr cond; - - [FieldOffset(40)] internal __IntPtr inc; - - [FieldOffset(48)] internal __IntPtr body; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7ForStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20894,25 +18353,14 @@ public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) public unsafe partial class GotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8GotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21012,28 +18460,15 @@ public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) public unsafe partial class IndirectGotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal starLoc; - - [FieldOffset(32)] internal __IntPtr target; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16IndirectGotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21147,22 +18582,13 @@ public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) public unsafe partial class ContinueStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal continueLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ContinueStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21249,22 +18675,13 @@ public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) public unsafe partial class BreakStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal breakLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BreakStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21351,25 +18768,14 @@ public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) public unsafe partial class ReturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr retValue; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal returnLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ReturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21470,46 +18876,21 @@ public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) public unsafe partial class AsmStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7AsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21796,49 +19177,22 @@ public uint GetoutputsCount public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21853,22 +19207,13 @@ public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, ID public unsafe partial class AsmStringPiece : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal byte isString; - - [FieldOffset(1)] internal byte isOperand; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; internal uint operandNo; - - [FieldOffset(44)] internal sbyte modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21879,6 +19224,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum Kind @@ -22015,43 +19366,43 @@ public bool IsOperand } } - public string String + public uint OperandNo { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->operandNo; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + ((__Internal*)__Instance)->operandNo = value; } } - public uint OperandNo + public sbyte Modifier { get { - return ((__Internal*)__Instance)->operandNo; + return ((__Internal*)__Instance)->modifier; } set { - ((__Internal*)__Instance)->operandNo = value; + ((__Internal*)__Instance)->modifier = value; } } - public sbyte Modifier + public string String { get { - return ((__Internal*)__Instance)->modifier; + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->modifier = value; + __Internal.SetString(__Instance, value); } } } @@ -22151,59 +19502,26 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(100)] internal byte hasBraces; - - [FieldOffset(104)] internal uint numAsmToks; - - [FieldOffset(112)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C asmString; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C AsmString; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -22213,6 +19531,12 @@ public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDi [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12getAsmStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetAsmString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12setAsmStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetAsmString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MSAsmStmt __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -22337,41 +19661,28 @@ public string AsmString { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->asmString)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetAsmString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->asmString), value); + __Internal.SetAsmString(__Instance, value); } } } public unsafe partial class SEHExceptStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal exceptLoc; - - [FieldOffset(24)] internal __IntPtr filterExpr; - - [FieldOffset(32)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13SEHExceptStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22486,25 +19797,14 @@ public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) public unsafe partial class SEHFinallyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal finallyLoc; - - [FieldOffset(24)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SEHFinallyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22605,37 +19905,18 @@ public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) public unsafe partial class SEHTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal byte isCXXTry; - - [FieldOffset(32)] internal __IntPtr tryBlock; - - [FieldOffset(40)] internal __IntPtr handler; - - [FieldOffset(48)] internal __IntPtr exceptHandler; - - [FieldOffset(56)] internal __IntPtr finallyHandler; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SEHTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22791,22 +20072,13 @@ public bool IsCXXTry public unsafe partial class SEHLeaveStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal leaveLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12SEHLeaveStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22893,28 +20165,15 @@ public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) public unsafe partial class CapturedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal capture_inits; - - [FieldOffset(48)] internal __IntPtr capturedStmt; - - [FieldOffset(56)] internal uint capture_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22949,25 +20208,14 @@ public enum VariableCaptureKind public unsafe partial class Capture : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CapturedStmt.VariableCaptureKind captureKind; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(8)] internal byte capturesThis; - - [FieldOffset(9)] internal byte capturesVariable; - - [FieldOffset(10)] internal byte capturesVariableByCopy; - - [FieldOffset(11)] internal byte capturesVariableArrayType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmt7CaptureC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23292,28 +20540,15 @@ public uint GetcaptureInitsCount public unsafe partial class CXXCatchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal catchLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal caughtType; - - [FieldOffset(40)] internal __IntPtr handlerBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXCatchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23429,28 +20664,15 @@ public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) public unsafe partial class CXXTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal __IntPtr tryBlock; - - [FieldOffset(32)] internal uint numHandlers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23564,58 +20786,25 @@ public uint NumHandlers public unsafe partial class CXXForRangeStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr rangeInit; - - [FieldOffset(40)] internal __IntPtr cond; - - [FieldOffset(48)] internal __IntPtr inc; - - [FieldOffset(56)] internal __IntPtr body; - - [FieldOffset(64)] internal __IntPtr rangeStmt; - - [FieldOffset(72)] internal __IntPtr beginStmt; - - [FieldOffset(80)] internal __IntPtr endStmt; - - [FieldOffset(88)] internal __IntPtr loopVarStmt; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal coawaitLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXForRangeStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23867,31 +21056,16 @@ public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) public unsafe partial class MSDependentExistsStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal byte isIfExists; - - [FieldOffset(25)] internal byte isIfNotExists; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21MSDependentExistsStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24018,58 +21192,25 @@ public bool IsIfNotExists public unsafe partial class CoroutineBodyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte hasDependentPromiseType; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(32)] internal __IntPtr promiseDeclStmt; - - [FieldOffset(40)] internal __IntPtr initSuspendStmt; - - [FieldOffset(48)] internal __IntPtr finalSuspendStmt; - - [FieldOffset(56)] internal __IntPtr exceptionHandler; - - [FieldOffset(64)] internal __IntPtr fallthroughHandler; - - [FieldOffset(72)] internal __IntPtr allocate; - - [FieldOffset(80)] internal __IntPtr deallocate; - - [FieldOffset(88)] internal __IntPtr returnValueInit; - - [FieldOffset(96)] internal __IntPtr resultDecl; - - [FieldOffset(104)] internal __IntPtr returnStmt; - - [FieldOffset(112)] internal __IntPtr returnStmtOnAllocFailure; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24098,7 +21239,7 @@ public enum SubStmt public unsafe partial class CtorArgs : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmt8CtorArgsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24451,31 +21592,16 @@ public bool HasDependentPromiseType public unsafe partial class CoreturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte isImplicit; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(32)] internal __IntPtr operand; - - [FieldOffset(40)] internal __IntPtr promiseCall; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CoreturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24803,61 +21929,26 @@ public enum UnaryExprOrTypeTrait public unsafe partial class Expr : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4ExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24936,31 +22027,16 @@ public enum NullPointerConstantValueDependence public unsafe partial class Classification : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.Expr.Classification.Kinds kind; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.Expr.Classification.ModifiableType modifiable; - - [FieldOffset(8)] internal byte isLValue; - - [FieldOffset(9)] internal byte isXValue; - - [FieldOffset(10)] internal byte isGLValue; - - [FieldOffset(11)] internal byte isPRValue; - - [FieldOffset(12)] internal byte isRValue; - - [FieldOffset(13)] internal byte isModifiable; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4Expr14ClassificationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25467,64 +22543,27 @@ public bool HasPlaceholderType public unsafe partial class FullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25629,64 +22668,27 @@ public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) public unsafe partial class ConstantExpr : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ConstantExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25760,70 +22762,29 @@ public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) public unsafe partial class OpaqueValueExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isUnique; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal __IntPtr sourceExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15OpaqueValueExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25937,97 +22898,38 @@ public bool IsUnique public unsafe partial class DeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte hadMultipleCandidates; - - [FieldOffset(81)] internal byte hasQualifier; - - [FieldOffset(88)] internal __IntPtr foundDecl; - - [FieldOffset(96)] internal byte hasTemplateKWAndArgsInfo; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal byte refersToEnclosingVariableOrCapture; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26258,67 +23160,28 @@ public bool RefersToEnclosingVariableOrCapture public unsafe partial class IntegerLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14IntegerLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26418,67 +23281,28 @@ public ulong Value public unsafe partial class FixedPointLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17FixedPointLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26578,70 +23402,29 @@ public ulong Value public unsafe partial class CharacterLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.CharacterLiteral.CharacterKind kind; - - [FieldOffset(84)] internal uint value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CharacterLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26763,70 +23546,29 @@ public uint Value public unsafe partial class FloatingLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte exact; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal double valueAsApproximateDouble; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15FloatingLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26939,64 +23681,27 @@ public double ValueAsApproximateDouble public unsafe partial class ImaginaryLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImaginaryLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27084,106 +23789,41 @@ public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C @string; - - [FieldOffset(112)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C bytes; - - [FieldOffset(144)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C String; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Bytes; internal uint byteLength; - - [FieldOffset(148)] internal uint length; - - [FieldOffset(152)] internal uint charByteWidth; - - [FieldOffset(156)] internal global::CppSharp.Parser.AST.StringLiteral.StringKind kind; - - [FieldOffset(160)] internal byte isAscii; - - [FieldOffset(161)] internal byte isWide; - - [FieldOffset(162)] internal byte isUTF8; - - [FieldOffset(163)] internal byte isUTF16; - - [FieldOffset(164)] internal byte isUTF32; - - [FieldOffset(165)] internal byte isPascal; - - [FieldOffset(166)] internal byte containsNonAscii; - - [FieldOffset(167)] internal byte containsNonAsciiOrNull; - - [FieldOffset(168)] internal uint numConcatenated; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27194,6 +23834,18 @@ public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8getBytesEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBytes(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8setBytesEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBytes(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum StringKind @@ -27284,34 +23936,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string String - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); - } - } - - public string Bytes - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->bytes)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->bytes), value); - } - } - public uint ByteLength { get @@ -27480,71 +24104,60 @@ public uint NumConcatenated ((__Internal*)__Instance)->numConcatenated = value; } } + + public string String + { + get + { + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetString(__Instance, value); + } + } + + public string Bytes + { + get + { + var ___ret = __Internal.GetBytes(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBytes(__Instance, value); + } + } } public unsafe partial class PredefinedExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.PredefinedExpr.IdentKind identKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14PredefinedExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27656,70 +24269,29 @@ public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) public unsafe partial class ParenExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParen; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParen; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParenExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27833,94 +24405,37 @@ public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) public unsafe partial class UnaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryOperatorKind opcode; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(92)] internal byte canOverflow; - - [FieldOffset(93)] internal byte isPrefix; - - [FieldOffset(94)] internal byte isPostfix; - - [FieldOffset(95)] internal byte isIncrementOp; - - [FieldOffset(96)] internal byte isDecrementOp; - - [FieldOffset(97)] internal byte isIncrementDecrementOp; - - [FieldOffset(98)] internal byte isArithmeticOp; - - [FieldOffset(99)] internal byte isFPContractableWithinStatement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13UnaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28138,73 +24653,30 @@ public bool IsFPContractableWithinStatement public unsafe partial class OffsetOfExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numComponents; - - [FieldOffset(88)] internal uint numExpressions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OffsetOfExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28330,82 +24802,33 @@ public uint NumExpressions public unsafe partial class UnaryExprOrTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryExprOrTypeTrait kind; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal byte isArgumentType; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal argumentType; - - [FieldOffset(112)] internal __IntPtr argumentExpr; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeOfArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24UnaryExprOrTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28575,76 +24998,31 @@ public bool IsArgumentType public unsafe partial class ArraySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(104)] internal __IntPtr @base; - - [FieldOffset(112)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArraySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28787,88 +25165,35 @@ public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) public unsafe partial class CallExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29129,100 +25454,39 @@ public uint GetargumentsCount public unsafe partial class MemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte arrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(96)] internal byte hadMultipleCandidates; - - [FieldOffset(97)] internal byte hasQualifier; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(124)] internal byte isImplicitAccess; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10MemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29466,70 +25730,29 @@ public bool IsImplicitAccess public unsafe partial class CompoundLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr initializer; - - [FieldOffset(88)] internal byte fileScope; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CompoundLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29643,82 +25866,33 @@ public bool FileScope public unsafe partial class CastExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29918,85 +26092,34 @@ public uint PathSize public unsafe partial class ImplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal byte isPartOfExplicitCast; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30088,85 +26211,34 @@ public bool IsPartOfExplicitCast public unsafe partial class ExplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30272,91 +26344,36 @@ public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) public unsafe partial class CStyleCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14CStyleCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30456,118 +26473,45 @@ public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C opcodeStr; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(137)] internal byte isMultiplicativeOp; - - [FieldOffset(138)] internal byte isAdditiveOp; - - [FieldOffset(139)] internal byte isShiftOp; - - [FieldOffset(140)] internal byte isBitwiseOp; - - [FieldOffset(141)] internal byte isRelationalOp; - - [FieldOffset(142)] internal byte isEqualityOp; - - [FieldOffset(143)] internal byte isComparisonOp; - - [FieldOffset(144)] internal byte isLogicalOp; - - [FieldOffset(145)] internal byte isAssignmentOp; - - [FieldOffset(146)] internal byte isCompoundAssignmentOp; - - [FieldOffset(147)] internal byte isShiftAssignOp; - - [FieldOffset(148)] internal byte isFPContractableWithinStatement; - - [FieldOffset(149)] internal byte isFEnvAccessOn; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30581,6 +26525,12 @@ public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, I [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperator __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -30730,20 +26680,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string OpcodeStr - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); - } - } - public bool IsPtrMemOp { get @@ -30925,128 +26861,65 @@ public bool IsFEnvAccessOn ((__Internal*)__Instance)->isFEnvAccessOn = (byte) (value ? 1 : 0); } } + + public string OpcodeStr + { + get + { + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetOpcodeStr(__Instance, value); + } + } } public unsafe partial class CompoundAssignOperator : global::CppSharp.Parser.AST.BinaryOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C opcodeStr; - - [FieldOffset(136)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(137)] internal byte isMultiplicativeOp; - - [FieldOffset(138)] internal byte isAdditiveOp; - - [FieldOffset(139)] internal byte isShiftOp; - - [FieldOffset(140)] internal byte isBitwiseOp; - - [FieldOffset(141)] internal byte isRelationalOp; - - [FieldOffset(142)] internal byte isEqualityOp; - - [FieldOffset(143)] internal byte isComparisonOp; - - [FieldOffset(144)] internal byte isLogicalOp; - - [FieldOffset(145)] internal byte isAssignmentOp; - - [FieldOffset(146)] internal byte isCompoundAssignmentOp; - - [FieldOffset(147)] internal byte isShiftAssignOp; - - [FieldOffset(148)] internal byte isFPContractableWithinStatement; - - [FieldOffset(149)] internal byte isFEnvAccessOn; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationLHSType; - - [FieldOffset(168)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CompoundAssignOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31171,76 +27044,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class AbstractConditionalOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27AbstractConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31399,82 +27227,33 @@ public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractCondition public unsafe partial class ConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr lHS; - - [FieldOffset(120)] internal __IntPtr rHS; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31576,82 +27355,33 @@ public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) public unsafe partial class BinaryConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr common; - - [FieldOffset(120)] internal __IntPtr opaqueValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25BinaryConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31753,67 +27483,28 @@ public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOp public unsafe partial class AddrLabelExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal ampAmpLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13AddrLabelExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31913,70 +27604,29 @@ public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) public unsafe partial class StmtExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subStmt; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8StmtExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32090,70 +27740,29 @@ public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) public unsafe partial class ShuffleVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numSubExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ShuffleVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32266,70 +27875,29 @@ public uint NumSubExprs public unsafe partial class ConvertVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ConvertVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32443,85 +28011,34 @@ public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) public unsafe partial class ChooseExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isConditionTrue; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal byte isConditionDependent; - - [FieldOffset(120)] internal __IntPtr chosenSubExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ChooseExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32703,64 +28220,27 @@ public bool IsConditionDependent public unsafe partial class GNUNullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal tokenLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11GNUNullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32847,73 +28327,30 @@ public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) public unsafe partial class VAArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal byte isMicrosoftABI; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9VAArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33040,97 +28477,38 @@ public bool IsMicrosoftABI public unsafe partial class InitListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr arrayFiller; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rBraceLoc; - - [FieldOffset(96)] internal __IntPtr syntacticForm; - - [FieldOffset(104)] internal uint numInits; - - [FieldOffset(108)] internal byte hasArrayFiller; - - [FieldOffset(109)] internal byte isExplicit; - - [FieldOffset(110)] internal byte isStringLiteralInit; - - [FieldOffset(111)] internal byte isTransparent; - - [FieldOffset(112)] internal byte isSemanticForm; - - [FieldOffset(120)] internal __IntPtr semanticForm; - - [FieldOffset(128)] internal byte isSyntacticForm; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12InitListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33363,79 +28741,32 @@ public bool IsSyntacticForm public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal equalOrColonLoc; - - [FieldOffset(80)] internal __IntPtr init; - - [FieldOffset(88)] internal uint size; - - [FieldOffset(92)] internal byte usesGNUSyntax; - - [FieldOffset(96)] internal uint numSubExprs; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceRange.__Internal designatorsSourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33447,40 +28778,19 @@ public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Exp public unsafe partial class Designator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr field; - - [FieldOffset(8)] internal byte isFieldDesignator; - - [FieldOffset(9)] internal byte isArrayDesignator; - - [FieldOffset(10)] internal byte isArrayRangeDesignator; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal dotLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal fieldLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracketLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(28)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(32)] internal uint firstExprIndex; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr10DesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33736,7 +29046,7 @@ public uint FirstExprIndex public unsafe partial class FieldDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr15FieldDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33846,7 +29156,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class ArrayOrRangeDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr22ArrayOrRangeDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34099,61 +29409,26 @@ public uint NumSubExprs public unsafe partial class NoInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10NoInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34227,67 +29502,28 @@ public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) public unsafe partial class DesignatedInitUpdateExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr updater; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24DesignatedInitUpdateExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34389,67 +29625,28 @@ public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdate public unsafe partial class ArrayInitLoopExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ArrayInitLoopExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34551,61 +29748,26 @@ public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) public unsafe partial class ArrayInitIndexExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayInitIndexExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34679,61 +29841,26 @@ public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) public unsafe partial class ImplicitValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21ImplicitValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34807,70 +29934,29 @@ public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _ public unsafe partial class ParenListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numExprs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ParenListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34983,85 +30069,34 @@ public uint NumExprs public unsafe partial class GenericSelectionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numAssocs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal genericLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(96)] internal __IntPtr controllingExpr; - - [FieldOffset(104)] internal byte isResultDependent; - - [FieldOffset(108)] internal uint resultIndex; - - [FieldOffset(112)] internal __IntPtr resultExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20GenericSelectionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35241,76 +30276,31 @@ public uint ResultIndex public unsafe partial class ExtVectorElementExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal accessorLoc; - - [FieldOffset(92)] internal uint numElements; - - [FieldOffset(96)] internal byte containsDuplicateElements; - - [FieldOffset(97)] internal byte isArrow; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20ExtVectorElementExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35450,67 +30440,28 @@ public bool IsArrow public unsafe partial class BlockExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal caretLocation; - - [FieldOffset(80)] internal __IntPtr body; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BlockExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35611,70 +30562,29 @@ public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) public unsafe partial class AsTypeExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AsTypeExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35788,73 +30698,30 @@ public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) public unsafe partial class PseudoObjectExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr syntacticForm; - - [FieldOffset(88)] internal uint resultExprIndex; - - [FieldOffset(96)] internal __IntPtr resultExpr; - - [FieldOffset(104)] internal uint numSemanticExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16PseudoObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35982,106 +30849,41 @@ public uint NumSemanticExprs public unsafe partial class AtomicExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr ptr; - - [FieldOffset(88)] internal __IntPtr order; - - [FieldOffset(96)] internal __IntPtr scope; - - [FieldOffset(104)] internal __IntPtr val1; - - [FieldOffset(112)] internal __IntPtr orderFail; - - [FieldOffset(120)] internal __IntPtr val2; - - [FieldOffset(128)] internal __IntPtr weak; - - [FieldOffset(136)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal valueType; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.AtomicExpr.AtomicOp op; - - [FieldOffset(156)] internal uint numSubExprs; - - [FieldOffset(160)] internal byte isVolatile; - - [FieldOffset(161)] internal byte isCmpXChg; - - [FieldOffset(162)] internal byte isOpenCL; - - [FieldOffset(164)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AtomicExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36409,61 +31211,26 @@ public bool IsOpenCL public unsafe partial class TypoExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TypoExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36537,100 +31304,39 @@ public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) public unsafe partial class CXXOperatorCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.OverloadedOperatorKind _operator; - - [FieldOffset(156)] internal byte isAssignmentOp; - - [FieldOffset(157)] internal byte isInfixBinaryOp; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CXXOperatorCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36777,94 +31483,37 @@ public bool IsInfixBinaryOp public unsafe partial class CXXMemberCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr implicitObjectArgument; - - [FieldOffset(160)] internal __IntPtr methodDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXMemberCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36987,91 +31636,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CUDAKernelCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr config; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CUDAKernelCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37180,97 +31774,38 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXNamedCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXNamedCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37430,97 +31965,38 @@ public string CastName public unsafe partial class CXXStaticCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXStaticCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37594,100 +32070,39 @@ public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) public unsafe partial class CXXDynamicCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; - - [FieldOffset(160)] internal byte isAlwaysNull; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDynamicCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37774,97 +32189,38 @@ public bool IsAlwaysNull public unsafe partial class CXXReinterpretCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXReinterpretCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37938,97 +32294,38 @@ public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr public unsafe partial class CXXConstCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38102,97 +32399,38 @@ public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) public unsafe partial class UserDefinedLiteral : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.UserDefinedLiteral.LiteralOperatorKind literalOperatorKind; - - [FieldOffset(160)] internal __IntPtr cookedLiteral; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal uDSuffixLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UserDefinedLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38337,67 +32575,28 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXBoolLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXBoolLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38497,64 +32696,27 @@ public bool Value public unsafe partial class CXXNullPtrLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXNullPtrLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38641,64 +32803,27 @@ public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _ public unsafe partial class CXXStdInitializerListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25CXXStdInitializerListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38786,70 +32911,29 @@ public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerLi public unsafe partial class CXXTypeidExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] internal byte isPotentiallyEvaluated; - - [FieldOffset(89)] internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXTypeidExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38963,73 +33047,30 @@ public bool IsTypeOperand public unsafe partial class MSPropertyRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr baseExpr; - - [FieldOffset(88)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MSPropertyRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39156,70 +33197,29 @@ public bool IsArrow public unsafe partial class MSPropertySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23MSPropertySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39334,70 +33334,29 @@ public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptEx public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C uuidStr; - - [FieldOffset(120)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C UuidStr; internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39408,6 +33367,12 @@ public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10getUuidStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUuidStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10setUuidStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUuidStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new CXXUuidofExpr __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -39503,97 +33468,58 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string UuidStr + public bool IsTypeOperand { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->uuidStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isTypeOperand != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->uuidStr), value); + ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); } } - public bool IsTypeOperand + public string UuidStr { get { - return ((__Internal*)__Instance)->isTypeOperand != 0; + var ___ret = __Internal.GetUuidStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); + __Internal.SetUuidStr(__Instance, value); } } } public unsafe partial class CXXThisExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte @implicit; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXThisExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39693,70 +33619,29 @@ public bool Implicit public unsafe partial class CXXThrowExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal throwLoc; - - [FieldOffset(92)] internal byte isThrownVariableInScope; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXThrowExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39870,67 +33755,28 @@ public bool IsThrownVariableInScope public unsafe partial class CXXDefaultArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr expr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal usedLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXDefaultArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40031,67 +33877,28 @@ public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) public unsafe partial class CXXDefaultInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr field; - - [FieldOffset(88)] internal __IntPtr expr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDefaultInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40193,64 +34000,27 @@ public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) public unsafe partial class CXXBindTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CXXBindTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40338,88 +34108,35 @@ public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) public unsafe partial class CXXConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40687,70 +34404,29 @@ public uint GetargumentsCount public unsafe partial class CXXInheritedCtorInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte constructsVBase; - - [FieldOffset(74)] internal byte inheritedFromVBase; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXInheritedCtorInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40863,94 +34539,37 @@ public bool InheritedFromVBase public unsafe partial class CXXFunctionalCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(144)] internal byte isListInitialization; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXFunctionalCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41063,88 +34682,35 @@ public bool IsListInitialization public unsafe partial class CXXTemporaryObjectExpr : global::CppSharp.Parser.AST.CXXConstructExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXTemporaryObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41239,91 +34805,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class LambdaExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal capture_inits; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal captureDefaultLoc; - - [FieldOffset(108)] internal uint capture_size; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceRange.__Internal introducerRange; - - [FieldOffset(120)] internal __IntPtr callOperator; - - [FieldOffset(128)] internal byte isGenericLambda; - - [FieldOffset(136)] internal __IntPtr body; - - [FieldOffset(144)] internal byte isMutable; - - [FieldOffset(145)] internal byte hasExplicitParameters; - - [FieldOffset(146)] internal byte hasExplicitResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LambdaExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41581,64 +35092,27 @@ public uint GetcaptureInitsCount public unsafe partial class CXXScalarValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXScalarValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41725,106 +35199,41 @@ public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr public unsafe partial class CXXNewExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal placement_arguments; - - [FieldOffset(104)] internal __IntPtr operatorNew; - - [FieldOffset(112)] internal __IntPtr operatorDelete; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal allocatedType; - - [FieldOffset(136)] internal byte isArray; - - [FieldOffset(144)] internal __IntPtr arraySize; - - [FieldOffset(152)] internal uint numPlacementArgs; - - [FieldOffset(156)] internal byte isParenTypeId; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceRange.__Internal typeIdParens; - - [FieldOffset(168)] internal byte isGlobalNew; - - [FieldOffset(169)] internal byte hasInitializer; - - [FieldOffset(172)] internal global::CppSharp.Parser.AST.CXXNewExpr.InitializationStyle initializationStyle; - - [FieldOffset(176)] internal __IntPtr initializer; - - [FieldOffset(184)] internal __IntPtr constructExpr; - - [FieldOffset(192)] internal global::CppSharp.Parser.SourceRange.__Internal directInitRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXNewExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42161,79 +35570,32 @@ public uint GetplacementArgumentsCount public unsafe partial class CXXDeleteExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isGlobalDelete; - - [FieldOffset(74)] internal byte isArrayForm; - - [FieldOffset(75)] internal byte isArrayFormAsWritten; - - [FieldOffset(80)] internal __IntPtr operatorDelete; - - [FieldOffset(88)] internal __IntPtr argument; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXDeleteExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42389,85 +35751,34 @@ public bool IsArrayFormAsWritten public unsafe partial class CXXPseudoDestructorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte hasQualifier; - - [FieldOffset(89)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal colonColonLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal tildeLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal destroyedTypeLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23CXXPseudoDestructorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42648,67 +35959,28 @@ public bool IsArrow public unsafe partial class TypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13TypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42808,70 +36080,29 @@ public uint NumArgs public unsafe partial class ArrayTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal queriedType; - - [FieldOffset(96)] internal ulong value; - - [FieldOffset(104)] internal __IntPtr dimensionExpression; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42987,67 +36218,28 @@ public ulong Value public unsafe partial class ExpressionTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr queriedExpression; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ExpressionTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43148,85 +36340,34 @@ public bool Value public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43241,7 +36382,7 @@ public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDi public unsafe partial class FindResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExpr10FindResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43531,91 +36672,36 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedLookupExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte requiresADL; - - [FieldOffset(105)] internal byte isOverloaded; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedLookupExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43715,82 +36801,33 @@ public bool IsOverloaded public unsafe partial class DependentScopeDeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(92)] internal byte hasTemplateKeyword; - - [FieldOffset(93)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(96)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25DependentScopeDeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43955,70 +36992,29 @@ public uint NumTemplateArgs public unsafe partial class ExprWithCleanups : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal uint numObjects; - - [FieldOffset(92)] internal byte cleanupsHaveSideEffects; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExprWithCleanupsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44118,79 +37114,32 @@ public bool CleanupsHaveSideEffects public unsafe partial class CXXUnresolvedConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(128)] internal byte isListInitialization; - - [FieldOffset(132)] internal uint arg_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26CXXUnresolvedConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44394,100 +37343,39 @@ public uint GetargumentsCount public unsafe partial class CXXDependentScopeMemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(104)] internal byte isArrow; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(112)] internal __IntPtr firstQualifierFoundInScope; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(128)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(132)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(136)] internal byte hasTemplateKeyword; - - [FieldOffset(137)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(140)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27CXXDependentScopeMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44734,106 +37622,41 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedMemberExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte isImplicitAccess; - - [FieldOffset(112)] internal __IntPtr @base; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(136)] internal byte hasUnresolvedUsing; - - [FieldOffset(137)] internal byte isArrow; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45001,67 +37824,28 @@ public bool IsArrow public unsafe partial class CXXNoexceptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXNoexceptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45162,67 +37946,28 @@ public bool Value public unsafe partial class PackExpansionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr pattern; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45323,79 +38068,32 @@ public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) public unsafe partial class SizeOfPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal packLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal __IntPtr pack; - - [FieldOffset(96)] internal uint packLength; - - [FieldOffset(100)] internal byte isPartiallySubstituted; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SizeOfPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45548,67 +38246,28 @@ public bool IsPartiallySubstituted public unsafe partial class SubstNonTypeTemplateParmExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(80)] internal __IntPtr replacement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST28SubstNonTypeTemplateParmExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45709,67 +38368,28 @@ public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemp public unsafe partial class SubstNonTypeTemplateParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.TemplateArgument.__Internal argumentPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32SubstNonTypeTemplateParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45871,67 +38491,28 @@ public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonType public unsafe partial class FunctionParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal uint numExpansions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20FunctionParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46031,73 +38612,30 @@ public uint NumExpansions public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr temporary; - - [FieldOffset(88)] internal __IntPtr TemporaryExpr; - - [FieldOffset(96)] internal uint manglingNumber; - - [FieldOffset(100)] internal byte isBoundToLvalueReference; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46109,7 +38647,7 @@ public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.A public unsafe partial class ExtraState : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExpr10ExtraStateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46335,85 +38873,34 @@ public bool IsBoundToLvalueReference public unsafe partial class CXXFoldExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal byte isRightFold; - - [FieldOffset(97)] internal byte isLeftFold; - - [FieldOffset(104)] internal __IntPtr pattern; - - [FieldOffset(112)] internal __IntPtr init; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.AST.BinaryOperatorKind _operator; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXFoldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46595,79 +39082,32 @@ public bool IsLeftFold public unsafe partial class CoroutineSuspendExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CoroutineSuspendExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46850,85 +39290,34 @@ public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) public unsafe partial class CoawaitExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal byte isImplicit; - - [FieldOffset(128)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47029,70 +39418,29 @@ public bool IsImplicit public unsafe partial class DependentCoawaitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal __IntPtr operatorCoawaitLookup; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20DependentCoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47207,82 +39555,33 @@ public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) public unsafe partial class CoyieldExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoyieldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47392,130 +39691,49 @@ public enum ParserIntType public unsafe partial class ParserTargetInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 192)] + [StructLayout(LayoutKind.Sequential, Size = 192)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C ABI; - - [FieldOffset(32)] internal global::CppSharp.Parser.ParserIntType char16Type; - - [FieldOffset(36)] internal global::CppSharp.Parser.ParserIntType char32Type; - - [FieldOffset(40)] internal global::CppSharp.Parser.ParserIntType int64Type; - - [FieldOffset(44)] internal global::CppSharp.Parser.ParserIntType intMaxType; - - [FieldOffset(48)] internal global::CppSharp.Parser.ParserIntType intPtrType; - - [FieldOffset(52)] internal global::CppSharp.Parser.ParserIntType sizeType; - - [FieldOffset(56)] internal global::CppSharp.Parser.ParserIntType uIntMaxType; - - [FieldOffset(60)] internal global::CppSharp.Parser.ParserIntType wCharType; - - [FieldOffset(64)] internal global::CppSharp.Parser.ParserIntType wIntType; - - [FieldOffset(68)] internal uint boolAlign; - - [FieldOffset(72)] internal uint boolWidth; - - [FieldOffset(76)] internal uint charAlign; - - [FieldOffset(80)] internal uint charWidth; - - [FieldOffset(84)] internal uint char16Align; - - [FieldOffset(88)] internal uint char16Width; - - [FieldOffset(92)] internal uint char32Align; - - [FieldOffset(96)] internal uint char32Width; - - [FieldOffset(100)] internal uint halfAlign; - - [FieldOffset(104)] internal uint halfWidth; - - [FieldOffset(108)] internal uint floatAlign; - - [FieldOffset(112)] internal uint floatWidth; - - [FieldOffset(116)] internal uint doubleAlign; - - [FieldOffset(120)] internal uint doubleWidth; - - [FieldOffset(124)] internal uint shortAlign; - - [FieldOffset(128)] internal uint shortWidth; - - [FieldOffset(132)] internal uint intAlign; - - [FieldOffset(136)] internal uint intWidth; - - [FieldOffset(140)] internal uint intMaxTWidth; - - [FieldOffset(144)] internal uint longAlign; - - [FieldOffset(148)] internal uint longWidth; - - [FieldOffset(152)] internal uint longDoubleAlign; - - [FieldOffset(156)] internal uint longDoubleWidth; - - [FieldOffset(160)] internal uint longLongAlign; - - [FieldOffset(164)] internal uint longLongWidth; - - [FieldOffset(168)] internal uint pointerAlign; - - [FieldOffset(172)] internal uint pointerWidth; - - [FieldOffset(176)] internal uint wCharAlign; - - [FieldOffset(180)] internal uint wCharWidth; - - [FieldOffset(184)] internal uint float128Align; - - [FieldOffset(188)] internal uint float128Width; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47526,6 +39744,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6getABIEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetABI(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6setABIEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetABI(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -47630,20 +39854,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string ABI - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->ABI)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->ABI), value); - } - } - public global::CppSharp.Parser.ParserIntType Char16Type { get @@ -48163,6 +40373,20 @@ public uint Float128Width ((__Internal*)__Instance)->float128Width = value; } } + + public string ABI + { + get + { + var ___ret = __Internal.GetABI(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetABI(__Instance, value); + } + } } } } @@ -48268,72 +40492,32 @@ protected Parser(void* native, bool skipVTables = false) public unsafe partial class CppParserOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 304)] + [StructLayout(LayoutKind.Sequential, Size = 312)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internal CompilationOptions; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C LibraryFile; internal global::Std.Vector.__Internal SourceFiles; - - [FieldOffset(72)] internal global::Std.Vector.__Internal IncludeDirs; - - [FieldOffset(96)] internal global::Std.Vector.__Internal SystemIncludeDirs; - - [FieldOffset(120)] internal global::Std.Vector.__Internal Defines; - - [FieldOffset(144)] internal global::Std.Vector.__Internal Undefines; - - [FieldOffset(168)] internal global::Std.Vector.__Internal SupportedStdTypes; - - [FieldOffset(192)] internal global::Std.Vector.__Internal SupportedFunctionTemplates; - - [FieldOffset(216)] internal __IntPtr ASTContext; - - [FieldOffset(224)] internal int toolSetToUse; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C targetTriple; - - [FieldOffset(264)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C TargetTriple; + internal global::CppSharp.Parser.AST.CppAbi abi; internal byte noStandardIncludes; - - [FieldOffset(265)] internal byte noBuiltinIncludes; - - [FieldOffset(266)] internal byte microsoftMode; - - [FieldOffset(267)] internal byte verbose; - - [FieldOffset(268)] internal byte unityBuild; - - [FieldOffset(269)] internal byte skipPrivateDeclarations; - - [FieldOffset(270)] internal byte skipLayoutInfo; - - [FieldOffset(271)] internal byte skipFunctionBodies; - [FieldOffset(272)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C clangVersion; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -48424,8 +40608,8 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions31clearSupportedFunctionTemplatesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSupportedFunctionTemplates(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getClangVersionB5cxx11Ev", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void GetClangVersion(__IntPtr @return, __IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getClangVersionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetClangVersion(); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions17getArgumentsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetArgumentsCount(__IntPtr __instance); @@ -48433,6 +40617,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions26getCompilationOptionsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetCompilationOptionsCount(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14getLibraryFileEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetLibraryFile(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14setLibraryFileEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetLibraryFile(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions19getSourceFilesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSourceFilesCount(__IntPtr __instance); @@ -48453,6 +40643,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions34getSupportedFunctionTemplatesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSupportedFunctionTemplatesCount(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getTargetTripleEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTargetTriple(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15setTargetTripleEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTargetTriple(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -48728,17 +40924,16 @@ public int ToolSetToUse } } - public string TargetTriple + public global::CppSharp.Parser.AST.CppAbi Abi { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->targetTriple)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->abi; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->targetTriple), value); + ((__Internal*)__Instance)->abi = value; } } @@ -48846,16 +41041,12 @@ public bool SkipFunctionBodies } } - public string ClangVersion + public static string ClangVersion { get { - var ___ret = new global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C(); - __Internal.GetClangVersion(new IntPtr(&___ret), __Instance); - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&___ret)); - var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); - __basicStringRet0.Dispose(); - return __retString0; + var ___ret = __Internal.GetClangVersion(); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } } @@ -48877,6 +41068,20 @@ public uint CompilationOptionsCount } } + public string LibraryFile + { + get + { + var ___ret = __Internal.GetLibraryFile(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetLibraryFile(__Instance, value); + } + } + public uint SourceFilesCount { get @@ -48939,20 +41144,29 @@ public uint SupportedFunctionTemplatesCount return ___ret; } } + + public string TargetTriple + { + get + { + var ___ret = __Internal.GetTargetTriple(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetTargetTriple(__Instance, value); + } + } } public unsafe partial class CppLinkerOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internal LibraryDirs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal Libraries; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppLinkerOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49181,22 +41395,13 @@ public uint LibrariesCount public unsafe partial class ParserDiagnostic : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C fileName; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C message; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C FileName; + internal global::Std.BasicString.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C Message; internal global::CppSharp.Parser.ParserDiagnosticLevel level; - - [FieldOffset(68)] internal int lineNumber; - - [FieldOffset(72)] internal int columnNumber; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49207,6 +41412,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10getMessageEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMessage(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10setMessageEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMessage(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -49311,89 +41528,82 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string FileName + public global::CppSharp.Parser.ParserDiagnosticLevel Level { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->level; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->level = value; } } - public string Message + public int LineNumber { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->message)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumber; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->message), value); + ((__Internal*)__Instance)->lineNumber = value; } } - public global::CppSharp.Parser.ParserDiagnosticLevel Level + public int ColumnNumber { get { - return ((__Internal*)__Instance)->level; + return ((__Internal*)__Instance)->columnNumber; } set { - ((__Internal*)__Instance)->level = value; + ((__Internal*)__Instance)->columnNumber = value; } } - public int LineNumber + public string FileName { get { - return ((__Internal*)__Instance)->lineNumber; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumber = value; + __Internal.SetFileName(__Instance, value); } } - public int ColumnNumber + public string Message { get { - return ((__Internal*)__Instance)->columnNumber; + var ___ret = __Internal.GetMessage(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->columnNumber = value; + __Internal.SetMessage(__Instance, value); } } } public unsafe partial class ParserResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.ParserResultKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Diagnostics; - - [FieldOffset(32)] internal global::Std.Vector.__Internal Libraries; - - [FieldOffset(56)] internal __IntPtr targetInfo; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser12ParserResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49623,7 +41833,7 @@ public uint LibrariesCount public unsafe partial class ClangParser : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParserC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -49635,14 +41845,14 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser12ParseLibraryEPNS0_16CppLinkerOptionsE", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ParseLibrary(__IntPtr Opts); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Compile(__IntPtr Opts, __IntPtr File); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Compile(__IntPtr Opts, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); } public __IntPtr __Instance { get; protected set; } @@ -49761,11 +41971,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Build(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Build(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49773,11 +41979,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public static global::CppSharp.Parser.ParserResult Compile(global::CppSharp.Parser.CppParserOptions Opts, string File) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; - var __basicString1 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString1, File); - var __arg1 = __basicString1.__Instance; - var ___ret = __Internal.Compile(__arg0, __arg1); - __basicString1.Dispose(); + var ___ret = __Internal.Compile(__arg0, File); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49786,11 +41988,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Link(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Link(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49804,24 +42002,18 @@ namespace RbTree { namespace RbTreeImpl { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public unsafe partial struct __Internalc__N_std_S__Rb_tree____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3__S__Rb_tree_impl__S7__Vb1 { - [FieldOffset(0)] internal global::Std.Less.__Internal _M_key_compare; - - [FieldOffset(8)] internal global::Std.RbTreeNodeBase.__Internal _M_header; - - [FieldOffset(40)] internal ulong _M_node_count; } } - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public unsafe partial struct __Internalc__N_std_S__Rb_tree____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3_ { - [FieldOffset(0)] internal global::Std.RbTree.RbTreeImpl.__Internalc__N_std_S__Rb_tree____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3__S__Rb_tree_impl__S7__Vb1 _M_impl; } } @@ -49831,10 +42023,9 @@ namespace Std { namespace Map { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public unsafe partial struct __Internalc__N_std_S_map____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ { - [FieldOffset(0)] internal global::Std.RbTree.__Internalc__N_std_S__Rb_tree____N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3_ _M_t; } } diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-symbols.cpp b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-symbols.cpp index 80aec5d8a..3da010711 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-symbols.cpp +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-symbols.cpp @@ -1,5 +1,5 @@ #define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -#define _LIBCPP_HAS_NO_EXCEPTIONS +#define _LIBCPP_HIDE_FROM_ABI #include #include 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 9c8d0bf27..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 @@ -22,7 +22,7 @@ namespace Std { namespace Allocator { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSaIcEC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -146,35 +146,28 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal global::Std.VectorBase.VectorImpl.__Internal _M_impl; } } namespace VectorBase { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal global::Std.VectorBase.VectorImpl.__Internal _M_impl; } namespace VectorImpl { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _M_start; - - [FieldOffset(8)] internal __IntPtr _M_finish; - - [FieldOffset(16)] internal __IntPtr _M_end_of_storage; } @@ -182,16 +175,11 @@ public unsafe partial struct __Internal namespace VectorImplData { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _M_start; - - [FieldOffset(8)] internal __IntPtr _M_finish; - - [FieldOffset(16)] internal __IntPtr _M_end_of_storage; } } @@ -203,7 +191,7 @@ namespace Std { namespace Less { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -218,19 +206,12 @@ public enum RbTreeColor : uint public unsafe partial class RbTreeNodeBase { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.RbTreeColor _M_color; - - [FieldOffset(8)] internal __IntPtr _M_parent; - - [FieldOffset(16)] internal __IntPtr _M_left; - - [FieldOffset(24)] internal __IntPtr _M_right; } } @@ -252,7 +233,7 @@ namespace Std { namespace CharTraits { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -371,10 +352,9 @@ public unsafe partial struct __Internalc__N_std_N___cxx11_S_basic_string__C___N_ namespace AllocHider { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _M_p; } 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 a4f377cc1..e81648fb5 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 @@ -62,19 +62,12 @@ public enum ArchType public unsafe partial class NativeLibrary : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internal fileName; - - [FieldOffset(8)] + internal global::Std.BasicString.__Internal FileName; internal global::CppSharp.Parser.AST.ArchType archType; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Symbols; - - [FieldOffset(40)] internal global::Std.Vector.__Internal Dependencies; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -104,6 +97,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary17clearDependenciesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearDependencies(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13NativeLibrary15getSymbolsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSymbolsCount(__IntPtr __instance); @@ -245,30 +244,30 @@ public void ClearDependencies() __Internal.ClearDependencies(__Instance); } - public string FileName + public global::CppSharp.Parser.AST.ArchType ArchType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->archType; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->archType = value; } } - public global::CppSharp.Parser.AST.ArchType ArchType + public string FileName { get { - return ((__Internal*)__Instance)->archType; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->archType = value; + __Internal.SetFileName(__Instance, value); } } @@ -293,10 +292,9 @@ public uint DependenciesCount public unsafe partial class Comment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7CommentC2ENS1_11CommentKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -424,10 +422,9 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BlockContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -518,13 +515,10 @@ public BlockContentComment(global::CppSharp.Parser.AST.BlockContentComment _0) public unsafe partial class FullComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Blocks; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11FullCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -661,13 +655,10 @@ public uint BlocksCount public unsafe partial class InlineContentComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineContentCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -771,16 +762,11 @@ public bool HasTrailingNewline public unsafe partial class ParagraphComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte isWhitespace; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Content; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ParagraphCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -930,19 +916,12 @@ public uint ContentCount public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.BlockContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -972,11 +951,10 @@ public unsafe partial class BlockCommandComment : global::CppSharp.Parser.AST.Bl public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internal text; + internal global::Std.BasicString.__Internal Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -986,6 +964,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19BlockCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -1094,13 +1078,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -1259,25 +1243,14 @@ public uint ArgumentsCount public unsafe partial class ParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.ParamCommandComment.PassDirection direction; - - [FieldOffset(44)] internal uint paramIndex; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1405,22 +1378,13 @@ public uint ParamIndex public unsafe partial class TParamCommandComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internal Position; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20TParamCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1556,14 +1520,11 @@ public uint PositionCount public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.AST.Comment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal text; + internal global::Std.BasicString.__Internal Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1573,6 +1534,12 @@ public unsafe partial class VerbatimBlockLineComment : global::CppSharp.Parser.A [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24VerbatimBlockLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimBlockLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1658,35 +1625,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class VerbatimBlockComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] internal global::Std.Vector.__Internal Lines; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20VerbatimBlockCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1823,23 +1781,14 @@ public uint LinesCount public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.BlockCommandComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal uint commandId; - - [FieldOffset(8)] internal __IntPtr paragraphComment; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal text; + internal global::Std.BasicString.__Internal Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -1849,6 +1798,12 @@ public unsafe partial class VerbatimLineComment : global::CppSharp.Parser.AST.Bl [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19VerbatimLineComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new VerbatimLineComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -1934,35 +1889,26 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class InlineCommandComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] internal uint commandId; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.InlineCommandComment.RenderKind commentRenderKind; - - [FieldOffset(16)] internal global::Std.Vector.__Internal Arguments; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -1998,11 +1944,10 @@ public enum RenderKind : uint public unsafe partial class Argument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internal text; + internal global::Std.BasicString.__Internal Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2012,6 +1957,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20InlineCommandComment8Argument7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2120,13 +2071,13 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } @@ -2270,13 +2221,10 @@ public uint ArgumentsCount public unsafe partial class HTMLTagComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14HTMLTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2367,19 +2315,12 @@ public HTMLTagComment(global::CppSharp.Parser.AST.HTMLTagComment _0) public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal tagName; - - [FieldOffset(16)] + internal global::Std.BasicString.__Internal TagName; internal global::Std.Vector.__Internal Attributes; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2400,20 +2341,23 @@ public unsafe partial class HTMLStartTagComment : global::CppSharp.Parser.AST.HT [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment15clearAttributesEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearAttributes(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment18getAttributesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetAttributesCount(__IntPtr __instance); } public unsafe partial class Attribute : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal value; + internal global::Std.BasicString.__Internal Name; + internal global::Std.BasicString.__Internal Value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2423,6 +2367,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8getValueEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetValue(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9Attribute8setValueEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetValue(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -2531,13 +2487,13 @@ public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + __Internal.SetName(__Instance, value); } } @@ -2545,13 +2501,13 @@ public string Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->value)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetValue(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->value), value); + __Internal.SetValue(__Instance, value); } } } @@ -2661,13 +2617,13 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } @@ -2683,17 +2639,12 @@ public uint AttributesCount public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTMLTagComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal tagName; + internal global::Std.BasicString.__Internal TagName; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2703,6 +2654,12 @@ public unsafe partial class HTMLEndTagComment : global::CppSharp.Parser.AST.HTML [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10getTagNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTagName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17HTMLEndTagComment10setTagNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTagName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new HTMLEndTagComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2788,30 +2745,25 @@ public string TagName { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->tagName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetTagName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->tagName), value); + __Internal.SetTagName(__Instance, value); } } } public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineContentComment, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CommentKind kind; - - [FieldOffset(4)] internal byte hasTrailingNewline; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal text; + internal global::Std.BasicString.__Internal Text; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -2821,6 +2773,12 @@ public unsafe partial class TextComment : global::CppSharp.Parser.AST.InlineCont [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TextComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new TextComment __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -2906,32 +2864,25 @@ public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetText(__Instance, value); } } } public unsafe partial class RawComment : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.RawCommentKind kind; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal text; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internal briefText; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internal Text; + internal global::Std.BasicString.__Internal BriefText; internal __IntPtr fullCommentBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -2942,6 +2893,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawCommentD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12getBriefTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBriefText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10RawComment12setBriefTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBriefText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -3059,45 +3022,45 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) } } - public string Text + public global::CppSharp.Parser.AST.FullComment FullCommentBlock { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; } } - public string BriefText + public string Text { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->briefText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->briefText), value); + __Internal.SetText(__Instance, value); } } - public global::CppSharp.Parser.AST.FullComment FullCommentBlock + public string BriefText { get { - var __result0 = global::CppSharp.Parser.AST.FullComment.__GetOrCreateInstance(((__Internal*)__Instance)->fullCommentBlock, false); - return __result0; + var ___ret = __Internal.GetBriefText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fullCommentBlock = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetBriefText(__Instance, value); } } } @@ -3111,10 +3074,9 @@ namespace Parser { public unsafe partial struct SourceLocation { - [StructLayout(LayoutKind.Explicit, Size = 4)] + [StructLayout(LayoutKind.Sequential, Size = 4)] public partial struct __Internal { - [FieldOffset(0)] internal uint ID; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser14SourceLocationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3200,13 +3162,10 @@ public uint ID public unsafe partial class SourceRange : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11SourceRangeC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -3427,13 +3386,10 @@ public enum ExceptionSpecType public unsafe partial class Type : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4TypeC2ENS1_8TypeKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -3577,16 +3533,11 @@ public bool IsDependent public unsafe partial class TypeQualifiers : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 3)] + [StructLayout(LayoutKind.Sequential, Size = 3)] public partial struct __Internal { - [FieldOffset(0)] internal byte isConst; - - [FieldOffset(1)] internal byte isVolatile; - - [FieldOffset(2)] internal byte isRestrict; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14TypeQualifiersC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] @@ -3731,13 +3682,10 @@ public bool IsRestrict public unsafe partial class QualifiedType : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr type; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.TypeQualifiers.__Internal qualifiers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13QualifiedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3876,16 +3824,11 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TagType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7TagTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -3976,25 +3919,14 @@ public TagType(global::CppSharp.Parser.AST.TagType _0) public unsafe partial class ArrayType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.ArrayType.ArraySize sizeType; - - [FieldOffset(32)] internal long size; - - [FieldOffset(40)] internal long elementSize; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ArrayTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4133,25 +4065,14 @@ public long ElementSize public unsafe partial class FunctionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(28)] internal global::CppSharp.Parser.AST.ExceptionSpecType exceptionSpecType; - - [FieldOffset(32)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12FunctionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4329,19 +4250,12 @@ public uint ParametersCount public unsafe partial class PointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedPointee; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.PointerType.TypeModifier modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11PointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4454,16 +4368,11 @@ public PointerType(global::CppSharp.Parser.AST.PointerType _0) public unsafe partial class MemberPointerType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MemberPointerTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4555,16 +4464,11 @@ public MemberPointerType(global::CppSharp.Parser.AST.MemberPointerType _0) public unsafe partial class TypedefType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4655,19 +4559,12 @@ public TypedefType(global::CppSharp.Parser.AST.TypedefType _0) public unsafe partial class AttributedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal modified; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal equivalent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4774,22 +4671,13 @@ public AttributedType(global::CppSharp.Parser.AST.AttributedType _0) public unsafe partial class DecayedType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal decayed; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal original; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal pointee; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DecayedTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -4911,19 +4799,12 @@ public DecayedType(global::CppSharp.Parser.AST.DecayedType _0) public unsafe partial class TemplateArgument : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TemplateArgument.ArgumentKind kind; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(24)] internal __IntPtr declaration; - - [FieldOffset(32)] internal long integral; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16TemplateArgumentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5100,22 +4981,13 @@ public long Integral public unsafe partial class TemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(32)] internal __IntPtr _template; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26TemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5280,19 +5152,12 @@ public uint ArgumentsCount public unsafe partial class DependentTemplateSpecializationType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST35DependentTemplateSpecializationTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5443,25 +5308,14 @@ public uint ArgumentsCount public unsafe partial class TemplateParameterType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr parameter; - - [FieldOffset(16)] internal uint depth; - - [FieldOffset(20)] internal uint index; - - [FieldOffset(24)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TemplateParameterTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5609,19 +5463,12 @@ public bool IsParameterPack public unsafe partial class TemplateParameterSubstitutionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal replacement; - - [FieldOffset(24)] internal __IntPtr replacedParameter; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST33TemplateParameterSubstitutionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5727,19 +5574,12 @@ public TemplateParameterSubstitutionType(global::CppSharp.Parser.AST.TemplatePar public unsafe partial class InjectedClassNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal injectedSpecializationType; - - [FieldOffset(24)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21InjectedClassNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -5845,20 +5685,13 @@ public InjectedClassNameType(global::CppSharp.Parser.AST.InjectedClassNameType _ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifier; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internal identifier; + internal global::Std.BasicString.__Internal Identifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -5868,6 +5701,12 @@ public unsafe partial class DependentNameType : global::CppSharp.Parser.AST.Type [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameTypeD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13getIdentifierEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetIdentifier(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17DependentNameType13setIdentifierEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetIdentifier(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new DependentNameType __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -5968,26 +5807,23 @@ public string Identifier { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->identifier)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetIdentifier(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->identifier), value); + __Internal.SetIdentifier(__Instance, value); } } } public unsafe partial class PackExpansionType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6064,19 +5900,12 @@ public PackExpansionType(global::CppSharp.Parser.AST.PackExpansionType _0) public unsafe partial class UnaryTransformType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal desugared; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UnaryTransformTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6183,16 +6012,11 @@ public UnaryTransformType(global::CppSharp.Parser.AST.UnaryTransformType _0) public unsafe partial class UnresolvedUsingType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19UnresolvedUsingTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6283,19 +6107,12 @@ public UnresolvedUsingType(global::CppSharp.Parser.AST.UnresolvedUsingType _0) public unsafe partial class VectorType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal elementType; - - [FieldOffset(24)] internal uint numElements; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10VectorTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6400,16 +6217,11 @@ public uint NumElements public unsafe partial class BuiltinType : global::CppSharp.Parser.AST.Type, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.TypeKind kind; - - [FieldOffset(4)] internal byte isDependent; - - [FieldOffset(8)] internal global::CppSharp.Parser.AST.PrimitiveType type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11BuiltinTypeC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -6706,73 +6518,30 @@ public enum VTableComponentKind public unsafe partial class Declaration : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclarationC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -6802,6 +6571,24 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration19clearRedeclarationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearRedeclarations(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6getUSREv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUSR(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration6setUSREPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUSR(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12getDebugTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetDebugText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration12setDebugTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetDebugText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Declaration28getPreprocessedEntitiesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetPreprocessedEntitiesCount(__IntPtr __instance); @@ -7063,164 +6850,164 @@ public int LineNumberEnd } } - public string Name + public bool IsIncomplete { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isIncomplete != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); } } - public string USR + public bool IsDependent { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->USR)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isDependent != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->USR), value); + ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); } } - public string DebugText + public bool IsImplicit { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->debugText)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isImplicit != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->debugText), value); + ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); } } - public bool IsIncomplete + public bool IsInvalid { get { - return ((__Internal*)__Instance)->isIncomplete != 0; + return ((__Internal*)__Instance)->isInvalid != 0; } set { - ((__Internal*)__Instance)->isIncomplete = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); } } - public bool IsDependent + public bool IsDeprecated { get { - return ((__Internal*)__Instance)->isDependent != 0; + return ((__Internal*)__Instance)->isDeprecated != 0; } set { - ((__Internal*)__Instance)->isDependent = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); } } - public bool IsImplicit + public global::CppSharp.Parser.AST.Declaration CompleteDeclaration { get { - return ((__Internal*)__Instance)->isImplicit != 0; + var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + return __result0; } set { - ((__Internal*)__Instance)->isImplicit = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; } } - public bool IsInvalid + public uint DefinitionOrder { get { - return ((__Internal*)__Instance)->isInvalid != 0; + return ((__Internal*)__Instance)->definitionOrder; } set { - ((__Internal*)__Instance)->isInvalid = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->definitionOrder = value; } } - public bool IsDeprecated + public __IntPtr OriginalPtr { get { - return ((__Internal*)__Instance)->isDeprecated != 0; + return ((__Internal*)__Instance)->originalPtr; } set { - ((__Internal*)__Instance)->isDeprecated = (byte) (value ? 1 : 0); + ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; } } - public global::CppSharp.Parser.AST.Declaration CompleteDeclaration + public global::CppSharp.Parser.AST.RawComment Comment { get { - var __result0 = global::CppSharp.Parser.AST.Declaration.__GetOrCreateInstance(((__Internal*)__Instance)->completeDeclaration, false); + var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); return __result0; } set { - ((__Internal*)__Instance)->completeDeclaration = value is null ? __IntPtr.Zero : value.__Instance; + ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; } } - public uint DefinitionOrder + public string Name { get { - return ((__Internal*)__Instance)->definitionOrder; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definitionOrder = value; + __Internal.SetName(__Instance, value); } } - public __IntPtr OriginalPtr + public string USR { get { - return ((__Internal*)__Instance)->originalPtr; + var ___ret = __Internal.GetUSR(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->originalPtr = (__IntPtr) value; + __Internal.SetUSR(__Instance, value); } } - public global::CppSharp.Parser.AST.RawComment Comment + public string DebugText { get { - var __result0 = global::CppSharp.Parser.AST.RawComment.__GetOrCreateInstance(((__Internal*)__Instance)->comment, false); - return __result0; + var ___ret = __Internal.GetDebugText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->comment = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetDebugText(__Instance, value); } } @@ -7245,106 +7032,41 @@ public uint RedeclarationsCount public unsafe partial class DeclarationContext : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 424)] + [StructLayout(LayoutKind.Sequential, Size = 424)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DeclarationContextC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -7835,76 +7557,31 @@ public uint FriendsCount public unsafe partial class TypedefNameDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TypedefNameDeclC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -8019,76 +7696,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypedefDecl : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11TypedefDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8183,79 +7815,32 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TypeAlias : global::CppSharp.Parser.AST.TypedefNameDecl, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(168)] internal __IntPtr describedAliasTemplate; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9TypeAliasC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8364,76 +7949,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Friend : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6FriendC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -8542,26 +8082,24 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class StatementObsolete : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internal @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKSsNS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internal String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17StatementObsolete9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -8627,19 +8165,6 @@ protected StatementObsolete(void* native, bool skipVTables = false) __Instance = new __IntPtr(native); } - public StatementObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public StatementObsolete(global::CppSharp.Parser.AST.StatementObsolete _0) { __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.StatementObsolete.__Internal)); @@ -8702,33 +8227,25 @@ public string String { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + __Internal.SetString(__Instance, value); } } } public unsafe partial class ExpressionObsolete : global::CppSharp.Parser.AST.StatementObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internal @string; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKSsNS1_22StatementClassObsoleteEPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, global::CppSharp.Parser.AST.StatementClassObsolete Class, __IntPtr decl); + internal global::Std.BasicString.__Internal String; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ExpressionObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -8780,20 +8297,6 @@ protected ExpressionObsolete(void* native, bool skipVTables = false) { } - public ExpressionObsolete(string str, global::CppSharp.Parser.AST.StatementClassObsolete Class, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.ExpressionObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg2 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, Class, __arg2); - __basicString0.Dispose(); - } - public ExpressionObsolete(global::CppSharp.Parser.AST.ExpressionObsolete _0) : this((void*) null) { @@ -8824,35 +8327,27 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class BinaryOperatorObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internal @string; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internal String; internal __IntPtr LHS; - - [FieldOffset(32)] internal __IntPtr RHS; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal opcodeStr; - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKSsPNS1_18ExpressionObsoleteES6_S4_", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr lhs, __IntPtr rhs, __IntPtr opcodeStr); + internal global::Std.BasicString.__Internal OpcodeStr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsoleteD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22BinaryOperatorObsolete12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperatorObsolete __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -8898,25 +8393,6 @@ protected BinaryOperatorObsolete(void* native, bool skipVTables = false) { } - public BinaryOperatorObsolete(string str, global::CppSharp.Parser.AST.ExpressionObsolete lhs, global::CppSharp.Parser.AST.ExpressionObsolete rhs, string opcodeStr) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.BinaryOperatorObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = lhs is null ? __IntPtr.Zero : lhs.__Instance; - var __arg2 = rhs is null ? __IntPtr.Zero : rhs.__Instance; - var __basicString3 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString3, opcodeStr); - var __arg3 = __basicString3.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1, __arg2, __arg3); - __basicString0.Dispose(); - __basicString3.Dispose(); - } - public BinaryOperatorObsolete(global::CppSharp.Parser.AST.BinaryOperatorObsolete _0) : this((void*) null) { @@ -8976,37 +8452,27 @@ public string OpcodeStr { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); + __Internal.SetOpcodeStr(__Instance, value); } } } public unsafe partial class CallExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internal @string; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internal String; internal global::Std.Vector.__Internal Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKSsPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CallExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9069,20 +8535,6 @@ protected CallExprObsolete(void* native, bool skipVTables = false) { } - public CallExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CallExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CallExprObsolete(global::CppSharp.Parser.AST.CallExprObsolete _0) : this((void*) null) { @@ -9143,24 +8595,14 @@ public uint ArgumentsCount public unsafe partial class CXXConstructExprObsolete : global::CppSharp.Parser.AST.ExpressionObsolete, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StatementClassObsolete _class; - - [FieldOffset(8)] internal __IntPtr decl; - - [FieldOffset(16)] - internal global::Std.BasicString.__Internal @string; - - [FieldOffset(24)] + internal global::Std.BasicString.__Internal String; internal global::Std.Vector.__Internal Arguments; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKSsPNS1_11DeclarationE", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void ctor(__IntPtr __instance, __IntPtr str, __IntPtr decl); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXConstructExprObsoleteC2ERKS2_", CallingConvention = __CallingConvention.Cdecl)] internal static extern void cctor(__IntPtr __instance, __IntPtr _0); @@ -9223,20 +8665,6 @@ protected CXXConstructExprObsolete(void* native, bool skipVTables = false) { } - public CXXConstructExprObsolete(string str, global::CppSharp.Parser.AST.Declaration decl) - : this((void*) null) - { - __Instance = Marshal.AllocHGlobal(sizeof(global::CppSharp.Parser.AST.CXXConstructExprObsolete.__Internal)); - __ownsNativeInstance = true; - __RecordNativeToManagedMapping(__Instance, this); - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, str); - var __arg0 = __basicString0.__Instance; - var __arg1 = decl is null ? __IntPtr.Zero : decl.__Instance; - __Internal.ctor(__Instance, __arg0, __arg1); - __basicString0.Dispose(); - } - public CXXConstructExprObsolete(global::CppSharp.Parser.AST.CXXConstructExprObsolete _0) : this((void*) null) { @@ -9297,91 +8725,36 @@ public uint ArgumentsCount public unsafe partial class Parameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 192)] + [StructLayout(LayoutKind.Sequential, Size = 192)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(168)] internal byte isIndirect; - - [FieldOffset(169)] internal byte hasDefaultValue; - - [FieldOffset(172)] internal uint index; - - [FieldOffset(176)] internal __IntPtr defaultArgument; - - [FieldOffset(184)] internal __IntPtr defaultValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9558,166 +8931,61 @@ public uint Index public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 552)] + [StructLayout(LayoutKind.Sequential, Size = 552)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(424)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(440)] internal byte isReturnIndirect; - - [FieldOffset(441)] internal byte hasThisReturn; - - [FieldOffset(442)] internal byte isConstExpr; - - [FieldOffset(443)] internal byte isVariadic; - - [FieldOffset(444)] internal byte isInline; - - [FieldOffset(445)] internal byte isPure; - - [FieldOffset(446)] internal byte isDeleted; - - [FieldOffset(447)] internal byte isDefaulted; - - [FieldOffset(448)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(452)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(456)] - internal global::Std.BasicString.__Internal mangled; - - [FieldOffset(464)] - internal global::Std.BasicString.__Internal signature; - - [FieldOffset(472)] - internal global::Std.BasicString.__Internal body; - - [FieldOffset(480)] + internal global::Std.BasicString.__Internal Mangled; + internal global::Std.BasicString.__Internal Signature; + internal global::Std.BasicString.__Internal Body; internal __IntPtr bodyStmt; - - [FieldOffset(488)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(520)] internal __IntPtr specializationInfo; - - [FieldOffset(528)] internal __IntPtr instantiatedFrom; - - [FieldOffset(536)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FunctionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -9738,6 +9006,24 @@ public unsafe partial class Function : global::CppSharp.Parser.AST.DeclarationCo [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function15clearParametersEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearParameters(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12getSignatureEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetSignature(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function12setSignatureEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetSignature(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7getBodyEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBody(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function7setBodyEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBody(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Function18getParametersCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetParametersCount(__IntPtr __instance); } @@ -9987,48 +9273,6 @@ public bool IsDefaulted } } - public string Mangled - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); - } - } - - public string Signature - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->signature)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->signature), value); - } - } - - public string Body - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->body)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->body), value); - } - } - public global::CppSharp.Parser.AST.Stmt BodyStmt { get @@ -10099,6 +9343,48 @@ public string Body } } + public string Mangled + { + get + { + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetMangled(__Instance, value); + } + } + + public string Signature + { + get + { + var ___ret = __Internal.GetSignature(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetSignature(__Instance, value); + } + } + + public string Body + { + get + { + var ___ret = __Internal.GetBody(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBody(__Instance, value); + } + } + public uint ParametersCount { get @@ -10111,202 +9397,73 @@ public uint ParametersCount public unsafe partial class Method : global::CppSharp.Parser.AST.Function, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 616)] + [StructLayout(LayoutKind.Sequential, Size = 616)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(424)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal returnType; - - [FieldOffset(440)] internal byte isReturnIndirect; - - [FieldOffset(441)] internal byte hasThisReturn; - - [FieldOffset(442)] internal byte isConstExpr; - - [FieldOffset(443)] internal byte isVariadic; - - [FieldOffset(444)] internal byte isInline; - - [FieldOffset(445)] internal byte isPure; - - [FieldOffset(446)] internal byte isDeleted; - - [FieldOffset(447)] internal byte isDefaulted; - - [FieldOffset(448)] internal global::CppSharp.Parser.AST.FriendKind friendKind; - - [FieldOffset(452)] internal global::CppSharp.Parser.AST.CXXOperatorKind operatorKind; - - [FieldOffset(456)] - internal global::Std.BasicString.__Internal mangled; - - [FieldOffset(464)] - internal global::Std.BasicString.__Internal signature; - - [FieldOffset(472)] - internal global::Std.BasicString.__Internal body; - - [FieldOffset(480)] + internal global::Std.BasicString.__Internal Mangled; + internal global::Std.BasicString.__Internal Signature; + internal global::Std.BasicString.__Internal Body; internal __IntPtr bodyStmt; - - [FieldOffset(488)] internal global::CppSharp.Parser.AST.CallingConvention callingConvention; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(520)] internal __IntPtr specializationInfo; - - [FieldOffset(528)] internal __IntPtr instantiatedFrom; - - [FieldOffset(536)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(552)] internal byte isVirtual; - - [FieldOffset(553)] internal byte isStatic; - - [FieldOffset(554)] internal byte isConst; - - [FieldOffset(555)] internal byte isExplicit; - - [FieldOffset(556)] internal byte isVolatile; - - [FieldOffset(560)] internal global::CppSharp.Parser.AST.CXXMethodKind methodKind; - - [FieldOffset(564)] internal byte isDefaultConstructor; - - [FieldOffset(565)] internal byte isCopyConstructor; - - [FieldOffset(566)] internal byte isMoveConstructor; - - [FieldOffset(568)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal conversionType; - - [FieldOffset(584)] internal global::CppSharp.Parser.AST.RefQualifierKind refQualifier; - - [FieldOffset(592)] internal global::Std.Vector.__Internal OverriddenMethods; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6MethodC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10588,118 +9745,45 @@ public uint OverriddenMethodsCount public unsafe partial class Enumeration : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 464)] + [StructLayout(LayoutKind.Sequential, Size = 464)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(420)] internal global::CppSharp.Parser.AST.Enumeration.EnumModifiers modifiers; - - [FieldOffset(424)] internal __IntPtr type; - - [FieldOffset(432)] internal __IntPtr builtinType; - - [FieldOffset(440)] internal global::Std.Vector.__Internal Items; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11EnumerationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10720,9 +9804,6 @@ public unsafe partial class Enumeration : global::CppSharp.Parser.AST.Declaratio [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration10clearItemsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearItems(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration14FindItemByNameERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindItemByName(__IntPtr __instance, __IntPtr Name); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration13getItemsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetItemsCount(__IntPtr __instance); } @@ -10737,79 +9818,32 @@ public enum EnumModifiers public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] - internal global::Std.BasicString.__Internal expression; - - [FieldOffset(160)] + internal global::Std.BasicString.__Internal Expression; internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -10820,6 +9854,12 @@ public unsafe partial class Item : global::CppSharp.Parser.AST.Declaration, IDis [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4ItemD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11Enumeration4Item13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Item __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -10901,30 +9941,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Expression + public ulong Value { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->value; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->value = value; } } - public ulong Value + public string Expression { get { - return ((__Internal*)__Instance)->value; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->value = value; + __Internal.SetExpression(__Instance, value); } } } @@ -11029,17 +10069,6 @@ public void ClearItems() __Internal.ClearItems(__Instance); } - public global::CppSharp.Parser.AST.Enumeration.Item FindItemByName(string Name) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, Name); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindItemByName(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.Enumeration.Item.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.Enumeration.EnumModifiers Modifiers { get @@ -11093,85 +10122,34 @@ public uint ItemsCount public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 192)] + [StructLayout(LayoutKind.Sequential, Size = 192)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal byte isConstExpr; - - [FieldOffset(160)] - internal global::Std.BasicString.__Internal mangled; - - [FieldOffset(168)] + internal global::Std.BasicString.__Internal Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(184)] internal __IntPtr initializer; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11182,6 +10160,12 @@ public unsafe partial class Variable : global::CppSharp.Parser.AST.Declaration, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8VariableD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10getMangledEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMangled(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8Variable10setMangledEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMangled(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new Variable __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -11276,65 +10260,58 @@ public bool IsConstExpr } } - public string Mangled + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->mangled)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->mangled), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public global::CppSharp.Parser.AST.ExpressionObsolete Initializer { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); + return __result0; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; } } - public global::CppSharp.Parser.AST.ExpressionObsolete Initializer + public string Mangled { get { - var __result0 = global::CppSharp.Parser.AST.ExpressionObsolete.__GetOrCreateInstance(((__Internal*)__Instance)->initializer, false); - return __result0; + var ___ret = __Internal.GetMangled(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->initializer = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetMangled(__Instance, value); } } } public unsafe partial class BaseClassSpecifier : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(4)] internal byte isVirtual; - - [FieldOffset(8)] internal __IntPtr type; - - [FieldOffset(16)] internal int offset; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18BaseClassSpecifierC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11497,85 +10474,34 @@ public int Offset public unsafe partial class Field : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(168)] internal __IntPtr _class; - - [FieldOffset(176)] internal byte isBitField; - - [FieldOffset(180)] internal uint bitWidth; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5FieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11725,73 +10651,30 @@ public uint BitWidth public unsafe partial class AccessSpecifierDecl : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19AccessSpecifierDeclC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -11886,16 +10769,11 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class VTableComponent : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.VTableComponentKind kind; - - [FieldOffset(4)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr declaration; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15VTableComponentC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12045,10 +10923,9 @@ public uint Offset public unsafe partial class VTableLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal Components; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12VTableLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12206,19 +11083,12 @@ public uint ComponentsCount public unsafe partial class VFTableInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal ulong VBTableIndex; - - [FieldOffset(8)] internal uint VFPtrOffset; - - [FieldOffset(12)] internal uint VFPtrFullOffset; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VFTableInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12390,19 +11260,12 @@ public uint VFPtrFullOffset public unsafe partial class LayoutField : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(16)] + internal global::Std.BasicString.__Internal Name; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(32)] internal __IntPtr fieldPtr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12413,6 +11276,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutFieldD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11LayoutField7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -12530,58 +11399,55 @@ public uint Offset } } - public string Name + public global::CppSharp.Parser.AST.QualifiedType QualifiedType { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + if (ReferenceEquals(value, null)) + throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); + ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; } } - public global::CppSharp.Parser.AST.QualifiedType QualifiedType + public __IntPtr FieldPtr { get { - return global::CppSharp.Parser.AST.QualifiedType.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->qualifiedType)); + return ((__Internal*)__Instance)->fieldPtr; } set { - if (ReferenceEquals(value, null)) - throw new global::System.ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((__Internal*)__Instance)->qualifiedType = *(global::CppSharp.Parser.AST.QualifiedType.__Internal*) value.__Instance; + ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; } } - public __IntPtr FieldPtr + public string Name { get { - return ((__Internal*)__Instance)->fieldPtr; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->fieldPtr = (__IntPtr) value; + __Internal.SetName(__Instance, value); } } } public unsafe partial class LayoutBase : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal uint offset; - - [FieldOffset(8)] internal __IntPtr _class; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LayoutBaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -12726,40 +11592,19 @@ public uint Offset public unsafe partial class ClassLayout : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CppAbi ABI; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.RecordArgABI argABI; - - [FieldOffset(8)] internal global::Std.Vector.__Internal VFTables; - - [FieldOffset(32)] internal global::CppSharp.Parser.AST.VTableLayout.__Internal layout; - - [FieldOffset(56)] internal byte hasOwnVFPtr; - - [FieldOffset(64)] internal long VBPtrOffset; - - [FieldOffset(72)] internal int alignment; - - [FieldOffset(76)] internal int size; - - [FieldOffset(80)] internal int dataSize; - - [FieldOffset(88)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Bases; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11ClassLayoutC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13112,154 +11957,57 @@ public uint BasesCount public unsafe partial class Class : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 544)] + [StructLayout(LayoutKind.Sequential, Size = 544)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(424)] internal global::Std.Vector.__Internal Bases; - - [FieldOffset(448)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(472)] internal global::Std.Vector.__Internal Methods; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Specifiers; - - [FieldOffset(520)] internal byte isPOD; - - [FieldOffset(521)] internal byte isAbstract; - - [FieldOffset(522)] internal byte isUnion; - - [FieldOffset(523)] internal byte isDynamic; - - [FieldOffset(524)] internal byte isPolymorphic; - - [FieldOffset(525)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(526)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(527)] internal byte hasNonTrivialDestructor; - - [FieldOffset(528)] internal byte isExternCContext; - - [FieldOffset(529)] internal byte isInjected; - - [FieldOffset(532)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(536)] internal __IntPtr layout; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST5ClassC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -13679,79 +12427,32 @@ public uint SpecifiersCount public unsafe partial class Template : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr TemplatedDecl; - - [FieldOffset(160)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TemplateC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -13919,79 +12620,32 @@ public uint ParametersCount public unsafe partial class TypeAliasTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr TemplatedDecl; - - [FieldOffset(160)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TypeAliasTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14086,82 +12740,33 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class TemplateParameter : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal uint depth; - - [FieldOffset(156)] internal uint index; - - [FieldOffset(160)] internal byte isParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17TemplateParameterC2ENS1_15DeclarationKindE", CallingConvention = __CallingConvention.Cdecl)] @@ -14300,88 +12905,35 @@ public bool IsParameterPack public unsafe partial class TemplateTemplateParameter : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 192)] + [StructLayout(LayoutKind.Sequential, Size = 192)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr TemplatedDecl; - - [FieldOffset(160)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(184)] internal byte isParameterPack; - - [FieldOffset(185)] internal byte isPackExpansion; - - [FieldOffset(186)] internal byte isExpandedParameterPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25TemplateTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14515,85 +13067,34 @@ public bool IsExpandedParameterPack public unsafe partial class TypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 184)] + [StructLayout(LayoutKind.Sequential, Size = 184)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal uint depth; - - [FieldOffset(156)] internal uint index; - - [FieldOffset(160)] internal byte isParameterPack; - - [FieldOffset(168)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal defaultArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21TypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14703,100 +13204,39 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class NonTypeTemplateParameter : global::CppSharp.Parser.AST.TemplateParameter, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 208)] + [StructLayout(LayoutKind.Sequential, Size = 208)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal uint depth; - - [FieldOffset(156)] internal uint index; - - [FieldOffset(160)] internal byte isParameterPack; - - [FieldOffset(168)] internal __IntPtr defaultArgument; - - [FieldOffset(176)] internal __IntPtr defaultArgumentNew; - - [FieldOffset(184)] internal uint position; - - [FieldOffset(188)] internal byte isPackExpansion; - - [FieldOffset(189)] internal byte isExpandedParameterPack; - - [FieldOffset(192)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24NonTypeTemplateParameterC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -14973,82 +13413,33 @@ public bool IsExpandedParameterPack public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 208)] + [StructLayout(LayoutKind.Sequential, Size = 208)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr TemplatedDecl; - - [FieldOffset(160)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15069,12 +13460,6 @@ public unsafe partial class ClassTemplate : global::CppSharp.Parser.AST.Template [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate18FindSpecializationERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate25FindPartialSpecializationERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ClassTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -15179,28 +13564,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.ClassTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.ClassTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -15213,163 +13576,60 @@ public uint SpecializationsCount public unsafe partial class ClassTemplateSpecialization : global::CppSharp.Parser.AST.Class, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 584)] + [StructLayout(LayoutKind.Sequential, Size = 584)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(424)] internal global::Std.Vector.__Internal Bases; - - [FieldOffset(448)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(472)] internal global::Std.Vector.__Internal Methods; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Specifiers; - - [FieldOffset(520)] internal byte isPOD; - - [FieldOffset(521)] internal byte isAbstract; - - [FieldOffset(522)] internal byte isUnion; - - [FieldOffset(523)] internal byte isDynamic; - - [FieldOffset(524)] internal byte isPolymorphic; - - [FieldOffset(525)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(526)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(527)] internal byte hasNonTrivialDestructor; - - [FieldOffset(528)] internal byte isExternCContext; - - [FieldOffset(529)] internal byte isInjected; - - [FieldOffset(532)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(536)] internal __IntPtr layout; - - [FieldOffset(544)] internal __IntPtr templatedDecl; - - [FieldOffset(552)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(576)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27ClassTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15532,166 +13792,61 @@ public uint ArgumentsCount public unsafe partial class ClassTemplatePartialSpecialization : global::CppSharp.Parser.AST.ClassTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 608)] + [StructLayout(LayoutKind.Sequential, Size = 608)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(424)] internal global::Std.Vector.__Internal Bases; - - [FieldOffset(448)] internal global::Std.Vector.__Internal Fields; - - [FieldOffset(472)] internal global::Std.Vector.__Internal Methods; - - [FieldOffset(496)] internal global::Std.Vector.__Internal Specifiers; - - [FieldOffset(520)] internal byte isPOD; - - [FieldOffset(521)] internal byte isAbstract; - - [FieldOffset(522)] internal byte isUnion; - - [FieldOffset(523)] internal byte isDynamic; - - [FieldOffset(524)] internal byte isPolymorphic; - - [FieldOffset(525)] internal byte hasNonTrivialDefaultConstructor; - - [FieldOffset(526)] internal byte hasNonTrivialCopyConstructor; - - [FieldOffset(527)] internal byte hasNonTrivialDestructor; - - [FieldOffset(528)] internal byte isExternCContext; - - [FieldOffset(529)] internal byte isInjected; - - [FieldOffset(532)] internal global::CppSharp.Parser.AST.TagKind tagKind; - - [FieldOffset(536)] internal __IntPtr layout; - - [FieldOffset(544)] internal __IntPtr templatedDecl; - - [FieldOffset(552)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(576)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; - - [FieldOffset(584)] internal global::Std.Vector.__Internal Parameters; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST34ClassTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15828,82 +13983,33 @@ public uint ParametersCount public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 208)] + [StructLayout(LayoutKind.Sequential, Size = 208)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr TemplatedDecl; - - [FieldOffset(160)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -15924,9 +14030,6 @@ public unsafe partial class FunctionTemplate : global::CppSharp.Parser.AST.Templ [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate18FindSpecializationERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16FunctionTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16031,17 +14134,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.FunctionTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.FunctionTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16054,19 +14146,12 @@ public uint SpecializationsCount public unsafe partial class FunctionTemplateSpecialization : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _template; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(32)] internal __IntPtr specializedFunction; - - [FieldOffset(40)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST30FunctionTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16266,82 +14351,33 @@ public uint ArgumentsCount public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 208)] + [StructLayout(LayoutKind.Sequential, Size = 208)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal __IntPtr TemplatedDecl; - - [FieldOffset(160)] internal global::Std.Vector.__Internal Parameters; - - [FieldOffset(184)] internal global::Std.Vector.__Internal Specializations; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16362,12 +14398,6 @@ public unsafe partial class VarTemplate : global::CppSharp.Parser.AST.Template, [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate20clearSpecializationsEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearSpecializations(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate18FindSpecializationERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindSpecialization(__IntPtr __instance, __IntPtr usr); - - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate25FindPartialSpecializationERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindPartialSpecialization(__IntPtr __instance, __IntPtr usr); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11VarTemplate23getSpecializationsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSpecializationsCount(__IntPtr __instance); } @@ -16472,28 +14502,6 @@ public void ClearSpecializations() __Internal.ClearSpecializations(__Instance); } - public global::CppSharp.Parser.AST.VarTemplateSpecialization FindSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplateSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - - public global::CppSharp.Parser.AST.VarTemplatePartialSpecialization FindPartialSpecialization(string usr) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, usr); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindPartialSpecialization(__Instance, __arg0); - __basicString0.Dispose(); - var __result0 = global::CppSharp.Parser.AST.VarTemplatePartialSpecialization.__GetOrCreateInstance(___ret, false); - return __result0; - } - public uint SpecializationsCount { get @@ -16506,94 +14514,37 @@ public uint SpecializationsCount public unsafe partial class VarTemplateSpecialization : global::CppSharp.Parser.AST.Variable, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal byte isConstExpr; - - [FieldOffset(160)] - internal global::Std.BasicString.__Internal mangled; - - [FieldOffset(168)] + internal global::Std.BasicString.__Internal Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(184)] internal __IntPtr initializer; - - [FieldOffset(192)] internal __IntPtr templatedDecl; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25VarTemplateSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16756,94 +14707,37 @@ public uint ArgumentsCount public unsafe partial class VarTemplatePartialSpecialization : global::CppSharp.Parser.AST.VarTemplateSpecialization, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 232)] + [StructLayout(LayoutKind.Sequential, Size = 232)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal byte isConstExpr; - - [FieldOffset(160)] - internal global::Std.BasicString.__Internal mangled; - - [FieldOffset(168)] + internal global::Std.BasicString.__Internal Mangled; internal global::CppSharp.Parser.AST.QualifiedType.__Internal qualifiedType; - - [FieldOffset(184)] internal __IntPtr initializer; - - [FieldOffset(192)] internal __IntPtr templatedDecl; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(224)] internal global::CppSharp.Parser.AST.TemplateSpecializationKind specializationKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32VarTemplatePartialSpecializationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -16938,73 +14832,30 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class UnresolvedUsingTypename : global::CppSharp.Parser.AST.Declaration, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23UnresolvedUsingTypenameC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17099,109 +14950,42 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class Namespace : global::CppSharp.Parser.AST.DeclarationContext, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 424)] + [StructLayout(LayoutKind.Sequential, Size = 424)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(417)] internal byte isInline; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9NamespaceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17309,16 +15093,11 @@ public bool IsInline public unsafe partial class PreprocessedEntity : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18PreprocessedEntityC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17467,28 +15246,15 @@ public __IntPtr OriginalPtr public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internal expression; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internal Name; + internal global::Std.BasicString.__Internal Expression; internal int lineNumberStart; - - [FieldOffset(44)] internal int lineNumberEnd; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17499,6 +15265,18 @@ public unsafe partial class MacroDefinition : global::CppSharp.Parser.AST.Prepro [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinitionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13getExpressionEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetExpression(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15MacroDefinition13setExpressionEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetExpression(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroDefinition __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17580,82 +15358,71 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public int LineNumberStart { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberStart; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->lineNumberStart = value; } } - public string Expression + public int LineNumberEnd { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->expression)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumberEnd; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->expression), value); + ((__Internal*)__Instance)->lineNumberEnd = value; } } - public int LineNumberStart + public string Name { get { - return ((__Internal*)__Instance)->lineNumberStart; + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberStart = value; + __Internal.SetName(__Instance, value); } } - public int LineNumberEnd + public string Expression { get { - return ((__Internal*)__Instance)->lineNumberEnd; + var ___ret = __Internal.GetExpression(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumberEnd = value; + __Internal.SetExpression(__Instance, value); } } } public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.PreprocessedEntity, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.MacroLocation macroLocation; - - [FieldOffset(8)] internal __IntPtr originalPtr; - - [FieldOffset(16)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(24)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(32)] - internal global::Std.BasicString.__Internal text; - - [FieldOffset(40)] + internal global::Std.BasicString.__Internal Name; + internal global::Std.BasicString.__Internal Text; internal __IntPtr definition; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17666,6 +15433,18 @@ public unsafe partial class MacroExpansion : global::CppSharp.Parser.AST.Preproc [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansionD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7getTextEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetText(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14MacroExpansion7setTextEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetText(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MacroExpansion __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -17747,163 +15526,90 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string Name + public global::CppSharp.Parser.AST.MacroDefinition Definition { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->name)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); + return __result0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->name), value); + ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; } } - public string Text + public string Name { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->text)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->text), value); + __Internal.SetName(__Instance, value); } } - public global::CppSharp.Parser.AST.MacroDefinition Definition + public string Text { get { - var __result0 = global::CppSharp.Parser.AST.MacroDefinition.__GetOrCreateInstance(((__Internal*)__Instance)->definition, false); - return __result0; + var ___ret = __Internal.GetText(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->definition = value is null ? __IntPtr.Zero : value.__Instance; + __Internal.SetText(__Instance, value); } } } public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namespace, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 464)] + [StructLayout(LayoutKind.Sequential, Size = 464)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.DeclarationKind kind; - - [FieldOffset(4)] internal int alignAs; - - [FieldOffset(8)] internal int maxFieldAlignment; - - [FieldOffset(12)] internal global::CppSharp.Parser.AST.AccessSpecifier access; - - [FieldOffset(16)] internal __IntPtr _namespace; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(28)] internal int lineNumberStart; - - [FieldOffset(32)] internal int lineNumberEnd; - - [FieldOffset(40)] - internal global::Std.BasicString.__Internal name; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal Name; internal global::Std.BasicString.__Internal USR; - - [FieldOffset(56)] - internal global::Std.BasicString.__Internal debugText; - - [FieldOffset(64)] + internal global::Std.BasicString.__Internal DebugText; internal byte isIncomplete; - - [FieldOffset(65)] internal byte isDependent; - - [FieldOffset(66)] internal byte isImplicit; - - [FieldOffset(67)] internal byte isInvalid; - - [FieldOffset(68)] internal byte isDeprecated; - - [FieldOffset(72)] internal __IntPtr completeDeclaration; - - [FieldOffset(80)] internal uint definitionOrder; - - [FieldOffset(88)] internal global::Std.Vector.__Internal PreprocessedEntities; - - [FieldOffset(112)] internal global::Std.Vector.__Internal Redeclarations; - - [FieldOffset(136)] internal __IntPtr originalPtr; - - [FieldOffset(144)] internal __IntPtr comment; - - [FieldOffset(152)] internal global::Std.Vector.__Internal Namespaces; - - [FieldOffset(176)] internal global::Std.Vector.__Internal Enums; - - [FieldOffset(200)] internal global::Std.Vector.__Internal Functions; - - [FieldOffset(224)] internal global::Std.Vector.__Internal Classes; - - [FieldOffset(248)] internal global::Std.Vector.__Internal Templates; - - [FieldOffset(272)] internal global::Std.Vector.__Internal Typedefs; - - [FieldOffset(296)] internal global::Std.Vector.__Internal TypeAliases; - - [FieldOffset(320)] internal global::Std.Vector.__Internal Variables; - - [FieldOffset(344)] internal global::Std.Vector.__Internal Friends; - - [FieldOffset(368)] internal global::Std.Map.__Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ anonymous; - - [FieldOffset(416)] internal byte isAnonymous; - - [FieldOffset(417)] internal byte isInline; - - [FieldOffset(424)] - internal global::Std.BasicString.__Internal fileName; - - [FieldOffset(432)] + internal global::Std.BasicString.__Internal FileName; internal byte isSystemHeader; - - [FieldOffset(440)] internal global::Std.Vector.__Internal Macros; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnitC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -17924,6 +15630,12 @@ public unsafe partial class TranslationUnit : global::CppSharp.Parser.AST.Namesp [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11clearMacrosEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ClearMacros(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15TranslationUnit14getMacrosCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetMacrosCount(__IntPtr __instance); } @@ -18028,30 +15740,30 @@ public void ClearMacros() __Internal.ClearMacros(__Instance); } - public string FileName + public bool IsSystemHeader { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isSystemHeader != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); } } - public bool IsSystemHeader + public string FileName { get { - return ((__Internal*)__Instance)->isSystemHeader != 0; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isSystemHeader = (byte) (value ? 1 : 0); + __Internal.SetFileName(__Instance, value); } } @@ -18067,10 +15779,9 @@ public uint MacrosCount public unsafe partial class ASTContext : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal TranslationUnits; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18082,9 +15793,6 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContextD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext18FindOrCreateModuleESs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr FindOrCreateModule(__IntPtr __instance, __IntPtr File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ASTContext19getTranslationUnitsEj", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr GetTranslationUnits(__IntPtr __instance, uint i); @@ -18200,17 +15908,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public global::CppSharp.Parser.AST.TranslationUnit FindOrCreateModule(string File) - { - var __basicString0 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString0, File); - var __arg0 = __basicString0.__Instance; - var ___ret = __Internal.FindOrCreateModule(__Instance, __arg0); - __basicString0.Dispose(disposing: true, callNativeDtor:false); - var __result0 = global::CppSharp.Parser.AST.TranslationUnit.__GetOrCreateInstance(___ret, false); - return __result0; - } - public global::CppSharp.Parser.AST.TranslationUnit GetTranslationUnits(uint i) { var ___ret = __Internal.GetTranslationUnits(__Instance, i); @@ -18383,19 +16080,12 @@ public enum StmtClass public unsafe partial class Stmt : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 20)] + [StructLayout(LayoutKind.Sequential, Size = 20)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4StmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18575,28 +16265,15 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class DeclStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal decls; - - [FieldOffset(48)] internal byte isSingleDecl; - - [FieldOffset(56)] internal __IntPtr singleDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8DeclStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18760,25 +16437,14 @@ public uint GetdeclsCount public unsafe partial class NullStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal semiLoc; - - [FieldOffset(24)] internal byte hasLeadingEmptyMacro; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8NullStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -18878,40 +16544,19 @@ public bool HasLeadingEmptyMacro public unsafe partial class CompoundStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal body; - - [FieldOffset(48)] internal byte body_empty; - - [FieldOffset(52)] internal uint size; - - [FieldOffset(56)] internal __IntPtr body_front; - - [FieldOffset(64)] internal __IntPtr body_back; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracLoc; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CompoundStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19128,28 +16773,15 @@ public uint GetbodyCount public unsafe partial class SwitchCase : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchCaseC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19280,43 +16912,20 @@ public SwitchCase(global::CppSharp.Parser.AST.SwitchCase _0) public unsafe partial class CaseStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal caseLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(48)] internal __IntPtr lHS; - - [FieldOffset(56)] internal __IntPtr rHS; - - [FieldOffset(64)] internal byte caseStmtIsGNURange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CaseStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19457,31 +17066,16 @@ public bool CaseStmtIsGNURange public unsafe partial class DefaultStmt : global::CppSharp.Parser.AST.SwitchCase, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(32)] internal __IntPtr subStmt; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DefaultStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19568,28 +17162,15 @@ public DefaultStmt(global::CppSharp.Parser.AST.DefaultStmt _0) public unsafe partial class LabelStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal identLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; - - [FieldOffset(32)] internal __IntPtr name; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9LabelStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19718,25 +17299,14 @@ public string Name public unsafe partial class AttributedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal attrLoc; - - [FieldOffset(24)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14AttributedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -19837,55 +17407,24 @@ public AttributedStmt(global::CppSharp.Parser.AST.AttributedStmt _0) public unsafe partial class IfStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr then; - - [FieldOffset(40)] internal __IntPtr _else; - - [FieldOffset(48)] internal __IntPtr init; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal ifLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal elseLoc; - - [FieldOffset(64)] internal byte _constexpr; - - [FieldOffset(65)] internal byte hasInitStorage; - - [FieldOffset(66)] internal byte hasVarStorage; - - [FieldOffset(67)] internal byte hasElseStorage; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(80)] internal byte isObjCAvailabilityCheck; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6IfStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20120,43 +17659,20 @@ public bool IsObjCAvailabilityCheck public unsafe partial class SwitchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal __IntPtr init; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal switchLoc; - - [FieldOffset(52)] internal byte hasInitStorage; - - [FieldOffset(53)] internal byte hasVarStorage; - - [FieldOffset(56)] internal __IntPtr conditionVariableDeclStmt; - - [FieldOffset(64)] internal byte isAllEnumCasesCovered; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SwitchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20338,34 +17854,17 @@ public bool IsAllEnumCasesCovered public unsafe partial class WhileStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(44)] internal byte hasVarStorage; - - [FieldOffset(48)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9WhileStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20507,34 +18006,17 @@ public bool HasVarStorage public unsafe partial class DoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 56)] + [StructLayout(LayoutKind.Sequential, Size = 56)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr cond; - - [FieldOffset(32)] internal __IntPtr body; - - [FieldOffset(40)] internal global::CppSharp.Parser.SourceLocation.__Internal doLoc; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal whileLoc; - - [FieldOffset(48)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST6DoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20675,43 +18157,20 @@ public DoStmt(global::CppSharp.Parser.AST.DoStmt _0) public unsafe partial class ForStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr cond; - - [FieldOffset(40)] internal __IntPtr inc; - - [FieldOffset(48)] internal __IntPtr body; - - [FieldOffset(56)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(60)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(64)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(72)] internal __IntPtr conditionVariableDeclStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7ForStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -20894,25 +18353,14 @@ public ForStmt(global::CppSharp.Parser.AST.ForStmt _0) public unsafe partial class GotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 28)] + [StructLayout(LayoutKind.Sequential, Size = 28)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8GotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21012,28 +18460,15 @@ public GotoStmt(global::CppSharp.Parser.AST.GotoStmt _0) public unsafe partial class IndirectGotoStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal gotoLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal starLoc; - - [FieldOffset(32)] internal __IntPtr target; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16IndirectGotoStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21147,22 +18582,13 @@ public IndirectGotoStmt(global::CppSharp.Parser.AST.IndirectGotoStmt _0) public unsafe partial class ContinueStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal continueLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ContinueStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21249,22 +18675,13 @@ public ContinueStmt(global::CppSharp.Parser.AST.ContinueStmt _0) public unsafe partial class BreakStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal breakLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BreakStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21351,25 +18768,14 @@ public BreakStmt(global::CppSharp.Parser.AST.BreakStmt _0) public unsafe partial class ReturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr retValue; - - [FieldOffset(32)] internal global::CppSharp.Parser.SourceLocation.__Internal returnLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ReturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21470,46 +18876,21 @@ public ReturnStmt(global::CppSharp.Parser.AST.ReturnStmt _0) public unsafe partial class AsmStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST7AsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21796,49 +19177,22 @@ public uint GetoutputsCount public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21853,22 +19207,13 @@ public unsafe partial class GCCAsmStmt : global::CppSharp.Parser.AST.AsmStmt, ID public unsafe partial class AsmStringPiece : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public partial struct __Internal { - [FieldOffset(0)] internal byte isString; - - [FieldOffset(1)] internal byte isOperand; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal @string; - - [FieldOffset(16)] + internal global::Std.BasicString.__Internal String; internal uint operandNo; - - [FieldOffset(20)] internal sbyte modifier; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -21879,6 +19224,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPieceD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10GCCAsmStmt14AsmStringPiece9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum Kind @@ -22015,43 +19366,43 @@ public bool IsOperand } } - public string String + public uint OperandNo { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->operandNo; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); + ((__Internal*)__Instance)->operandNo = value; } } - public uint OperandNo + public sbyte Modifier { get { - return ((__Internal*)__Instance)->operandNo; + return ((__Internal*)__Instance)->modifier; } set { - ((__Internal*)__Instance)->operandNo = value; + ((__Internal*)__Instance)->modifier = value; } } - public sbyte Modifier + public string String { get { - return ((__Internal*)__Instance)->modifier; + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->modifier = value; + __Internal.SetString(__Instance, value); } } } @@ -22151,59 +19502,26 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal inputs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal outputs; - - [FieldOffset(72)] internal global::CppSharp.Parser.SourceLocation.__Internal asmLoc; - - [FieldOffset(76)] internal byte simple; - - [FieldOffset(77)] internal byte _volatile; - - [FieldOffset(80)] internal uint numOutputs; - - [FieldOffset(84)] internal uint numPlusOperands; - - [FieldOffset(88)] internal uint numInputs; - - [FieldOffset(92)] internal uint numClobbers; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(100)] internal byte hasBraces; - - [FieldOffset(104)] internal uint numAsmToks; - - [FieldOffset(112)] - internal global::Std.BasicString.__Internal asmString; + internal global::Std.BasicString.__Internal AsmString; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -22213,6 +19531,12 @@ public unsafe partial class MSAsmStmt : global::CppSharp.Parser.AST.AsmStmt, IDi [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmtD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12getAsmStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetAsmString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9MSAsmStmt12setAsmStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetAsmString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new MSAsmStmt __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -22337,41 +19661,28 @@ public string AsmString { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->asmString)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + var ___ret = __Internal.GetAsmString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->asmString), value); + __Internal.SetAsmString(__Instance, value); } } } public unsafe partial class SEHExceptStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal exceptLoc; - - [FieldOffset(24)] internal __IntPtr filterExpr; - - [FieldOffset(32)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13SEHExceptStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22486,25 +19797,14 @@ public SEHExceptStmt(global::CppSharp.Parser.AST.SEHExceptStmt _0) public unsafe partial class SEHFinallyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal finallyLoc; - - [FieldOffset(24)] internal __IntPtr block; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SEHFinallyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22605,37 +19905,18 @@ public SEHFinallyStmt(global::CppSharp.Parser.AST.SEHFinallyStmt _0) public unsafe partial class SEHTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal byte isCXXTry; - - [FieldOffset(32)] internal __IntPtr tryBlock; - - [FieldOffset(40)] internal __IntPtr handler; - - [FieldOffset(48)] internal __IntPtr exceptHandler; - - [FieldOffset(56)] internal __IntPtr finallyHandler; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10SEHTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22791,22 +20072,13 @@ public bool IsCXXTry public unsafe partial class SEHLeaveStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal leaveLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12SEHLeaveStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22893,28 +20165,15 @@ public SEHLeaveStmt(global::CppSharp.Parser.AST.SEHLeaveStmt _0) public unsafe partial class CapturedStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::Std.Vector.__Internal capture_inits; - - [FieldOffset(48)] internal __IntPtr capturedStmt; - - [FieldOffset(56)] internal uint capture_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -22949,25 +20208,14 @@ public enum VariableCaptureKind public unsafe partial class Capture : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 12)] + [StructLayout(LayoutKind.Sequential, Size = 12)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.CapturedStmt.VariableCaptureKind captureKind; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(8)] internal byte capturesThis; - - [FieldOffset(9)] internal byte capturesVariable; - - [FieldOffset(10)] internal byte capturesVariableByCopy; - - [FieldOffset(11)] internal byte capturesVariableArrayType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CapturedStmt7CaptureC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23292,28 +20540,15 @@ public uint GetcaptureInitsCount public unsafe partial class CXXCatchStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal catchLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal caughtType; - - [FieldOffset(40)] internal __IntPtr handlerBlock; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXCatchStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23429,28 +20664,15 @@ public CXXCatchStmt(global::CppSharp.Parser.AST.CXXCatchStmt _0) public unsafe partial class CXXTryStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal tryLoc; - - [FieldOffset(24)] internal __IntPtr tryBlock; - - [FieldOffset(32)] internal uint numHandlers; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXTryStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23564,58 +20786,25 @@ public uint NumHandlers public unsafe partial class CXXForRangeStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal __IntPtr init; - - [FieldOffset(32)] internal __IntPtr rangeInit; - - [FieldOffset(40)] internal __IntPtr cond; - - [FieldOffset(48)] internal __IntPtr inc; - - [FieldOffset(56)] internal __IntPtr body; - - [FieldOffset(64)] internal __IntPtr rangeStmt; - - [FieldOffset(72)] internal __IntPtr beginStmt; - - [FieldOffset(80)] internal __IntPtr endStmt; - - [FieldOffset(88)] internal __IntPtr loopVarStmt; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal forLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal coawaitLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXForRangeStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -23867,31 +21056,16 @@ public CXXForRangeStmt(global::CppSharp.Parser.AST.CXXForRangeStmt _0) public unsafe partial class MSDependentExistsStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 40)] + [StructLayout(LayoutKind.Sequential, Size = 40)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(24)] internal byte isIfExists; - - [FieldOffset(25)] internal byte isIfNotExists; - - [FieldOffset(32)] internal __IntPtr subStmt; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21MSDependentExistsStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24018,58 +21192,25 @@ public bool IsIfNotExists public unsafe partial class CoroutineBodyStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte hasDependentPromiseType; - - [FieldOffset(24)] internal __IntPtr body; - - [FieldOffset(32)] internal __IntPtr promiseDeclStmt; - - [FieldOffset(40)] internal __IntPtr initSuspendStmt; - - [FieldOffset(48)] internal __IntPtr finalSuspendStmt; - - [FieldOffset(56)] internal __IntPtr exceptionHandler; - - [FieldOffset(64)] internal __IntPtr fallthroughHandler; - - [FieldOffset(72)] internal __IntPtr allocate; - - [FieldOffset(80)] internal __IntPtr deallocate; - - [FieldOffset(88)] internal __IntPtr returnValueInit; - - [FieldOffset(96)] internal __IntPtr resultDecl; - - [FieldOffset(104)] internal __IntPtr returnStmt; - - [FieldOffset(112)] internal __IntPtr returnStmtOnAllocFailure; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24098,7 +21239,7 @@ public enum SubStmt public unsafe partial class CtorArgs : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CoroutineBodyStmt8CtorArgsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24451,31 +21592,16 @@ public bool HasDependentPromiseType public unsafe partial class CoreturnStmt : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(20)] internal byte isImplicit; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(32)] internal __IntPtr operand; - - [FieldOffset(40)] internal __IntPtr promiseCall; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CoreturnStmtC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24803,61 +21929,26 @@ public enum UnaryExprOrTypeTrait public unsafe partial class Expr : global::CppSharp.Parser.AST.Stmt, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4ExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -24936,31 +22027,16 @@ public enum NullPointerConstantValueDependence public unsafe partial class Classification : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 16)] + [StructLayout(LayoutKind.Sequential, Size = 16)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.Expr.Classification.Kinds kind; - - [FieldOffset(4)] internal global::CppSharp.Parser.AST.Expr.Classification.ModifiableType modifiable; - - [FieldOffset(8)] internal byte isLValue; - - [FieldOffset(9)] internal byte isXValue; - - [FieldOffset(10)] internal byte isGLValue; - - [FieldOffset(11)] internal byte isPRValue; - - [FieldOffset(12)] internal byte isRValue; - - [FieldOffset(13)] internal byte isModifiable; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST4Expr14ClassificationC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25467,64 +22543,27 @@ public bool HasPlaceholderType public unsafe partial class FullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8FullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25629,64 +22668,27 @@ public FullExpr(global::CppSharp.Parser.AST.FullExpr _0) public unsafe partial class ConstantExpr : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12ConstantExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25760,70 +22762,29 @@ public ConstantExpr(global::CppSharp.Parser.AST.ConstantExpr _0) public unsafe partial class OpaqueValueExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isUnique; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal __IntPtr sourceExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15OpaqueValueExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -25937,97 +22898,38 @@ public bool IsUnique public unsafe partial class DeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte hadMultipleCandidates; - - [FieldOffset(81)] internal byte hasQualifier; - - [FieldOffset(88)] internal __IntPtr foundDecl; - - [FieldOffset(96)] internal byte hasTemplateKWAndArgsInfo; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal byte refersToEnclosingVariableOrCapture; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11DeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26258,67 +23160,28 @@ public bool RefersToEnclosingVariableOrCapture public unsafe partial class IntegerLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14IntegerLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26418,67 +23281,28 @@ public ulong Value public unsafe partial class FixedPointLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal ulong value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17FixedPointLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26578,70 +23402,29 @@ public ulong Value public unsafe partial class CharacterLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.CharacterLiteral.CharacterKind kind; - - [FieldOffset(84)] internal uint value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CharacterLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26763,70 +23546,29 @@ public uint Value public unsafe partial class FloatingLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte exact; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal double valueAsApproximateDouble; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15FloatingLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -26939,64 +23681,27 @@ public double ValueAsApproximateDouble public unsafe partial class ImaginaryLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImaginaryLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27084,106 +23789,41 @@ public ImaginaryLiteral(global::CppSharp.Parser.AST.ImaginaryLiteral _0) public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] - internal global::Std.BasicString.__Internal @string; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internal bytes; - - [FieldOffset(96)] + internal global::Std.BasicString.__Internal String; + internal global::Std.BasicString.__Internal Bytes; internal uint byteLength; - - [FieldOffset(100)] internal uint length; - - [FieldOffset(104)] internal uint charByteWidth; - - [FieldOffset(108)] internal global::CppSharp.Parser.AST.StringLiteral.StringKind kind; - - [FieldOffset(112)] internal byte isAscii; - - [FieldOffset(113)] internal byte isWide; - - [FieldOffset(114)] internal byte isUTF8; - - [FieldOffset(115)] internal byte isUTF16; - - [FieldOffset(116)] internal byte isUTF32; - - [FieldOffset(117)] internal byte isPascal; - - [FieldOffset(118)] internal byte containsNonAscii; - - [FieldOffset(119)] internal byte containsNonAsciiOrNull; - - [FieldOffset(120)] internal uint numConcatenated; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27194,6 +23834,18 @@ public unsafe partial class StringLiteral : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteralD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9getStringEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetString(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral9setStringEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetString(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8getBytesEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetBytes(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13StringLiteral8setBytesEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetBytes(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public enum StringKind @@ -27284,34 +23936,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string String - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->@string)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->@string), value); - } - } - - public string Bytes - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->bytes)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->bytes), value); - } - } - public uint ByteLength { get @@ -27480,71 +24104,60 @@ public uint NumConcatenated ((__Internal*)__Instance)->numConcatenated = value; } } + + public string String + { + get + { + var ___ret = __Internal.GetString(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetString(__Instance, value); + } + } + + public string Bytes + { + get + { + var ___ret = __Internal.GetBytes(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetBytes(__Instance, value); + } + } } public unsafe partial class PredefinedExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.PredefinedExpr.IdentKind identKind; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14PredefinedExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27656,70 +24269,29 @@ public PredefinedExpr(global::CppSharp.Parser.AST.PredefinedExpr _0) public unsafe partial class ParenExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParen; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParen; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9ParenExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -27833,94 +24405,37 @@ public ParenExpr(global::CppSharp.Parser.AST.ParenExpr _0) public unsafe partial class UnaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryOperatorKind opcode; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(92)] internal byte canOverflow; - - [FieldOffset(93)] internal byte isPrefix; - - [FieldOffset(94)] internal byte isPostfix; - - [FieldOffset(95)] internal byte isIncrementOp; - - [FieldOffset(96)] internal byte isDecrementOp; - - [FieldOffset(97)] internal byte isIncrementDecrementOp; - - [FieldOffset(98)] internal byte isArithmeticOp; - - [FieldOffset(99)] internal byte isFPContractableWithinStatement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13UnaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28138,73 +24653,30 @@ public bool IsFPContractableWithinStatement public unsafe partial class OffsetOfExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numComponents; - - [FieldOffset(88)] internal uint numExpressions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OffsetOfExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28330,82 +24802,33 @@ public uint NumExpressions public unsafe partial class UnaryExprOrTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.UnaryExprOrTypeTrait kind; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal byte isArgumentType; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal argumentType; - - [FieldOffset(112)] internal __IntPtr argumentExpr; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeOfArgument; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24UnaryExprOrTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28575,76 +24998,31 @@ public bool IsArgumentType public unsafe partial class ArraySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(104)] internal __IntPtr @base; - - [FieldOffset(112)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArraySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -28787,88 +25165,35 @@ public ArraySubscriptExpr(global::CppSharp.Parser.AST.ArraySubscriptExpr _0) public unsafe partial class CallExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29129,100 +25454,39 @@ public uint GetargumentsCount public unsafe partial class MemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte arrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(96)] internal byte hadMultipleCandidates; - - [FieldOffset(97)] internal byte hasQualifier; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(112)] internal byte hasTemplateKeyword; - - [FieldOffset(113)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(116)] internal uint numTemplateArgs; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(124)] internal byte isImplicitAccess; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10MemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29466,70 +25730,29 @@ public bool IsImplicitAccess public unsafe partial class CompoundLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr initializer; - - [FieldOffset(88)] internal byte fileScope; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CompoundLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29643,82 +25866,33 @@ public bool FileScope public unsafe partial class CastExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8CastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -29918,85 +26092,34 @@ public uint PathSize public unsafe partial class ImplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal byte isPartOfExplicitCast; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ImplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30088,85 +26211,34 @@ public bool IsPartOfExplicitCast public unsafe partial class ExplicitCastExpr : global::CppSharp.Parser.AST.CastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExplicitCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30272,91 +26344,36 @@ public ExplicitCastExpr(global::CppSharp.Parser.AST.ExplicitCastExpr _0) public unsafe partial class CStyleCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14CStyleCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30456,118 +26473,45 @@ public CStyleCastExpr(global::CppSharp.Parser.AST.CStyleCastExpr _0) public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internal opcodeStr; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internal OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(113)] internal byte isMultiplicativeOp; - - [FieldOffset(114)] internal byte isAdditiveOp; - - [FieldOffset(115)] internal byte isShiftOp; - - [FieldOffset(116)] internal byte isBitwiseOp; - - [FieldOffset(117)] internal byte isRelationalOp; - - [FieldOffset(118)] internal byte isEqualityOp; - - [FieldOffset(119)] internal byte isComparisonOp; - - [FieldOffset(120)] internal byte isLogicalOp; - - [FieldOffset(121)] internal byte isAssignmentOp; - - [FieldOffset(122)] internal byte isCompoundAssignmentOp; - - [FieldOffset(123)] internal byte isShiftAssignOp; - - [FieldOffset(124)] internal byte isFPContractableWithinStatement; - - [FieldOffset(125)] internal byte isFEnvAccessOn; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -30581,6 +26525,12 @@ public unsafe partial class BinaryOperator : global::CppSharp.Parser.AST.Expr, I [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperatorD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12getOpcodeStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetOpcodeStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14BinaryOperator12setOpcodeStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetOpcodeStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new BinaryOperator __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -30730,20 +26680,6 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string OpcodeStr - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->opcodeStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->opcodeStr), value); - } - } - public bool IsPtrMemOp { get @@ -30925,128 +26861,65 @@ public bool IsFEnvAccessOn ((__Internal*)__Instance)->isFEnvAccessOn = (byte) (value ? 1 : 0); } } + + public string OpcodeStr + { + get + { + var ___ret = __Internal.GetOpcodeStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetOpcodeStr(__Instance, value); + } + } } public unsafe partial class CompoundAssignOperator : global::CppSharp.Parser.AST.BinaryOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.BinaryOperatorKind opcode; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] - internal global::Std.BasicString.__Internal opcodeStr; - - [FieldOffset(112)] + internal global::Std.BasicString.__Internal OpcodeStr; internal byte isPtrMemOp; - - [FieldOffset(113)] internal byte isMultiplicativeOp; - - [FieldOffset(114)] internal byte isAdditiveOp; - - [FieldOffset(115)] internal byte isShiftOp; - - [FieldOffset(116)] internal byte isBitwiseOp; - - [FieldOffset(117)] internal byte isRelationalOp; - - [FieldOffset(118)] internal byte isEqualityOp; - - [FieldOffset(119)] internal byte isComparisonOp; - - [FieldOffset(120)] internal byte isLogicalOp; - - [FieldOffset(121)] internal byte isAssignmentOp; - - [FieldOffset(122)] internal byte isCompoundAssignmentOp; - - [FieldOffset(123)] internal byte isShiftAssignOp; - - [FieldOffset(124)] internal byte isFPContractableWithinStatement; - - [FieldOffset(125)] internal byte isFEnvAccessOn; - - [FieldOffset(128)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationLHSType; - - [FieldOffset(144)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal computationResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CompoundAssignOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31171,76 +27044,31 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class AbstractConditionalOperator : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27AbstractConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31399,82 +27227,33 @@ public AbstractConditionalOperator(global::CppSharp.Parser.AST.AbstractCondition public unsafe partial class ConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr lHS; - - [FieldOffset(120)] internal __IntPtr rHS; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31576,82 +27355,33 @@ public ConditionalOperator(global::CppSharp.Parser.AST.ConditionalOperator _0) public unsafe partial class BinaryConditionalOperator : global::CppSharp.Parser.AST.AbstractConditionalOperator, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr trueExpr; - - [FieldOffset(96)] internal __IntPtr falseExpr; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal questionLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal colonLoc; - - [FieldOffset(112)] internal __IntPtr common; - - [FieldOffset(120)] internal __IntPtr opaqueValue; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25BinaryConditionalOperatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31753,67 +27483,28 @@ public BinaryConditionalOperator(global::CppSharp.Parser.AST.BinaryConditionalOp public unsafe partial class AddrLabelExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal ampAmpLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal labelLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13AddrLabelExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -31913,70 +27604,29 @@ public AddrLabelExpr(global::CppSharp.Parser.AST.AddrLabelExpr _0) public unsafe partial class StmtExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subStmt; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8StmtExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32090,70 +27740,29 @@ public StmtExpr(global::CppSharp.Parser.AST.StmtExpr _0) public unsafe partial class ShuffleVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(84)] internal uint numSubExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ShuffleVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32266,70 +27875,29 @@ public uint NumSubExprs public unsafe partial class ConvertVectorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ConvertVectorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32443,85 +28011,34 @@ public ConvertVectorExpr(global::CppSharp.Parser.AST.ConvertVectorExpr _0) public unsafe partial class ChooseExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isConditionTrue; - - [FieldOffset(80)] internal __IntPtr cond; - - [FieldOffset(88)] internal __IntPtr lHS; - - [FieldOffset(96)] internal __IntPtr rHS; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal byte isConditionDependent; - - [FieldOffset(120)] internal __IntPtr chosenSubExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10ChooseExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32703,64 +28220,27 @@ public bool IsConditionDependent public unsafe partial class GNUNullExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal tokenLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11GNUNullExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -32847,73 +28327,30 @@ public GNUNullExpr(global::CppSharp.Parser.AST.GNUNullExpr _0) public unsafe partial class VAArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal byte isMicrosoftABI; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9VAArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33040,97 +28477,38 @@ public bool IsMicrosoftABI public unsafe partial class InitListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr arrayFiller; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lBraceLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rBraceLoc; - - [FieldOffset(96)] internal __IntPtr syntacticForm; - - [FieldOffset(104)] internal uint numInits; - - [FieldOffset(108)] internal byte hasArrayFiller; - - [FieldOffset(109)] internal byte isExplicit; - - [FieldOffset(110)] internal byte isStringLiteralInit; - - [FieldOffset(111)] internal byte isTransparent; - - [FieldOffset(112)] internal byte isSemanticForm; - - [FieldOffset(120)] internal __IntPtr semanticForm; - - [FieldOffset(128)] internal byte isSyntacticForm; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12InitListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33363,79 +28741,32 @@ public bool IsSyntacticForm public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal equalOrColonLoc; - - [FieldOffset(80)] internal __IntPtr init; - - [FieldOffset(88)] internal uint size; - - [FieldOffset(92)] internal byte usesGNUSyntax; - - [FieldOffset(96)] internal uint numSubExprs; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceRange.__Internal designatorsSourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33447,40 +28778,19 @@ public unsafe partial class DesignatedInitExpr : global::CppSharp.Parser.AST.Exp public unsafe partial class Designator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public partial struct __Internal { - [FieldOffset(0)] internal __IntPtr field; - - [FieldOffset(8)] internal byte isFieldDesignator; - - [FieldOffset(9)] internal byte isArrayDesignator; - - [FieldOffset(10)] internal byte isArrayRangeDesignator; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal dotLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal fieldLoc; - - [FieldOffset(20)] internal global::CppSharp.Parser.SourceLocation.__Internal lBracketLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(28)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(32)] internal uint firstExprIndex; - - [FieldOffset(36)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr10DesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33736,7 +29046,7 @@ public uint FirstExprIndex public unsafe partial class FieldDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr15FieldDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -33846,7 +29156,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class ArrayOrRangeDesignator : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18DesignatedInitExpr22ArrayOrRangeDesignatorC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34099,61 +29409,26 @@ public uint NumSubExprs public unsafe partial class NoInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10NoInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34227,67 +29502,28 @@ public NoInitExpr(global::CppSharp.Parser.AST.NoInitExpr _0) public unsafe partial class DesignatedInitUpdateExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr updater; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24DesignatedInitUpdateExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34389,67 +29625,28 @@ public DesignatedInitUpdateExpr(global::CppSharp.Parser.AST.DesignatedInitUpdate public unsafe partial class ArrayInitLoopExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17ArrayInitLoopExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34551,61 +29748,26 @@ public ArrayInitLoopExpr(global::CppSharp.Parser.AST.ArrayInitLoopExpr _0) public unsafe partial class ArrayInitIndexExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayInitIndexExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34679,61 +29841,26 @@ public ArrayInitIndexExpr(global::CppSharp.Parser.AST.ArrayInitIndexExpr _0) public unsafe partial class ImplicitValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21ImplicitValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34807,70 +29934,29 @@ public ImplicitValueInitExpr(global::CppSharp.Parser.AST.ImplicitValueInitExpr _ public unsafe partial class ParenListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numExprs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13ParenListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -34983,85 +30069,34 @@ public uint NumExprs public unsafe partial class GenericSelectionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numAssocs; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal genericLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal defaultLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(96)] internal __IntPtr controllingExpr; - - [FieldOffset(104)] internal byte isResultDependent; - - [FieldOffset(108)] internal uint resultIndex; - - [FieldOffset(112)] internal __IntPtr resultExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20GenericSelectionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35241,76 +30276,31 @@ public uint ResultIndex public unsafe partial class ExtVectorElementExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal accessorLoc; - - [FieldOffset(92)] internal uint numElements; - - [FieldOffset(96)] internal byte containsDuplicateElements; - - [FieldOffset(97)] internal byte isArrow; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20ExtVectorElementExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35450,67 +30440,28 @@ public bool IsArrow public unsafe partial class BlockExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal caretLocation; - - [FieldOffset(80)] internal __IntPtr body; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST9BlockExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35611,70 +30562,29 @@ public BlockExpr(global::CppSharp.Parser.AST.BlockExpr _0) public unsafe partial class AsTypeExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr srcExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AsTypeExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35788,73 +30698,30 @@ public AsTypeExpr(global::CppSharp.Parser.AST.AsTypeExpr _0) public unsafe partial class PseudoObjectExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr syntacticForm; - - [FieldOffset(88)] internal uint resultExprIndex; - - [FieldOffset(96)] internal __IntPtr resultExpr; - - [FieldOffset(104)] internal uint numSemanticExprs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16PseudoObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -35982,106 +30849,41 @@ public uint NumSemanticExprs public unsafe partial class AtomicExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr ptr; - - [FieldOffset(88)] internal __IntPtr order; - - [FieldOffset(96)] internal __IntPtr scope; - - [FieldOffset(104)] internal __IntPtr val1; - - [FieldOffset(112)] internal __IntPtr orderFail; - - [FieldOffset(120)] internal __IntPtr val2; - - [FieldOffset(128)] internal __IntPtr weak; - - [FieldOffset(136)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal valueType; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.AtomicExpr.AtomicOp op; - - [FieldOffset(156)] internal uint numSubExprs; - - [FieldOffset(160)] internal byte isVolatile; - - [FieldOffset(161)] internal byte isCmpXChg; - - [FieldOffset(162)] internal byte isOpenCL; - - [FieldOffset(164)] internal global::CppSharp.Parser.SourceLocation.__Internal builtinLoc; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10AtomicExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36409,61 +31211,26 @@ public bool IsOpenCL public unsafe partial class TypoExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST8TypoExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36537,100 +31304,39 @@ public TypoExpr(global::CppSharp.Parser.AST.TypoExpr _0) public unsafe partial class CXXOperatorCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.OverloadedOperatorKind _operator; - - [FieldOffset(156)] internal byte isAssignmentOp; - - [FieldOffset(157)] internal byte isInfixBinaryOp; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19CXXOperatorCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36777,94 +31483,37 @@ public bool IsInfixBinaryOp public unsafe partial class CXXMemberCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr implicitObjectArgument; - - [FieldOffset(160)] internal __IntPtr methodDecl; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXMemberCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -36987,91 +31636,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CUDAKernelCallExpr : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal __IntPtr config; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CUDAKernelCallExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37180,97 +31774,38 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXNamedCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXNamedCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37430,97 +31965,38 @@ public string CastName public unsafe partial class CXXStaticCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXStaticCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37594,100 +32070,39 @@ public CXXStaticCastExpr(global::CppSharp.Parser.AST.CXXStaticCastExpr _0) public unsafe partial class CXXDynamicCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; - - [FieldOffset(160)] internal byte isAlwaysNull; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDynamicCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37774,97 +32189,38 @@ public bool IsAlwaysNull public unsafe partial class CXXReinterpretCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXReinterpretCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -37938,97 +32294,38 @@ public CXXReinterpretCastExpr(global::CppSharp.Parser.AST.CXXReinterpretCastExpr public unsafe partial class CXXConstCastExpr : global::CppSharp.Parser.AST.CXXNamedCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 160)] + [StructLayout(LayoutKind.Sequential, Size = 160)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal __IntPtr castName; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(148)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(152)] internal global::CppSharp.Parser.SourceRange.__Internal angleBrackets; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38102,97 +32399,38 @@ public CXXConstCastExpr(global::CppSharp.Parser.AST.CXXConstCastExpr _0) public unsafe partial class UserDefinedLiteral : global::CppSharp.Parser.AST.CallExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 176)] + [StructLayout(LayoutKind.Sequential, Size = 176)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal __IntPtr callee; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(120)] internal __IntPtr calleeDecl; - - [FieldOffset(128)] internal __IntPtr directCallee; - - [FieldOffset(136)] internal uint numArgs; - - [FieldOffset(140)] internal uint numCommas; - - [FieldOffset(144)] internal uint builtinCallee; - - [FieldOffset(148)] internal byte isCallToStdMove; - - [FieldOffset(152)] internal global::CppSharp.Parser.AST.UserDefinedLiteral.LiteralOperatorKind literalOperatorKind; - - [FieldOffset(160)] internal __IntPtr cookedLiteral; - - [FieldOffset(168)] internal global::CppSharp.Parser.SourceLocation.__Internal uDSuffixLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18UserDefinedLiteralC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38337,67 +32575,28 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class CXXBoolLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXBoolLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38497,64 +32696,27 @@ public bool Value public unsafe partial class CXXNullPtrLiteralExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXNullPtrLiteralExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38641,64 +32803,27 @@ public CXXNullPtrLiteralExpr(global::CppSharp.Parser.AST.CXXNullPtrLiteralExpr _ public unsafe partial class CXXStdInitializerListExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25CXXStdInitializerListExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38786,70 +32911,29 @@ public CXXStdInitializerListExpr(global::CppSharp.Parser.AST.CXXStdInitializerLi public unsafe partial class CXXTypeidExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] internal byte isPotentiallyEvaluated; - - [FieldOffset(89)] internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXTypeidExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -38963,73 +33047,30 @@ public bool IsTypeOperand public unsafe partial class MSPropertyRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr baseExpr; - - [FieldOffset(88)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17MSPropertyRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39156,70 +33197,29 @@ public bool IsArrow public unsafe partial class MSPropertySubscriptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rBracketLoc; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal __IntPtr idx; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23MSPropertySubscriptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39334,70 +33334,29 @@ public MSPropertySubscriptExpr(global::CppSharp.Parser.AST.MSPropertySubscriptEx public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr exprOperand; - - [FieldOffset(88)] - internal global::Std.BasicString.__Internal uuidStr; - - [FieldOffset(96)] + internal global::Std.BasicString.__Internal UuidStr; internal byte isTypeOperand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39408,6 +33367,12 @@ public unsafe partial class CXXUuidofExpr : global::CppSharp.Parser.AST.Expr, ID [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExprD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10getUuidStrEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetUuidStr(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXUuidofExpr10setUuidStrEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetUuidStr(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } internal static new CXXUuidofExpr __CreateInstance(__IntPtr native, bool skipVTables = false) @@ -39503,97 +33468,58 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) } } - public string UuidStr + public bool IsTypeOperand { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->uuidStr)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->isTypeOperand != 0; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->uuidStr), value); + ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); } } - public bool IsTypeOperand + public string UuidStr { get { - return ((__Internal*)__Instance)->isTypeOperand != 0; + var ___ret = __Internal.GetUuidStr(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->isTypeOperand = (byte) (value ? 1 : 0); + __Internal.SetUuidStr(__Instance, value); } } } public unsafe partial class CXXThisExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal byte @implicit; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXThisExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39693,70 +33619,29 @@ public bool Implicit public unsafe partial class CXXThrowExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal throwLoc; - - [FieldOffset(92)] internal byte isThrownVariableInScope; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12CXXThrowExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -39870,67 +33755,28 @@ public bool IsThrownVariableInScope public unsafe partial class CXXDefaultArgExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr expr; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal usedLocation; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17CXXDefaultArgExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40031,67 +33877,28 @@ public CXXDefaultArgExpr(global::CppSharp.Parser.AST.CXXDefaultArgExpr _0) public unsafe partial class CXXDefaultInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr field; - - [FieldOffset(88)] internal __IntPtr expr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18CXXDefaultInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40193,64 +34000,27 @@ public CXXDefaultInitExpr(global::CppSharp.Parser.AST.CXXDefaultInitExpr _0) public unsafe partial class CXXBindTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CXXBindTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40338,88 +34108,35 @@ public CXXBindTemporaryExpr(global::CppSharp.Parser.AST.CXXBindTemporaryExpr _0) public unsafe partial class CXXConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16CXXConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40687,70 +34404,29 @@ public uint GetargumentsCount public unsafe partial class CXXInheritedCtorInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte constructsVBase; - - [FieldOffset(74)] internal byte inheritedFromVBase; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24CXXInheritedCtorInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -40863,94 +34539,37 @@ public bool InheritedFromVBase public unsafe partial class CXXFunctionalCastExpr : global::CppSharp.Parser.AST.ExplicitCastExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.AST.CastKind castKind; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal __IntPtr castKindName; - - [FieldOffset(96)] internal __IntPtr subExprAsWritten; - - [FieldOffset(104)] internal __IntPtr conversionFunction; - - [FieldOffset(112)] internal byte path_empty; - - [FieldOffset(116)] internal uint path_size; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(136)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(144)] internal byte isListInitialization; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST21CXXFunctionalCastExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41063,88 +34682,35 @@ public bool IsListInitialization public unsafe partial class CXXTemporaryObjectExpr : global::CppSharp.Parser.AST.CXXConstructExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(108)] internal byte elidable; - - [FieldOffset(109)] internal byte hadMultipleCandidates; - - [FieldOffset(110)] internal byte listInitialization; - - [FieldOffset(111)] internal byte stdInitListInitialization; - - [FieldOffset(112)] internal byte requiresZeroInitialization; - - [FieldOffset(116)] internal global::CppSharp.Parser.SourceRange.__Internal parenOrBraceRange; - - [FieldOffset(124)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXTemporaryObjectExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41239,91 +34805,36 @@ internal protected override void Dispose(bool disposing, bool callNativeDtor) public unsafe partial class LambdaExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal capture_inits; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal captureDefaultLoc; - - [FieldOffset(108)] internal uint capture_size; - - [FieldOffset(112)] internal global::CppSharp.Parser.SourceRange.__Internal introducerRange; - - [FieldOffset(120)] internal __IntPtr callOperator; - - [FieldOffset(128)] internal byte isGenericLambda; - - [FieldOffset(136)] internal __IntPtr body; - - [FieldOffset(144)] internal byte isMutable; - - [FieldOffset(145)] internal byte hasExplicitParameters; - - [FieldOffset(146)] internal byte hasExplicitResultType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10LambdaExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41581,64 +35092,27 @@ public uint GetcaptureInitsCount public unsafe partial class CXXScalarValueInitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST22CXXScalarValueInitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -41725,106 +35199,41 @@ public CXXScalarValueInitExpr(global::CppSharp.Parser.AST.CXXScalarValueInitExpr public unsafe partial class CXXNewExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 200)] + [StructLayout(LayoutKind.Sequential, Size = 200)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal placement_arguments; - - [FieldOffset(104)] internal __IntPtr operatorNew; - - [FieldOffset(112)] internal __IntPtr operatorDelete; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal allocatedType; - - [FieldOffset(136)] internal byte isArray; - - [FieldOffset(144)] internal __IntPtr arraySize; - - [FieldOffset(152)] internal uint numPlacementArgs; - - [FieldOffset(156)] internal byte isParenTypeId; - - [FieldOffset(160)] internal global::CppSharp.Parser.SourceRange.__Internal typeIdParens; - - [FieldOffset(168)] internal byte isGlobalNew; - - [FieldOffset(169)] internal byte hasInitializer; - - [FieldOffset(172)] internal global::CppSharp.Parser.AST.CXXNewExpr.InitializationStyle initializationStyle; - - [FieldOffset(176)] internal __IntPtr initializer; - - [FieldOffset(184)] internal __IntPtr constructExpr; - - [FieldOffset(192)] internal global::CppSharp.Parser.SourceRange.__Internal directInitRange; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST10CXXNewExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42161,79 +35570,32 @@ public uint GetplacementArgumentsCount public unsafe partial class CXXDeleteExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isGlobalDelete; - - [FieldOffset(74)] internal byte isArrayForm; - - [FieldOffset(75)] internal byte isArrayFormAsWritten; - - [FieldOffset(80)] internal __IntPtr operatorDelete; - - [FieldOffset(88)] internal __IntPtr argument; - - [FieldOffset(96)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13CXXDeleteExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42389,85 +35751,34 @@ public bool IsArrayFormAsWritten public unsafe partial class CXXPseudoDestructorExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal byte hasQualifier; - - [FieldOffset(89)] internal byte isArrow; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal colonColonLoc; - - [FieldOffset(100)] internal global::CppSharp.Parser.SourceLocation.__Internal tildeLoc; - - [FieldOffset(104)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal destroyedType; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal destroyedTypeLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST23CXXPseudoDestructorExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42648,67 +35959,28 @@ public bool IsArrow public unsafe partial class TypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 80)] + [StructLayout(LayoutKind.Sequential, Size = 80)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte value; - - [FieldOffset(76)] internal uint numArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST13TypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42808,70 +36080,29 @@ public uint NumArgs public unsafe partial class ArrayTypeTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal queriedType; - - [FieldOffset(96)] internal ulong value; - - [FieldOffset(104)] internal __IntPtr dimensionExpression; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST18ArrayTypeTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -42987,67 +36218,28 @@ public ulong Value public unsafe partial class ExpressionTraitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr queriedExpression; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST19ExpressionTraitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43148,85 +36340,34 @@ public bool Value public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43241,7 +36382,7 @@ public unsafe partial class OverloadExpr : global::CppSharp.Parser.AST.Expr, IDi public unsafe partial class FindResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST12OverloadExpr10FindResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43531,91 +36672,36 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedLookupExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 112)] + [StructLayout(LayoutKind.Sequential, Size = 112)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte requiresADL; - - [FieldOffset(105)] internal byte isOverloaded; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedLookupExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43715,82 +36801,33 @@ public bool IsOverloaded public unsafe partial class DependentScopeDeclRefExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal location; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(92)] internal byte hasTemplateKeyword; - - [FieldOffset(93)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(96)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST25DependentScopeDeclRefExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -43955,70 +36992,29 @@ public uint NumTemplateArgs public unsafe partial class ExprWithCleanups : global::CppSharp.Parser.AST.FullExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr subExpr; - - [FieldOffset(88)] internal uint numObjects; - - [FieldOffset(92)] internal byte cleanupsHaveSideEffects; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST16ExprWithCleanupsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44118,79 +37114,32 @@ public bool CleanupsHaveSideEffects public unsafe partial class CXXUnresolvedConstructExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal global::Std.Vector.__Internal arguments; - - [FieldOffset(104)] internal global::CppSharp.Parser.SourceLocation.__Internal lParenLoc; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(112)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal typeAsWritten; - - [FieldOffset(128)] internal byte isListInitialization; - - [FieldOffset(132)] internal uint arg_size; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST26CXXUnresolvedConstructExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44394,100 +37343,39 @@ public uint GetargumentsCount public unsafe partial class CXXDependentScopeMemberExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 144)] + [StructLayout(LayoutKind.Sequential, Size = 144)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(73)] internal byte isImplicitAccess; - - [FieldOffset(80)] internal __IntPtr @base; - - [FieldOffset(88)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(104)] internal byte isArrow; - - [FieldOffset(108)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(112)] internal __IntPtr firstQualifierFoundInScope; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(128)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(132)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(136)] internal byte hasTemplateKeyword; - - [FieldOffset(137)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(140)] internal uint numTemplateArgs; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST27CXXDependentScopeMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -44734,106 +37622,41 @@ public uint NumTemplateArgs public unsafe partial class UnresolvedMemberExpr : global::CppSharp.Parser.AST.OverloadExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 152)] + [StructLayout(LayoutKind.Sequential, Size = 152)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal uint numDecls; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal templateKeywordLoc; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal lAngleLoc; - - [FieldOffset(92)] internal global::CppSharp.Parser.SourceLocation.__Internal rAngleLoc; - - [FieldOffset(96)] internal byte hasTemplateKeyword; - - [FieldOffset(97)] internal byte hasExplicitTemplateArgs; - - [FieldOffset(100)] internal uint numTemplateArgs; - - [FieldOffset(104)] internal byte isImplicitAccess; - - [FieldOffset(112)] internal __IntPtr @base; - - [FieldOffset(120)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal baseType; - - [FieldOffset(136)] internal byte hasUnresolvedUsing; - - [FieldOffset(137)] internal byte isArrow; - - [FieldOffset(140)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(144)] internal global::CppSharp.Parser.SourceLocation.__Internal memberLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20UnresolvedMemberExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45001,67 +37824,28 @@ public bool IsArrow public unsafe partial class CXXNoexceptExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal byte value; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST15CXXNoexceptExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45162,67 +37946,28 @@ public bool Value public unsafe partial class PackExpansionExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 96)] + [StructLayout(LayoutKind.Sequential, Size = 96)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr pattern; - - [FieldOffset(88)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST17PackExpansionExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45323,79 +38068,32 @@ public PackExpansionExpr(global::CppSharp.Parser.AST.PackExpansionExpr _0) public unsafe partial class SizeOfPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal operatorLoc; - - [FieldOffset(80)] internal global::CppSharp.Parser.SourceLocation.__Internal packLoc; - - [FieldOffset(84)] internal global::CppSharp.Parser.SourceLocation.__Internal rParenLoc; - - [FieldOffset(88)] internal __IntPtr pack; - - [FieldOffset(96)] internal uint packLength; - - [FieldOffset(100)] internal byte isPartiallySubstituted; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST14SizeOfPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45548,67 +38246,28 @@ public bool IsPartiallySubstituted public unsafe partial class SubstNonTypeTemplateParmExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal nameLoc; - - [FieldOffset(80)] internal __IntPtr replacement; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST28SubstNonTypeTemplateParmExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45709,67 +38368,28 @@ public SubstNonTypeTemplateParmExpr(global::CppSharp.Parser.AST.SubstNonTypeTemp public unsafe partial class SubstNonTypeTemplateParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal global::CppSharp.Parser.AST.TemplateArgument.__Internal argumentPack; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST32SubstNonTypeTemplateParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -45871,67 +38491,28 @@ public SubstNonTypeTemplateParmPackExpr(global::CppSharp.Parser.AST.SubstNonType public unsafe partial class FunctionParmPackExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 88)] + [StructLayout(LayoutKind.Sequential, Size = 88)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal parameterPackLocation; - - [FieldOffset(80)] internal uint numExpansions; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20FunctionParmPackExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46031,73 +38612,30 @@ public uint NumExpansions public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr temporary; - - [FieldOffset(88)] internal __IntPtr TemporaryExpr; - - [FieldOffset(96)] internal uint manglingNumber; - - [FieldOffset(100)] internal byte isBoundToLvalueReference; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46109,7 +38647,7 @@ public unsafe partial class MaterializeTemporaryExpr : global::CppSharp.Parser.A public unsafe partial class ExtraState : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST24MaterializeTemporaryExpr10ExtraStateC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46335,85 +38873,34 @@ public bool IsBoundToLvalueReference public unsafe partial class CXXFoldExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr lHS; - - [FieldOffset(88)] internal __IntPtr rHS; - - [FieldOffset(96)] internal byte isRightFold; - - [FieldOffset(97)] internal byte isLeftFold; - - [FieldOffset(104)] internal __IntPtr pattern; - - [FieldOffset(112)] internal __IntPtr init; - - [FieldOffset(120)] internal global::CppSharp.Parser.SourceLocation.__Internal ellipsisLoc; - - [FieldOffset(124)] internal global::CppSharp.Parser.AST.BinaryOperatorKind _operator; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CXXFoldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46595,79 +39082,32 @@ public bool IsLeftFold public unsafe partial class CoroutineSuspendExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 120)] + [StructLayout(LayoutKind.Sequential, Size = 120)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20CoroutineSuspendExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -46850,85 +39290,34 @@ public CoroutineSuspendExpr(global::CppSharp.Parser.AST.CoroutineSuspendExpr _0) public unsafe partial class CoawaitExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 136)] + [StructLayout(LayoutKind.Sequential, Size = 136)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal byte isImplicit; - - [FieldOffset(128)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47029,70 +39418,29 @@ public bool IsImplicit public unsafe partial class DependentCoawaitExpr : global::CppSharp.Parser.AST.Expr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 104)] + [StructLayout(LayoutKind.Sequential, Size = 104)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(80)] internal __IntPtr operand; - - [FieldOffset(88)] internal __IntPtr operatorCoawaitLookup; - - [FieldOffset(96)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST20DependentCoawaitExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47207,82 +39555,33 @@ public DependentCoawaitExpr(global::CppSharp.Parser.AST.DependentCoawaitExpr _0) public unsafe partial class CoyieldExpr : global::CppSharp.Parser.AST.CoroutineSuspendExpr, IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 128)] + [StructLayout(LayoutKind.Sequential, Size = 128)] public new partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.AST.StmtClass stmtClass; - - [FieldOffset(4)] internal global::CppSharp.Parser.SourceRange.__Internal sourceRange; - - [FieldOffset(12)] internal global::CppSharp.Parser.SourceLocation.__Internal beginLoc; - - [FieldOffset(16)] internal global::CppSharp.Parser.SourceLocation.__Internal endLoc; - - [FieldOffset(24)] internal global::CppSharp.Parser.AST.QualifiedType.__Internal type; - - [FieldOffset(40)] internal byte valueDependent; - - [FieldOffset(41)] internal byte typeDependent; - - [FieldOffset(42)] internal byte instantiationDependent; - - [FieldOffset(43)] internal byte containsUnexpandedParameterPack; - - [FieldOffset(44)] internal global::CppSharp.Parser.SourceLocation.__Internal exprLoc; - - [FieldOffset(48)] internal byte isLValue; - - [FieldOffset(49)] internal byte isRValue; - - [FieldOffset(50)] internal byte isXValue; - - [FieldOffset(51)] internal byte isGLValue; - - [FieldOffset(52)] internal byte isOrdinaryOrBitFieldObject; - - [FieldOffset(56)] internal __IntPtr sourceBitField; - - [FieldOffset(64)] internal __IntPtr referencedDeclOfCallee; - - [FieldOffset(72)] internal byte hasPlaceholderType; - - [FieldOffset(76)] internal global::CppSharp.Parser.SourceLocation.__Internal keywordLoc; - - [FieldOffset(80)] internal __IntPtr commonExpr; - - [FieldOffset(88)] internal __IntPtr opaqueValue; - - [FieldOffset(96)] internal __IntPtr readyExpr; - - [FieldOffset(104)] internal __IntPtr suspendExpr; - - [FieldOffset(112)] internal __IntPtr resumeExpr; - - [FieldOffset(120)] internal __IntPtr operand; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser3AST11CoyieldExprC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47392,130 +39691,49 @@ public enum ParserIntType public unsafe partial class ParserTargetInfo : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 168)] + [StructLayout(LayoutKind.Sequential, Size = 168)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.BasicString.__Internal ABI; - - [FieldOffset(8)] internal global::CppSharp.Parser.ParserIntType char16Type; - - [FieldOffset(12)] internal global::CppSharp.Parser.ParserIntType char32Type; - - [FieldOffset(16)] internal global::CppSharp.Parser.ParserIntType int64Type; - - [FieldOffset(20)] internal global::CppSharp.Parser.ParserIntType intMaxType; - - [FieldOffset(24)] internal global::CppSharp.Parser.ParserIntType intPtrType; - - [FieldOffset(28)] internal global::CppSharp.Parser.ParserIntType sizeType; - - [FieldOffset(32)] internal global::CppSharp.Parser.ParserIntType uIntMaxType; - - [FieldOffset(36)] internal global::CppSharp.Parser.ParserIntType wCharType; - - [FieldOffset(40)] internal global::CppSharp.Parser.ParserIntType wIntType; - - [FieldOffset(44)] internal uint boolAlign; - - [FieldOffset(48)] internal uint boolWidth; - - [FieldOffset(52)] internal uint charAlign; - - [FieldOffset(56)] internal uint charWidth; - - [FieldOffset(60)] internal uint char16Align; - - [FieldOffset(64)] internal uint char16Width; - - [FieldOffset(68)] internal uint char32Align; - - [FieldOffset(72)] internal uint char32Width; - - [FieldOffset(76)] internal uint halfAlign; - - [FieldOffset(80)] internal uint halfWidth; - - [FieldOffset(84)] internal uint floatAlign; - - [FieldOffset(88)] internal uint floatWidth; - - [FieldOffset(92)] internal uint doubleAlign; - - [FieldOffset(96)] internal uint doubleWidth; - - [FieldOffset(100)] internal uint shortAlign; - - [FieldOffset(104)] internal uint shortWidth; - - [FieldOffset(108)] internal uint intAlign; - - [FieldOffset(112)] internal uint intWidth; - - [FieldOffset(116)] internal uint intMaxTWidth; - - [FieldOffset(120)] internal uint longAlign; - - [FieldOffset(124)] internal uint longWidth; - - [FieldOffset(128)] internal uint longDoubleAlign; - - [FieldOffset(132)] internal uint longDoubleWidth; - - [FieldOffset(136)] internal uint longLongAlign; - - [FieldOffset(140)] internal uint longLongWidth; - - [FieldOffset(144)] internal uint pointerAlign; - - [FieldOffset(148)] internal uint pointerWidth; - - [FieldOffset(152)] internal uint wCharAlign; - - [FieldOffset(156)] internal uint wCharWidth; - - [FieldOffset(160)] internal uint float128Align; - - [FieldOffset(164)] internal uint float128Width; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -47526,6 +39744,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfoD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6getABIEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetABI(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserTargetInfo6setABIEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetABI(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -47630,20 +39854,6 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string ABI - { - get - { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->ABI)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); - } - - set - { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->ABI), value); - } - } - public global::CppSharp.Parser.ParserIntType Char16Type { get @@ -48163,6 +40373,20 @@ public uint Float128Width ((__Internal*)__Instance)->float128Width = value; } } + + public string ABI + { + get + { + var ___ret = __Internal.GetABI(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetABI(__Instance, value); + } + } } } } @@ -48268,72 +40492,32 @@ protected Parser(void* native, bool skipVTables = false) public unsafe partial class CppParserOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 256)] + [StructLayout(LayoutKind.Sequential, Size = 264)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internal CompilationOptions; - - [FieldOffset(48)] + internal global::Std.BasicString.__Internal LibraryFile; internal global::Std.Vector.__Internal SourceFiles; - - [FieldOffset(72)] internal global::Std.Vector.__Internal IncludeDirs; - - [FieldOffset(96)] internal global::Std.Vector.__Internal SystemIncludeDirs; - - [FieldOffset(120)] internal global::Std.Vector.__Internal Defines; - - [FieldOffset(144)] internal global::Std.Vector.__Internal Undefines; - - [FieldOffset(168)] internal global::Std.Vector.__Internal SupportedStdTypes; - - [FieldOffset(192)] internal global::Std.Vector.__Internal SupportedFunctionTemplates; - - [FieldOffset(216)] internal __IntPtr ASTContext; - - [FieldOffset(224)] internal int toolSetToUse; - - [FieldOffset(232)] - internal global::Std.BasicString.__Internal targetTriple; - - [FieldOffset(240)] + internal global::Std.BasicString.__Internal TargetTriple; + internal global::CppSharp.Parser.AST.CppAbi abi; internal byte noStandardIncludes; - - [FieldOffset(241)] internal byte noBuiltinIncludes; - - [FieldOffset(242)] internal byte microsoftMode; - - [FieldOffset(243)] internal byte verbose; - - [FieldOffset(244)] internal byte unityBuild; - - [FieldOffset(245)] internal byte skipPrivateDeclarations; - - [FieldOffset(246)] internal byte skipLayoutInfo; - - [FieldOffset(247)] internal byte skipFunctionBodies; - [FieldOffset(248)] - internal global::Std.BasicString.__Internal clangVersion; - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void ctor(__IntPtr __instance); @@ -48425,7 +40609,7 @@ public partial struct __Internal internal static extern void ClearSupportedFunctionTemplates(__IntPtr __instance); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getClangVersionEv", CallingConvention = __CallingConvention.Cdecl)] - internal static extern void GetClangVersion(__IntPtr @return, __IntPtr __instance); + internal static extern __IntPtr GetClangVersion(); [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions17getArgumentsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetArgumentsCount(__IntPtr __instance); @@ -48433,6 +40617,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions26getCompilationOptionsCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetCompilationOptionsCount(__IntPtr __instance); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14getLibraryFileEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetLibraryFile(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions14setLibraryFileEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetLibraryFile(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions19getSourceFilesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSourceFilesCount(__IntPtr __instance); @@ -48453,6 +40643,12 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions34getSupportedFunctionTemplatesCountEv", CallingConvention = __CallingConvention.Cdecl)] internal static extern uint GetSupportedFunctionTemplatesCount(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15getTargetTripleEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetTargetTriple(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppParserOptions15setTargetTripleEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetTargetTriple(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -48728,17 +40924,16 @@ public int ToolSetToUse } } - public string TargetTriple + public global::CppSharp.Parser.AST.CppAbi Abi { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->targetTriple)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->abi; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->targetTriple), value); + ((__Internal*)__Instance)->abi = value; } } @@ -48846,16 +41041,12 @@ public bool SkipFunctionBodies } } - public string ClangVersion + public static string ClangVersion { get { - var ___ret = new global::Std.BasicString.__Internal(); - __Internal.GetClangVersion(new IntPtr(&___ret), __Instance); - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&___ret)); - var __retString0 = global::Std.BasicStringExtensions.Data(__basicStringRet0); - __basicStringRet0.Dispose(); - return __retString0; + var ___ret = __Internal.GetClangVersion(); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } } @@ -48877,6 +41068,20 @@ public uint CompilationOptionsCount } } + public string LibraryFile + { + get + { + var ___ret = __Internal.GetLibraryFile(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetLibraryFile(__Instance, value); + } + } + public uint SourceFilesCount { get @@ -48939,20 +41144,29 @@ public uint SupportedFunctionTemplatesCount return ___ret; } } + + public string TargetTriple + { + get + { + var ___ret = __Internal.GetTargetTriple(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); + } + + set + { + __Internal.SetTargetTriple(__Instance, value); + } + } } public unsafe partial class CppLinkerOptions : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 72)] + [StructLayout(LayoutKind.Sequential, Size = 72)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.Vector.__Internal Arguments; - - [FieldOffset(24)] internal global::Std.Vector.__Internal LibraryDirs; - - [FieldOffset(48)] internal global::Std.Vector.__Internal Libraries; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16CppLinkerOptionsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49181,22 +41395,13 @@ public uint LibrariesCount public unsafe partial class ParserDiagnostic : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] - internal global::Std.BasicString.__Internal fileName; - - [FieldOffset(8)] - internal global::Std.BasicString.__Internal message; - - [FieldOffset(16)] + internal global::Std.BasicString.__Internal FileName; + internal global::Std.BasicString.__Internal Message; internal global::CppSharp.Parser.ParserDiagnosticLevel level; - - [FieldOffset(20)] internal int lineNumber; - - [FieldOffset(24)] internal int columnNumber; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49207,6 +41412,18 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnosticD2Ev", CallingConvention = __CallingConvention.Cdecl)] internal static extern void dtor(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11getFileNameEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetFileName(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic11setFileNameEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetFileName(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10getMessageEv", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr GetMessage(__IntPtr __instance); + + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser16ParserDiagnostic10setMessageEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern void SetMessage(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string s); } public __IntPtr __Instance { get; protected set; } @@ -49311,89 +41528,82 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) __Instance = IntPtr.Zero; } - public string FileName + public global::CppSharp.Parser.ParserDiagnosticLevel Level { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->fileName)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->level; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->fileName), value); + ((__Internal*)__Instance)->level = value; } } - public string Message + public int LineNumber { get { - var __basicStringRet0 = global::Std.BasicString, global::Std.Allocator>.__CreateInstance(new __IntPtr(&((__Internal*)__Instance)->message)); - return global::Std.BasicStringExtensions.Data(__basicStringRet0); + return ((__Internal*)__Instance)->lineNumber; } set { - global::Std.BasicStringExtensions.__Internal.Assign(new __IntPtr(&((__Internal*)__Instance)->message), value); + ((__Internal*)__Instance)->lineNumber = value; } } - public global::CppSharp.Parser.ParserDiagnosticLevel Level + public int ColumnNumber { get { - return ((__Internal*)__Instance)->level; + return ((__Internal*)__Instance)->columnNumber; } set { - ((__Internal*)__Instance)->level = value; + ((__Internal*)__Instance)->columnNumber = value; } } - public int LineNumber + public string FileName { get { - return ((__Internal*)__Instance)->lineNumber; + var ___ret = __Internal.GetFileName(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->lineNumber = value; + __Internal.SetFileName(__Instance, value); } } - public int ColumnNumber + public string Message { get { - return ((__Internal*)__Instance)->columnNumber; + var ___ret = __Internal.GetMessage(__Instance); + return CppSharp.Runtime.MarshalUtil.GetString(global::System.Text.Encoding.UTF8, ___ret); } set { - ((__Internal*)__Instance)->columnNumber = value; + __Internal.SetMessage(__Instance, value); } } } public unsafe partial class ParserResult : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 64)] + [StructLayout(LayoutKind.Sequential, Size = 64)] public partial struct __Internal { - [FieldOffset(0)] internal global::CppSharp.Parser.ParserResultKind kind; - - [FieldOffset(8)] internal global::Std.Vector.__Internal Diagnostics; - - [FieldOffset(32)] internal global::Std.Vector.__Internal Libraries; - - [FieldOffset(56)] internal __IntPtr targetInfo; [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser12ParserResultC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -49623,7 +41833,7 @@ public uint LibrariesCount public unsafe partial class ClangParser : IDisposable { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParserC2ERKS1_", CallingConvention = __CallingConvention.Cdecl)] @@ -49635,14 +41845,14 @@ public partial struct __Internal [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser12ParseLibraryEPNS0_16CppLinkerOptionsE", CallingConvention = __CallingConvention.Cdecl)] internal static extern __IntPtr ParseLibrary(__IntPtr Opts); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKSsb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser5BuildEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Build(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsERKSs", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Compile(__IntPtr Opts, __IntPtr File); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser7CompileEPNS0_16CppParserOptionsEPKc", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Compile(__IntPtr Opts, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File); - [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsERKSsb", CallingConvention = __CallingConvention.Cdecl)] - internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, __IntPtr File, bool Last); + [SuppressUnmanagedCodeSecurity, DllImport("CppSharp.CppParser", EntryPoint = "_ZN8CppSharp9CppParser11ClangParser4LinkEPNS0_16CppParserOptionsEPKNS0_16CppLinkerOptionsEPKcb", CallingConvention = __CallingConvention.Cdecl)] + internal static extern __IntPtr Link(__IntPtr Opts, __IntPtr LinkerOptions, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string File, bool Last); } public __IntPtr __Instance { get; protected set; } @@ -49761,11 +41971,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Build(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Build(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49773,11 +41979,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) public static global::CppSharp.Parser.ParserResult Compile(global::CppSharp.Parser.CppParserOptions Opts, string File) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; - var __basicString1 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString1, File); - var __arg1 = __basicString1.__Instance; - var ___ret = __Internal.Compile(__arg0, __arg1); - __basicString1.Dispose(); + var ___ret = __Internal.Compile(__arg0, File); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49786,11 +41988,7 @@ internal protected virtual void Dispose(bool disposing, bool callNativeDtor) { var __arg0 = Opts is null ? __IntPtr.Zero : Opts.__Instance; var __arg1 = LinkerOptions is null ? __IntPtr.Zero : LinkerOptions.__Instance; - var __basicString2 = new global::Std.BasicString, global::Std.Allocator>(); - global::Std.BasicStringExtensions.Assign(__basicString2, File); - var __arg2 = __basicString2.__Instance; - var ___ret = __Internal.Link(__arg0, __arg1, __arg2, Last); - __basicString2.Dispose(); + var ___ret = __Internal.Link(__arg0, __arg1, File, Last); var __result0 = global::CppSharp.Parser.ParserResult.__GetOrCreateInstance(___ret, false); return __result0; } @@ -49804,24 +42002,18 @@ namespace RbTree { namespace RbTreeImpl { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public unsafe partial struct __Internalc__N_std_S__Rb_tree____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3__S__Rb_tree_impl__S7__Vb1 { - [FieldOffset(0)] internal global::Std.Less.__Internal _M_key_compare; - - [FieldOffset(8)] internal global::Std.RbTreeNodeBase.__Internal _M_header; - - [FieldOffset(40)] internal ulong _M_node_count; } } - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public unsafe partial struct __Internalc__N_std_S__Rb_tree____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3_ { - [FieldOffset(0)] internal global::Std.RbTree.RbTreeImpl.__Internalc__N_std_S__Rb_tree____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3__S__Rb_tree_impl__S7__Vb1 _M_impl; } } @@ -49831,10 +42023,9 @@ namespace Std { namespace Map { - [StructLayout(LayoutKind.Explicit, Size = 48)] + [StructLayout(LayoutKind.Sequential, Size = 48)] public unsafe partial struct __Internalc__N_std_S_map____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_less__S0____N_std_S_allocator____N_std_S_pair__1S0__S3_ { - [FieldOffset(0)] internal global::Std.RbTree.__Internalc__N_std_S__Rb_tree____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S_pair__1S0_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Select1st__S3____N_std_S_less__S0____N_std_S_allocator__S3_ _M_t; } } diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp index e2f189891..fc98a8528 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp @@ -1,5 +1,5 @@ #define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -#define _LIBCPP_HAS_NO_EXCEPTIONS +#define _LIBCPP_HIDE_FROM_ABI #include #include 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 f4c50742d..55496aa49 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs @@ -22,7 +22,7 @@ namespace Std { namespace Allocator { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSaIcEC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -146,35 +146,28 @@ namespace Std { namespace Vector { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal global::Std.VectorBase.VectorImpl.__Internal _M_impl; } } namespace VectorBase { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal global::Std.VectorBase.VectorImpl.__Internal _M_impl; } namespace VectorImpl { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _M_start; - - [FieldOffset(8)] internal __IntPtr _M_finish; - - [FieldOffset(16)] internal __IntPtr _M_end_of_storage; } @@ -182,16 +175,11 @@ public unsafe partial struct __Internal namespace VectorImplData { - [StructLayout(LayoutKind.Explicit, Size = 24)] + [StructLayout(LayoutKind.Sequential, Size = 24)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _M_start; - - [FieldOffset(8)] internal __IntPtr _M_finish; - - [FieldOffset(16)] internal __IntPtr _M_end_of_storage; } } @@ -203,7 +191,7 @@ namespace Std { namespace Less { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -218,19 +206,12 @@ public enum RbTreeColor : uint public unsafe partial class RbTreeNodeBase { - [StructLayout(LayoutKind.Explicit, Size = 32)] + [StructLayout(LayoutKind.Sequential, Size = 32)] public partial struct __Internal { - [FieldOffset(0)] internal global::Std.RbTreeColor _M_color; - - [FieldOffset(8)] internal __IntPtr _M_parent; - - [FieldOffset(16)] internal __IntPtr _M_left; - - [FieldOffset(24)] internal __IntPtr _M_right; } } @@ -252,7 +233,7 @@ namespace Std { namespace CharTraits { - [StructLayout(LayoutKind.Explicit, Size = 1)] + [StructLayout(LayoutKind.Sequential, Size = 1)] public unsafe partial struct __Internal { } @@ -347,10 +328,9 @@ namespace Std { namespace BasicString { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal global::Std.BasicString.AllocHider.__Internal _M_dataplus; [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSsC2Ev", CallingConvention = __CallingConvention.Cdecl)] @@ -362,10 +342,9 @@ public unsafe partial struct __Internal namespace AllocHider { - [StructLayout(LayoutKind.Explicit, Size = 8)] + [StructLayout(LayoutKind.Sequential, Size = 8)] public unsafe partial struct __Internal { - [FieldOffset(0)] internal __IntPtr _M_p; } } diff --git a/src/CppParser/Comments.cpp b/src/CppParser/Comments.cpp index 288358266..a934b782c 100644 --- a/src/CppParser/Comments.cpp +++ b/src/CppParser/Comments.cpp @@ -41,8 +41,8 @@ RawComment* Parser::WalkRawComment(const clang::RawComment* RC) auto& SM = c->getSourceManager(); auto Comment = new RawComment(); Comment->kind = ConvertRawCommentKind(RC->getKind()); - Comment->text = RC->getRawText(SM).str(); - Comment->briefText = RC->getBriefText(c->getASTContext()); + Comment->Text = RC->getRawText(SM).str(); + Comment->BriefText = RC->getBriefText(c->getASTContext()); return Comment; } @@ -96,7 +96,7 @@ static void HandleBlockCommand(const clang::comments::BlockCommandComment *CK, for (unsigned I = 0, E = CK->getNumArgs(); I != E; ++I) { auto Arg = BlockCommandComment::Argument(); - Arg.text = CK->getArgText(I).str(); + Arg.Text = CK->getArgText(I).str(); BC->Arguments.push_back(Arg); } } @@ -174,7 +174,7 @@ static Comment* ConvertCommentBlock(clang::comments::Comment* C) auto CK = cast(C); auto VL = new VerbatimLineComment(); _Comment = VL; - VL->text = CK->getText().str(); + VL->Text = CK->getText().str(); break; } case Comment::ParagraphCommentKind: @@ -196,13 +196,13 @@ static Comment* ConvertCommentBlock(clang::comments::Comment* C) auto TC = new HTMLStartTagComment(); _Comment = TC; HandleInlineContent(CK, TC); - TC->tagName = CK->getTagName().str(); + TC->TagName = CK->getTagName().str(); for (unsigned I = 0, E = CK->getNumAttrs(); I != E; ++I) { auto A = CK->getAttr(I); auto Attr = HTMLStartTagComment::Attribute(); - Attr.name = A.Name.str(); - Attr.value = A.Value.str(); + Attr.Name = A.Name.str(); + Attr.Value = A.Value.str(); TC->Attributes.push_back(Attr); } break; @@ -213,7 +213,7 @@ static Comment* ConvertCommentBlock(clang::comments::Comment* C) auto TC = new HTMLEndTagComment(); _Comment = TC; HandleInlineContent(CK, TC); - TC->tagName = CK->getTagName().str(); + TC->TagName = CK->getTagName().str(); break; } case Comment::TextCommentKind: @@ -222,7 +222,7 @@ static Comment* ConvertCommentBlock(clang::comments::Comment* C) auto TC = new TextComment(); _Comment = TC; HandleInlineContent(CK, TC); - TC->text = CK->getText().str(); + TC->Text = CK->getText().str(); break; } case Comment::InlineCommandCommentKind: @@ -236,7 +236,7 @@ static Comment* ConvertCommentBlock(clang::comments::Comment* C) for (unsigned I = 0, E = CK->getNumArgs(); I != E; ++I) { auto Arg = InlineCommandComment::Argument(); - Arg.text = CK->getArgText(I).str(); + Arg.Text = CK->getArgText(I).str(); IC->Arguments.push_back(Arg); } break; @@ -246,7 +246,7 @@ static Comment* ConvertCommentBlock(clang::comments::Comment* C) auto CK = cast(C); auto VL = new VerbatimBlockLineComment(); _Comment = VL; - VL->text = CK->getText().str(); + VL->Text = CK->getText().str(); break; } case Comment::NoCommentKind: return nullptr; diff --git a/src/CppParser/CppParser.cpp b/src/CppParser/CppParser.cpp index d6c1f7b36..276bf0a8b 100644 --- a/src/CppParser/CppParser.cpp +++ b/src/CppParser/CppParser.cpp @@ -23,16 +23,19 @@ CppParserOptions::CppParserOptions() , skipPrivateDeclarations(true) , skipLayoutInfo(false) , skipFunctionBodies(true) - , clangVersion(CLANG_VERSION_STRING) { } CppParserOptions::~CppParserOptions() {} -std::string CppParserOptions::getClangVersion() { return clangVersion; } +const char * CppParserOptions::getClangVersion() +{ + return CLANG_VERSION_STRING; +} DEF_VECTOR_STRING(CppParserOptions, Arguments) DEF_VECTOR_STRING(CppParserOptions, CompilationOptions) +DEF_STRING(CppParserOptions, LibraryFile) DEF_VECTOR_STRING(CppParserOptions, SourceFiles) DEF_VECTOR_STRING(CppParserOptions, IncludeDirs) DEF_VECTOR_STRING(CppParserOptions, SystemIncludeDirs) @@ -40,6 +43,8 @@ DEF_VECTOR_STRING(CppParserOptions, Defines) DEF_VECTOR_STRING(CppParserOptions, Undefines) DEF_VECTOR_STRING(CppParserOptions, SupportedStdTypes) DEF_VECTOR_STRING(CppParserOptions, SupportedFunctionTemplates) +DEF_STRING(CppParserOptions, TargetTriple) +DEF_STRING(ParserTargetInfo, ABI) ParserResult::ParserResult() : targetInfo(0) @@ -77,8 +82,8 @@ DEF_VECTOR_STRING(CppLinkerOptions, Libraries) ParserDiagnostic::ParserDiagnostic() {} ParserDiagnostic::ParserDiagnostic(const ParserDiagnostic& rhs) - : fileName(rhs.fileName) - , message(rhs.message) + : FileName(rhs.FileName) + , Message(rhs.Message) , level(rhs.level) , lineNumber(rhs.lineNumber) , columnNumber(rhs.columnNumber) @@ -86,4 +91,7 @@ ParserDiagnostic::ParserDiagnostic(const ParserDiagnostic& rhs) ParserDiagnostic::~ParserDiagnostic() {} +DEF_STRING(ParserDiagnostic, FileName) +DEF_STRING(ParserDiagnostic, Message) + } } \ No newline at end of file diff --git a/src/CppParser/CppParser.h b/src/CppParser/CppParser.h index f0e479cfd..17c515e80 100644 --- a/src/CppParser/CppParser.h +++ b/src/CppParser/CppParser.h @@ -23,10 +23,12 @@ struct CS_API CppParserOptions CppParserOptions(); ~CppParserOptions(); - std::string getClangVersion(); + static const char * getClangVersion(); VECTOR_STRING(Arguments) VECTOR_STRING(CompilationOptions) + + STRING(LibraryFile) // C/C++ header file names. VECTOR_STRING(SourceFiles) @@ -41,7 +43,8 @@ struct CS_API CppParserOptions CppSharp::CppParser::AST::ASTContext* ASTContext; int toolSetToUse; - std::string targetTriple; + STRING(TargetTriple) + CppAbi abi; bool noStandardIncludes; bool noBuiltinIncludes; @@ -51,9 +54,6 @@ struct CS_API CppParserOptions bool skipPrivateDeclarations; bool skipLayoutInfo; bool skipFunctionBodies; - -private: - std::string clangVersion; }; struct CS_API CppLinkerOptions @@ -80,8 +80,8 @@ struct CS_API ParserDiagnostic ParserDiagnostic(); ParserDiagnostic(const ParserDiagnostic&); ~ParserDiagnostic(); - std::string fileName; - std::string message; + STRING(FileName) + STRING(Message) ParserDiagnosticLevel level { ParserDiagnosticLevel::Ignored }; int lineNumber {0}; int columnNumber {0}; @@ -124,10 +124,10 @@ class CS_API ClangParser static ParserResult* ParseHeader(CppParserOptions* Opts); static ParserResult* ParseLibrary(CppLinkerOptions* Opts); static ParserResult* Build(CppParserOptions* Opts, - const CppLinkerOptions* LinkerOptions, const std::string& File, bool Last); - static ParserResult* Compile(CppParserOptions* Opts, const std::string& File); + const CppLinkerOptions* LinkerOptions, const char * File, bool Last); + static ParserResult* Compile(CppParserOptions* Opts, const char * File); static ParserResult* Link(CppParserOptions* Opts, - const CppLinkerOptions* LinkerOptions, const std::string& File, bool Last); + const CppLinkerOptions* LinkerOptions, const char * File, bool Last); }; } } \ No newline at end of file diff --git a/src/CppParser/Decl.h b/src/CppParser/Decl.h index 99c972eb0..e3c8300d9 100644 --- a/src/CppParser/Decl.h +++ b/src/CppParser/Decl.h @@ -84,9 +84,9 @@ namespace CppSharp SourceLocation location; int lineNumberStart; int lineNumberEnd; - std::string name; - std::string USR; - std::string debugText; + STRING(Name); + STRING(USR); + STRING(DebugText); bool isIncomplete; bool isDependent; bool isImplicit; @@ -207,16 +207,16 @@ namespace CppSharp class CS_API StatementObsolete { public: - StatementObsolete(const std::string &str, StatementClassObsolete Class = StatementClassObsolete::Any, Declaration *decl = 0); + CS_IGNORE StatementObsolete(const std::string& str, StatementClassObsolete Class = StatementClassObsolete::Any, Declaration *decl = 0); StatementClassObsolete _class; Declaration *decl; - std::string string; + STRING(String); }; class CS_API ExpressionObsolete : public StatementObsolete { public: - ExpressionObsolete(const std::string &str, StatementClassObsolete Class = StatementClassObsolete::Any, Declaration *decl = 0); + CS_IGNORE ExpressionObsolete(const std::string& str, StatementClassObsolete Class = StatementClassObsolete::Any, Declaration *decl = 0); }; class Expr; @@ -224,17 +224,17 @@ namespace CppSharp class CS_API BinaryOperatorObsolete : public ExpressionObsolete { public: - BinaryOperatorObsolete(const std::string &str, ExpressionObsolete *lhs, ExpressionObsolete *rhs, const std::string &opcodeStr); + BinaryOperatorObsolete(const std::string& str, ExpressionObsolete *lhs, ExpressionObsolete *rhs, const std::string& opcodeStr); ~BinaryOperatorObsolete(); ExpressionObsolete *LHS; ExpressionObsolete *RHS; - std::string opcodeStr; + STRING(OpcodeStr); }; class CS_API CallExprObsolete : public ExpressionObsolete { public: - CallExprObsolete(const std::string &str, Declaration *decl); + CallExprObsolete(const char* str, Declaration *decl); ~CallExprObsolete(); VECTOR(ExpressionObsolete *, Arguments) }; @@ -242,7 +242,7 @@ namespace CppSharp class CS_API CXXConstructExprObsolete : public ExpressionObsolete { public: - CXXConstructExprObsolete(const std::string &str, Declaration *decl = 0); + CXXConstructExprObsolete(const char* str, Declaration *decl = 0); ~CXXConstructExprObsolete(); VECTOR(ExpressionObsolete *, Arguments) }; @@ -350,9 +350,9 @@ namespace CppSharp bool isDefaulted; FriendKind friendKind; CXXOperatorKind operatorKind; - std::string mangled; - std::string signature; - std::string body; + STRING(Mangled); + STRING(Signature); + STRING(Body); Stmt *bodyStmt; CallingConvention callingConvention; VECTOR(Parameter *, Parameters) @@ -405,7 +405,7 @@ namespace CppSharp DECLARE_DECL_KIND(Item, EnumerationItem) Item(const Item &); ~Item(); - std::string expression; + STRING(Expression); uint64_t value; }; @@ -421,7 +421,7 @@ namespace CppSharp BuiltinType *builtinType; VECTOR(Item *, Items) - Item *FindItemByName(const std::string &Name); + CS_IGNORE Item *FindItemByName(const std::string &Name); }; class CS_API Variable : public Declaration @@ -430,7 +430,7 @@ namespace CppSharp DECLARE_DECL_KIND(Variable, Variable) ~Variable(); bool isConstExpr; - std::string mangled; + STRING(Mangled); QualifiedType qualifiedType; ExpressionObsolete *initializer; }; @@ -522,7 +522,7 @@ namespace CppSharp LayoutField(const LayoutField &other); ~LayoutField(); unsigned offset; - std::string name; + STRING(Name); QualifiedType qualifiedType; void *fieldPtr; }; @@ -688,8 +688,8 @@ namespace CppSharp ClassTemplate(); ~ClassTemplate(); VECTOR(ClassTemplateSpecialization *, Specializations) - ClassTemplateSpecialization *FindSpecialization(const std::string &usr); - ClassTemplatePartialSpecialization *FindPartialSpecialization(const std::string &usr); + CS_IGNORE ClassTemplateSpecialization *FindSpecialization(const std::string &usr); + CS_IGNORE ClassTemplatePartialSpecialization *FindPartialSpecialization(const std::string &usr); }; enum class TemplateSpecializationKind @@ -725,7 +725,7 @@ namespace CppSharp FunctionTemplate(); ~FunctionTemplate(); VECTOR(FunctionTemplateSpecialization *, Specializations) - FunctionTemplateSpecialization *FindSpecialization(const std::string &usr); + CS_IGNORE FunctionTemplateSpecialization *FindSpecialization(const std::string &usr); }; class CS_API FunctionTemplateSpecialization @@ -748,8 +748,8 @@ namespace CppSharp VarTemplate(); ~VarTemplate(); VECTOR(VarTemplateSpecialization *, Specializations) - VarTemplateSpecialization *FindSpecialization(const std::string &usr); - VarTemplatePartialSpecialization *FindPartialSpecialization(const std::string &usr); + CS_IGNORE VarTemplateSpecialization *FindSpecialization(const std::string &usr); + CS_IGNORE VarTemplatePartialSpecialization *FindPartialSpecialization(const std::string &usr); }; class CS_API VarTemplateSpecialization : public Variable @@ -808,8 +808,8 @@ namespace CppSharp public: MacroDefinition(); ~MacroDefinition(); - std::string name; - std::string expression; + STRING(Name); + STRING(Expression); int lineNumberStart; int lineNumberEnd; }; @@ -819,8 +819,8 @@ namespace CppSharp public: MacroExpansion(); ~MacroExpansion(); - std::string name; - std::string text; + STRING(Name); + STRING(Text); MacroDefinition *definition; }; @@ -829,7 +829,7 @@ namespace CppSharp public: TranslationUnit(); ~TranslationUnit(); - std::string fileName; + STRING(FileName); bool isSystemHeader; VECTOR(MacroDefinition *, Macros) }; diff --git a/src/CppParser/Expr.cpp b/src/CppParser/Expr.cpp index 8c8226389..0cb8ea189 100644 --- a/src/CppParser/Expr.cpp +++ b/src/CppParser/Expr.cpp @@ -131,6 +131,9 @@ ImaginaryLiteral::ImaginaryLiteral() { } +DEF_STRING(StringLiteral, String) +DEF_STRING(StringLiteral, Bytes) + StringLiteral::StringLiteral() : Expr(StmtClass::StringLiteral) , byteLength(0) @@ -314,6 +317,8 @@ CStyleCastExpr::CStyleCastExpr() { } +DEF_STRING(BinaryOperator, OpcodeStr) + BinaryOperator::BinaryOperator() : Expr(StmtClass::BinaryOperator) , operatorLoc(SourceLocation()) @@ -722,6 +727,8 @@ MSPropertySubscriptExpr::MSPropertySubscriptExpr() { } +DEF_STRING(CXXUuidofExpr, UuidStr) + CXXUuidofExpr::CXXUuidofExpr() : Expr(StmtClass::CXXUuidofExpr) , exprOperand(nullptr) diff --git a/src/CppParser/Expr.h b/src/CppParser/Expr.h index 1920f261b..2b99580c3 100644 --- a/src/CppParser/Expr.h +++ b/src/CppParser/Expr.h @@ -7,6 +7,7 @@ #pragma once +#include "Helpers.h" #include "Sources.h" #include "Types.h" #include "Stmt.h" @@ -438,8 +439,8 @@ class CS_API StringLiteral : public Expr }; StringLiteral(); - std::string string; - std::string bytes; + STRING(String); + STRING(Bytes); unsigned int byteLength; unsigned int length; unsigned int charByteWidth; @@ -630,7 +631,7 @@ class CS_API BinaryOperator : public Expr BinaryOperatorKind opcode; Expr* lHS; Expr* rHS; - std::string opcodeStr; + STRING(OpcodeStr); bool isPtrMemOp; bool isMultiplicativeOp; bool isAdditiveOp; @@ -1116,7 +1117,7 @@ class CS_API CXXUuidofExpr : public Expr public: CXXUuidofExpr(); Expr* exprOperand; - std::string uuidStr; + STRING(UuidStr); bool isTypeOperand; }; diff --git a/src/CppParser/Helpers.h b/src/CppParser/Helpers.h index 1efc611dd..20dee31da 100644 --- a/src/CppParser/Helpers.h +++ b/src/CppParser/Helpers.h @@ -53,3 +53,13 @@ void klass::add##name (const char* s) { return name.push_back(std::string(s)); } \ unsigned klass::get##name##Count () { return name.size(); } \ void klass::clear##name() { name.clear(); } + +#define STRING(name) \ + std::string name; \ + const char* get##name(); \ + void set##name(const char* s); + +#define DEF_STRING(klass, name) \ + const char* klass::get##name() { return name.c_str(); } \ + void klass::set##name(const char* s) { name = s; } + diff --git a/src/CppParser/Link.cpp b/src/CppParser/Link.cpp index 46d066218..5df35bfff 100644 --- a/src/CppParser/Link.cpp +++ b/src/CppParser/Link.cpp @@ -18,7 +18,7 @@ LLD_HAS_DRIVER(macho) using namespace CppSharp::CppParser; -bool Parser::Link(const std::string& File, const CppLinkerOptions* LinkerOptions) +bool Parser::Link(const char * File, const CppLinkerOptions* LinkerOptions) { std::vector args; llvm::StringRef Dir(llvm::sys::path::parent_path(File)); diff --git a/src/CppParser/ParseExpr.cpp b/src/CppParser/ParseExpr.cpp index 27639a3d4..55b9fddaa 100644 --- a/src/CppParser/ParseExpr.cpp +++ b/src/CppParser/ParseExpr.cpp @@ -217,8 +217,8 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) _S->sourceBitField = static_cast(WalkDeclaration(S->getSourceBitField())); _S->referencedDeclOfCallee = static_cast(WalkDeclaration(S->getReferencedDeclOfCallee())); _S->hasPlaceholderType = S->hasPlaceholderType(); - _S->string = S->getString().str(); - _S->bytes = S->getBytes().str(); + _S->String = S->getString(); + _S->Bytes = S->getBytes(); _S->byteLength = S->getByteLength(); _S->length = S->getLength(); _S->charByteWidth = S->getCharByteWidth(); @@ -537,7 +537,7 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) _S->opcode = (BinaryOperatorKind) S->getOpcode(); _S->lHS = static_cast(WalkExpression(S->getLHS())); _S->rHS = static_cast(WalkExpression(S->getRHS())); - _S->opcodeStr = S->getOpcodeStr().str(); + _S->OpcodeStr = S->getOpcodeStr(); _S->isPtrMemOp = S->isPtrMemOp(); _S->isMultiplicativeOp = S->isMultiplicativeOp(); _S->isAdditiveOp = S->isAdditiveOp(); @@ -575,7 +575,7 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) _S->opcode = (BinaryOperatorKind) S->getOpcode(); _S->lHS = static_cast(WalkExpression(S->getLHS())); _S->rHS = static_cast(WalkExpression(S->getRHS())); - _S->opcodeStr = S->getOpcodeStr().str(); + _S->OpcodeStr = S->getOpcodeStr(); _S->isPtrMemOp = S->isPtrMemOp(); _S->isMultiplicativeOp = S->isMultiplicativeOp(); _S->isAdditiveOp = S->isAdditiveOp(); @@ -1552,7 +1552,7 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) _S->referencedDeclOfCallee = static_cast(WalkDeclaration(S->getReferencedDeclOfCallee())); _S->hasPlaceholderType = S->hasPlaceholderType(); _S->exprOperand = static_cast(WalkExpression(S->getExprOperand())); - _S->uuidStr = S->getGuidDecl()->getNameAsString(); + _S->UuidStr = S->getGuidDecl()->getNameAsString(); _S->isTypeOperand = S->isTypeOperand(); _Expr = _S; break; diff --git a/src/CppParser/ParseStmt.cpp b/src/CppParser/ParseStmt.cpp index c7eed096f..5defa11ba 100644 --- a/src/CppParser/ParseStmt.cpp +++ b/src/CppParser/ParseStmt.cpp @@ -244,7 +244,7 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) } _S->hasBraces = S->hasBraces(); _S->numAsmToks = S->getNumAsmToks(); - _S->asmString = S->getAsmString().str(); + _S->AsmString = S->getAsmString(); _Stmt = _S; break; } diff --git a/src/CppParser/Parser.cpp b/src/CppParser/Parser.cpp index ac6fbf5de..cb23d9cd9 100644 --- a/src/CppParser/Parser.cpp +++ b/src/CppParser/Parser.cpp @@ -85,7 +85,7 @@ LayoutField Parser::WalkVTablePointer(Class* Class, { LayoutField LayoutField; LayoutField.offset = Offset.getQuantity(); - LayoutField.name = prefix + "_" + Class->name; + LayoutField.Name = prefix + "_" + Class->Name; LayoutField.qualifiedType = GetQualifiedType(c->getASTContext().VoidPtrTy); return LayoutField; } @@ -189,7 +189,7 @@ void Parser::ReadClassLayout(Class* Class, const clang::RecordDecl* RD, auto F = WalkFieldCXX(Field, Parent); LayoutField LayoutField; LayoutField.offset = FieldOffset.getQuantity(); - LayoutField.name = F->name; + LayoutField.Name = F->Name; LayoutField.qualifiedType = GetQualifiedType(Field->getType()); LayoutField.fieldPtr = (void*)Field; Class->layout->Fields.push_back(LayoutField); @@ -285,9 +285,9 @@ void Parser::Setup(bool Compile) auto& TO = Inv->TargetOpts; - if (opts->targetTriple.empty()) - opts->targetTriple = llvm::sys::getDefaultTargetTriple(); - TO->Triple = llvm::Triple::normalize(opts->targetTriple); + if (opts->TargetTriple.empty()) + opts->TargetTriple = llvm::sys::getDefaultTargetTriple(); + TO->Triple = llvm::Triple::normalize(opts->TargetTriple); if (opts->verbose) printf("Target triple: %s\n", TO->Triple.c_str()); @@ -297,8 +297,8 @@ void Parser::Setup(bool Compile) { // We might have no target info due to an invalid user-provided triple. // Try again with the default triple. - opts->targetTriple = llvm::sys::getDefaultTargetTriple(); - TO->Triple = llvm::Triple::normalize(opts->targetTriple); + opts->TargetTriple = llvm::sys::getDefaultTargetTriple(); + TO->Triple = llvm::Triple::normalize(opts->TargetTriple); TI = TargetInfo::CreateTargetInfo(c->getDiagnostics(), TO); } @@ -1258,7 +1258,7 @@ Parser::WalkClassTemplateSpecialization(const clang::ClassTemplateSpecialization auto NS = GetNamespace(CTS); assert(NS && "Expected a valid namespace"); TS->_namespace = NS; - TS->name = CTS->getName().str(); + TS->Name = CTS->getName().str(); TS->templatedDecl = CT; TS->specializationKind = WalkTemplateSpecializationKind(CTS->getSpecializationKind()); CT->Specializations.push_back(TS); @@ -1313,7 +1313,7 @@ Parser::WalkClassTemplatePartialSpecialization(const clang::ClassTemplatePartial auto NS = GetNamespace(CTS); assert(NS && "Expected a valid namespace"); TS->_namespace = NS; - TS->name = CTS->getName().str(); + TS->Name = CTS->getName(); TS->templatedDecl = CT; TS->specializationKind = WalkTemplateSpecializationKind(CTS->getSpecializationKind()); CT->Specializations.push_back(TS); @@ -1377,7 +1377,7 @@ ClassTemplate* Parser::WalkClassTemplate(const clang::ClassTemplateDecl* TD) CT = new ClassTemplate(); HandleDeclaration(TD, CT); - CT->name = GetDeclName(TD); + CT->Name = GetDeclName(TD); CT->_namespace = NS; NS->Templates.push_back(CT); @@ -1425,7 +1425,7 @@ TypeTemplateParameter* Parser::WalkTypeTemplateParameter(const clang::TemplateTy return TP; TP = new CppSharp::CppParser::TypeTemplateParameter(); - TP->name = GetDeclName(TTPD); + TP->Name = GetDeclName(TTPD); HandleDeclaration(TTPD, TP); if (TTPD->hasDefaultArgument()) TP->defaultArgument = GetQualifiedType(TTPD->getDefaultArgument()); @@ -1445,7 +1445,7 @@ NonTypeTemplateParameter* Parser::WalkNonTypeTemplateParameter(const clang::NonT return NTP; NTP = new CppSharp::CppParser::NonTypeTemplateParameter(); - NTP->name = GetDeclName(NTTPD); + NTP->Name = GetDeclName(NTTPD); HandleDeclaration(NTTPD, NTP); if (NTTPD->hasDefaultArgument()) NTP->defaultArgument = WalkExpressionObsolete(NTTPD->getDefaultArgument()); @@ -1606,7 +1606,7 @@ TypeAliasTemplate* Parser::WalkTypeAliasTemplate( TA = new TypeAliasTemplate(); HandleDeclaration(TD, TA); - TA->name = GetDeclName(TD); + TA->Name = GetDeclName(TD); NS->Templates.push_back(TA); TA->TemplatedDecl = WalkDeclaration(TD->getTemplatedDecl()); @@ -1644,7 +1644,7 @@ FunctionTemplate* Parser::WalkFunctionTemplate(const clang::FunctionTemplateDecl FT = new FunctionTemplate(); HandleDeclaration(TD, FT); - FT->name = GetDeclName(TD); + FT->Name = GetDeclName(TD); FT->_namespace = NS; FT->TemplatedDecl = F; FT->Parameters = WalkTemplateParameterList(TD->getTemplateParameters()); @@ -1718,7 +1718,7 @@ VarTemplate* Parser::WalkVarTemplate(const clang::VarTemplateDecl* TD) VT = new VarTemplate(); HandleDeclaration(TD, VT); - VT->name = GetDeclName(TD); + VT->Name = GetDeclName(TD); VT->_namespace = NS; NS->Templates.push_back(VT); @@ -1746,7 +1746,7 @@ Parser::WalkVarTemplateSpecialization(const clang::VarTemplateSpecializationDecl auto NS = GetNamespace(VTS); assert(NS && "Expected a valid namespace"); TS->_namespace = NS; - TS->name = VTS->getName().str(); + TS->Name = VTS->getName(); TS->templatedDecl = VT; TS->specializationKind = WalkTemplateSpecializationKind(VTS->getSpecializationKind()); VT->Specializations.push_back(TS); @@ -1786,7 +1786,7 @@ Parser::WalkVarTemplatePartialSpecialization(const clang::VarTemplatePartialSpec auto NS = GetNamespace(VTS); assert(NS && "Expected a valid namespace"); TS->_namespace = NS; - TS->name = VTS->getName().str(); + TS->Name = VTS->getName(); TS->templatedDecl = VT; TS->specializationKind = WalkTemplateSpecializationKind(VTS->getSpecializationKind()); VT->Specializations.push_back(TS); @@ -1963,7 +1963,7 @@ Field* Parser::WalkFieldCXX(const clang::FieldDecl* FD, Class* Class) HandleDeclaration(FD, F); F->_namespace = Class; - F->name = FD->getName().str(); + F->Name = FD->getName(); auto TL = FD->getTypeSourceInfo()->getTypeLoc(); F->qualifiedType = GetQualifiedType(FD->getType(), &TL); F->access = ConvertToAccess(FD->getAccess()); @@ -2589,7 +2589,7 @@ Type* Parser::WalkType(clang::QualType QualType, const clang::TypeLoc* TL, { auto FA = new Parameter(); auto Arg = FP->getParamType(i); - FA->name = ""; + FA->Name = ""; FA->qualifiedType = GetQualifiedType(Arg); // In this case we have no valid value to use as a pointer so @@ -2724,7 +2724,7 @@ Type* Parser::WalkType(clang::QualType QualType, const clang::TypeLoc* TL, auto TPT = new CppSharp::CppParser::TemplateParameterType(); if (auto Ident = TP->getIdentifier()) - TPT->parameter->name = Ident->getName().str(); + TPT->parameter->Name = Ident->getName(); TypeLoc UTL, ETL, ITL, Next; @@ -2825,7 +2825,7 @@ Type* Parser::WalkType(clang::QualType QualType, const clang::TypeLoc* TL, } default: break; } - DNT->identifier = DN->getIdentifier()->getName().str(); + DNT->Identifier = DN->getIdentifier()->getName(); Ty = DNT; break; @@ -2976,7 +2976,7 @@ Enumeration* Parser::WalkEnum(const clang::EnumDecl* ED) else { E = new Enumeration(); - E->name = Name; + E->Name = Name; E->_namespace = NS; NS->Enums.push_back(E); } @@ -3013,7 +3013,7 @@ Enumeration::Item* Parser::WalkEnumItem(clang::EnumConstantDecl* ECD) auto EnumItem = new Enumeration::Item(); HandleDeclaration(ECD, EnumItem); - EnumItem->name = ECD->getNameAsString(); + EnumItem->Name = ECD->getNameAsString(); auto Value = ECD->getInitVal(); EnumItem->value = Value.isSigned() ? Value.getSExtValue() : Value.getZExtValue(); @@ -3021,7 +3021,7 @@ Enumeration::Item* Parser::WalkEnumItem(clang::EnumConstantDecl* ECD) std::string Text; if (GetDeclText(ECD->getSourceRange(), Text)) - EnumItem->expression = Text; + EnumItem->Expression = Text; return EnumItem; } @@ -3153,7 +3153,7 @@ Parameter* Parser::WalkParameter(const clang::ParmVarDecl* PVD, return P; P = new Parameter(); - P->name = PVD->getNameAsString(); + P->Name = PVD->getNameAsString(); TypeLoc PTL; if (auto TSI = PVD->getTypeSourceInfo()) @@ -3188,16 +3188,16 @@ Parameter* Parser::WalkParameter(const clang::ParmVarDecl* PVD, void Parser::SetBody(const clang::FunctionDecl* FD, Function* F) { - F->body = GetFunctionBody(FD); + F->Body = GetFunctionBody(FD); F->isInline = FD->isInlined(); - if (!F->body.empty() && F->isInline) + if (!F->Body.empty() && F->isInline) return; for (const auto& R : FD->redecls()) { - if (F->body.empty()) - F->body = GetFunctionBody(R); + if (F->Body.empty()) + F->Body = GetFunctionBody(R); F->isInline |= R->isInlined(); - if (!F->body.empty() && F->isInline) + if (!F->Body.empty() && F->isInline) break; } } @@ -3293,7 +3293,7 @@ void Parser::WalkFunction(const clang::FunctionDecl* FD, Function* F) auto NS = GetNamespace(FD); assert(NS && "Expected a valid namespace"); - F->name = FD->getNameAsString(); + F->Name = FD->getNameAsString(); F->_namespace = NS; F->isConstExpr = FD->isConstexpr(); F->isVariadic = FD->isVariadic(); @@ -3338,10 +3338,10 @@ void Parser::WalkFunction(const clang::FunctionDecl* FD, Function* F) F->returnType = GetQualifiedType(ReturnType, &RTL); const auto& Mangled = GetDeclMangledName(FD); - F->mangled = Mangled; + F->Mangled = Mangled; const auto& Body = GetFunctionBody(FD); - F->body = Body; + F->Body = Body; clang::SourceLocation ParamStartLoc = FD->getBeginLoc(); clang::SourceLocation ResultLoc; @@ -3371,7 +3371,7 @@ void Parser::WalkFunction(const clang::FunctionDecl* FD, Function* F) std::string Sig; if (GetDeclText(Range, Sig)) - F->signature = Sig; + F->Signature = Sig; for (auto VD : FD->parameters()) { @@ -3501,7 +3501,7 @@ void Parser::WalkVariable(const clang::VarDecl* VD, Variable* Var) HandleDeclaration(VD, Var); Var->isConstExpr = VD->isConstexpr(); - Var->name = VD->getName().str(); + Var->Name = VD->getName(); Var->access = ConvertToAccess(VD->getAccess()); auto Init = VD->getAnyInitializer(); @@ -3512,7 +3512,7 @@ void Parser::WalkVariable(const clang::VarDecl* VD, Variable* Var) Var->qualifiedType = GetQualifiedType(VD->getType(), &TL); auto Mangled = GetDeclMangledName(VD); - Var->mangled = Mangled; + Var->Mangled = Mangled; } Variable* Parser::WalkVariable(const clang::VarDecl *VD) @@ -3615,7 +3615,7 @@ PreprocessedEntity* Parser::WalkPreprocessedEntity( std::string Text; GetDeclText(PPEntity->getSourceRange(), Text); - static_cast(Entity)->text = Text; + static_cast(Entity)->Text = Text; break; } case clang::PreprocessedEntity::MacroDefinitionKind: @@ -3659,8 +3659,8 @@ PreprocessedEntity* Parser::WalkPreprocessedEntity( Definition->lineNumberEnd = SM.getExpansionLineNumber(MD->getLocation()); Entity = Definition; - Definition->name = II->getName().trim().str(); - Definition->expression = Expression.trim().str(); + Definition->Name = II->getName().trim(); + Definition->Expression = Expression.trim(); } case clang::PreprocessedEntity::InclusionDirectiveKind: // nothing to be done for InclusionDirectiveKind @@ -3710,7 +3710,7 @@ AST::ExpressionObsolete* Parser::WalkExpressionObsolete(const clang::Expr* Expr) auto BinaryOperator = cast(Expr); return new AST::BinaryOperatorObsolete(GetStringFromStatement(Expr), WalkExpressionObsolete(BinaryOperator->getLHS()), WalkExpressionObsolete(BinaryOperator->getRHS()), - BinaryOperator->getOpcodeStr().str()); + BinaryOperator->getOpcodeStr().str().c_str()); } case clang::Stmt::CallExprClass: { @@ -3930,7 +3930,7 @@ void Parser::HandleOriginalText(const clang::Decl* D, Declaration* Decl) auto DeclText = clang::Lexer::getSourceText(Range, SM, LangOpts, &Invalid); if (!Invalid) - Decl->debugText = DeclText.str(); + Decl->DebugText = DeclText; } void Parser::HandleDeclaration(const clang::Decl* D, Declaration* Decl) @@ -4339,8 +4339,8 @@ void Parser::HandleDiagnostics(ParserResult* res) auto FileName = Source.getFilename(Source.getFileLoc(Diag.Location)); auto PDiag = ParserDiagnostic(); - PDiag.fileName = FileName.str(); - PDiag.message = Diag.Message.str().str(); + PDiag.FileName = FileName.str(); + PDiag.Message = Diag.Message.str(); PDiag.lineNumber = 0; PDiag.columnNumber = 0; @@ -4510,7 +4510,7 @@ ParserResultKind Parser::ParseArchive(const std::string& File, std::vector& NativeLibs) { auto NativeLib = new NativeLibrary(); - NativeLib->fileName = File; + NativeLib->FileName = File; for (const auto& Symbol : Archive->symbols()) { @@ -4547,7 +4547,7 @@ ParserResultKind Parser::ParseSharedLib(const std::string& File, std::vector& NativeLibs) { auto NativeLib = new NativeLibrary(); - NativeLib->fileName = File; + NativeLib->FileName = File; NativeLib->archType = ConvertArchType(ObjectFile->getArch()); NativeLibs.push_back(NativeLib); @@ -4645,7 +4645,7 @@ ParserResultKind Parser::ReadSymbols(llvm::StringRef File, { auto LibName = File; NativeLib = new NativeLibrary(); - NativeLib->fileName = LibName.str(); + NativeLib->FileName = LibName; for (auto it = Begin; it != End; ++it) { @@ -4714,8 +4714,8 @@ ParserResult* Parser::ParseLibrary(const CppLinkerOptions* Opts) { auto ErrMsg = llvm::toString(BinaryOrErr.takeError()); auto Diag = ParserDiagnostic(); - Diag.fileName = FileEntry; - Diag.message = ErrMsg; + Diag.FileName = FileEntry; + Diag.Message = ErrMsg; Diag.level = ParserDiagnosticLevel::Error; res->Diagnostics.push_back(Diag); @@ -4743,7 +4743,7 @@ ParserResult* Parser::ParseLibrary(const CppLinkerOptions* Opts) return res; } -ParserResult* Parser::Build(const CppLinkerOptions* LinkerOptions, const std::string& File, bool Last) +ParserResult* Parser::Build(const CppLinkerOptions* LinkerOptions, const char * File, bool Last) { ParserResult* error = Compile(File); if (error) @@ -4806,7 +4806,7 @@ ParserResult* ClangParser::ParseLibrary(CppLinkerOptions* Opts) } ParserResult* ClangParser::Build(CppParserOptions* Opts, - const CppLinkerOptions* LinkerOptions, const std::string& File, bool Last) + const CppLinkerOptions* LinkerOptions, const char * File, bool Last) { if (!Opts) return 0; @@ -4816,7 +4816,7 @@ ParserResult* ClangParser::Build(CppParserOptions* Opts, } ParserResult* ClangParser::Compile(CppParserOptions* Opts, - const std::string& File) + const char * File) { if (!Opts) return 0; @@ -4826,7 +4826,7 @@ ParserResult* ClangParser::Compile(CppParserOptions* Opts, } ParserResult* ClangParser::Link(CppParserOptions* Opts, - const CppLinkerOptions* LinkerOptions, const std::string& File, bool Last) + const CppLinkerOptions* LinkerOptions, const char * File, bool Last) { if (!Opts) return 0; @@ -4848,7 +4848,7 @@ ParserResult* ClangParser::Link(CppParserOptions* Opts, return res; } -ParserResult* Parser::Compile(const std::string& File) +ParserResult* Parser::Compile(const char * File) { llvm::InitializeAllAsmPrinters(); llvm::StringRef Stem = llvm::sys::path::stem(File); diff --git a/src/CppParser/Parser.h b/src/CppParser/Parser.h index da0ddcc61..ca2f2b577 100644 --- a/src/CppParser/Parser.h +++ b/src/CppParser/Parser.h @@ -56,9 +56,9 @@ class Parser void Setup(bool Compile = false); ParserResult* Parse(const std::vector& SourceFiles); static ParserResult* ParseLibrary(const CppLinkerOptions* Opts); - ParserResult* Build(const CppLinkerOptions* LinkerOptions, const std::string& File, bool Last); - ParserResult* Compile(const std::string& File); - bool Link(const std::string& File, const CppLinkerOptions* LinkerOptions); + ParserResult* Build(const CppLinkerOptions* LinkerOptions, const char * File, bool Last); + ParserResult* Compile(const char * File); + bool Link(const char * File, const CppLinkerOptions* LinkerOptions); void WalkAST(clang::TranslationUnitDecl* TU); void HandleDeclaration(const clang::Decl* D, Declaration* Decl); CppParserOptions* opts; diff --git a/src/CppParser/ParserGen/ParserGen.cs b/src/CppParser/ParserGen/ParserGen.cs index 7921ab0e4..f70d6c7ff 100644 --- a/src/CppParser/ParserGen/ParserGen.cs +++ b/src/CppParser/ParserGen/ParserGen.cs @@ -4,6 +4,7 @@ using System.Linq; using CppSharp.AST; using CppSharp.Generators; +using CppSharp.Generators.C; using CppSharp.Parser; using CppSharp.Passes; using CppAbi = CppSharp.Parser.AST.CppAbi; @@ -121,6 +122,7 @@ private static void SetupMacOptions(ParserOptions options) public void SetupPasses(Driver driver) { + driver.AddTranslationUnitPass(new IgnoreStdFieldsPass()); } public void Preprocess(Driver driver, ASTContext ctx) @@ -219,4 +221,40 @@ public static void Main(string[] args) } } } + + public class IgnoreStdFieldsPass : TranslationUnitPass + { + public override bool VisitFieldDecl(Field field) + { + if (!field.IsGenerated) + return false; + + if (!IsStdType(field.QualifiedType)) return false; + + field.ExplicitlyIgnore(); + return true; + } + + public override bool VisitFunctionDecl(Function function) + { + if (function.GenerationKind == GenerationKind.None) + return false; + + if (function.Parameters.Any(param => IsStdType(param.QualifiedType))) + { + function.ExplicitlyIgnore(); + return false; + } + + return true; + } + + private bool IsStdType(QualifiedType type) + { + var typePrinter = new CppTypePrinter(Context); + var typeName = type.Visit(typePrinter); + + return typeName.Type.Contains("std::"); + } + } } diff --git a/src/CppParser/Stmt.cpp b/src/CppParser/Stmt.cpp index d2700922a..1ef076c3c 100644 --- a/src/CppParser/Stmt.cpp +++ b/src/CppParser/Stmt.cpp @@ -228,6 +228,8 @@ DEF_VECTOR(AsmStmt, Expr*, inputs) DEF_VECTOR(AsmStmt, Expr*, outputs) +DEF_STRING(GCCAsmStmt::AsmStringPiece, String) + GCCAsmStmt::AsmStringPiece::AsmStringPiece() { } @@ -238,6 +240,8 @@ GCCAsmStmt::GCCAsmStmt() { } +DEF_STRING(MSAsmStmt, AsmString) + MSAsmStmt::MSAsmStmt() : AsmStmt(StmtClass::MSAsmStmt) , lBraceLoc(SourceLocation()) diff --git a/src/CppParser/Stmt.h b/src/CppParser/Stmt.h index 8a4313ddd..e0b3f1ca3 100644 --- a/src/CppParser/Stmt.h +++ b/src/CppParser/Stmt.h @@ -372,7 +372,7 @@ class CS_API GCCAsmStmt : public AsmStmt AsmStringPiece(); bool isString; bool isOperand; - std::string string; + STRING(String); unsigned int operandNo; char modifier; }; @@ -388,7 +388,7 @@ class CS_API MSAsmStmt : public AsmStmt SourceLocation lBraceLoc; bool hasBraces; unsigned int numAsmToks; - std::string asmString; + STRING(AsmString); }; class CS_API SEHExceptStmt : public Stmt diff --git a/src/CppParser/Target.h b/src/CppParser/Target.h index b2734eb62..d25baba03 100644 --- a/src/CppParser/Target.h +++ b/src/CppParser/Target.h @@ -30,7 +30,8 @@ struct CS_API ParserTargetInfo { ParserTargetInfo(); ~ParserTargetInfo(); - std::string ABI; + + STRING(ABI); ParserIntType char16Type; ParserIntType char32Type; diff --git a/src/CppParser/Types.h b/src/CppParser/Types.h index 69e11c009..3e51401f2 100644 --- a/src/CppParser/Types.h +++ b/src/CppParser/Types.h @@ -259,7 +259,7 @@ class CS_API DependentNameType : public Type DECLARE_TYPE_KIND(DependentName) ~DependentNameType(); QualifiedType qualifier; - std::string identifier; + STRING(Identifier); }; class CS_API PackExpansionType : public Type